Uses of Class
com.strategyquant.tradinglib.StrategyBase
Packages that use StrategyBase
-
Uses of StrategyBase in com.strategyquant.tradinglib
Fields in com.strategyquant.tradinglib declared as StrategyBaseMethods in com.strategyquant.tradinglib that return StrategyBaseModifier and TypeMethodDescriptionStrategyBase.clone()Clone.static StrategyBaseStrategyBase.createXmlStrategy(org.jdom2.Element elStrategy)Creates the xml strategy.static StrategyBaseStrategyBase.createXmlStrategy(org.jdom2.Element elStrategy, String strategyName)Creates the xml strategy.ExitMethod.getStrategy()Gets the strategy.IBlock.getStrategy()Gets the strategy.Result.getStrategy()Gets the strategy.static StrategyBaseStrategyBase.getStrategy(SettingsMap settings)Gets the strategy.Trader.getStrategy()Gets the strategy.static StrategyBaseTradingUtils.getStrategy(SettingsMap settings)Gets the strategy.StrategyBase.newInstance()New instance.Methods in com.strategyquant.tradinglib with parameters of type StrategyBaseModifier and TypeMethodDescriptionvoidDatabank.add(StrategyBase strategy)create a ResultsGroup, add strategy into it and add it to the databank.voidResult.addStrategy(StrategyBase strategy)Adds the strategy.ExitMethod.clone(boolean includingParameters, StrategyBase strategy)Clone.IBlock.clone(boolean includingParameters, StrategyBase strategy)Clone.doubleMoneyManagementMethod.computeTradeSize(StrategyBase strategy, String symbol, byte orderType, double price, double sl, double tickSize, double pointValue, double sizeStep)Compute trade size.doubleMoneyManagementMethod.computeTradeSize(StrategyBase strategy, String symbol, byte orderType, double price, double sl, double tickSize, double pointValue, double sizeStep, double maxPos)Compute trade size.abstract doubleExitMethod.computeValue(byte orderType, StrategyBase strategy, String symbol, double price)Compute value.static com.strategyquant.tradinglib.optimization.StrategyParamDataStrategyBase.createStrategyVariation(StrategyBase strategy, com.strategyquant.tradinglib.optimization.OptimizationSettings optimizationSettings, short[] indexes)Creates the strategy variation.voidTrader.evaluateActionListeners(int updateEventType, StrategyBase strategyBase)Evaluate action listeners.doubleIFormula.evaluateFormula(StrategyBase strategy, String symbol, double price, int direction)Evaluate formula.static IBlockBlocks.getBlockObject(String snippetName, StrategyBase strategy, org.jdom2.Element elBlock)Gets the block object.booleanATM.isApplicable(StrategyBase strategy, double size, double sl, byte orderType)returns true if ATM is enabled and applicable to this orderabstract IBlockNegater.negate(NegatersList negatersList, IBlock block, int blockType, int returnType, StrategyBase strategy)Negate.NegatersList.negate(IBlock block, StrategyBase strategy)Negate.static voidParametersHelper.negateParametersInClonedBlock(IBlock block, IBlock oppositeBlock, NegatersList negatersList, StrategyBase strategy)Negate parameters in cloned block.IFormula.newFormulaInstance(StrategyBase strategy, org.jdom2.Element elFormulaBlock)New formula instance.ExitMethod.newInstance(StrategyBase strategy, ArrayList<org.jdom2.Element> params)New instance.ExitMethod.newInstance(StrategyBase strategy, org.jdom2.Element elBlock)New instance.IBlock.newInstance(StrategyBase strategy, org.jdom2.Element elBlock)New instance.voidIActionEventListener.OnActionEvent(StrategyBase Strategy)On action event.abstract booleanTradingOption.OnBarUpdate(StrategyBase Strategy)On bar update.voidTradingOption.OnTick(StrategyBase Strategy, TickEvent tickEvent, boolean includingPendingOrders)On tick.booleanExitMethod.setExit(ILiveOrder order, StrategyBase strategy)Sets the exit.static voidATM.setForOrder(ILiveOrder order, StrategyBase strategy)voidATMExit.setForOrder(ILiveOrder order, StrategyBase strategy, double originalSL, double originalPT)abstract voidExitMethod.setForOrder(ILiveOrder order, StrategyBase strategy)Sets the for order.voidTrader.setStrategy(StrategyBase strategy)Sets the strategy.