Uses of Class
com.strategyquant.datalib.TradingException
Packages that use TradingException
Package
Description
Data classes for manipulation with charts - symbols, timeframes, data, instruments.
Trading related classes, constants and methods.
-
Uses of TradingException in com.strategyquant.datalib
Methods in com.strategyquant.datalib that return TradingExceptionModifier and TypeMethodDescriptionAdds the call.Methods in com.strategyquant.datalib that throw TradingExceptionModifier and TypeMethodDescriptionvoidDataSeries.add(double fillValue)Adds the.voidDataSeries.addValues(int valuesToAdd)Adds the values.doubleDataSeries.get(int index)Gets the.static longGets the millis.doubleDataSeries.getRounded(int index)Gets the rounded.doubleDataSeries.getRounded(int index, int decimals)Gets the rounded.static longGets the TF hash.voidDataSeries.set(double value)Sets the.voidDataSeries.set(int index, double value)Sets the.voidDataSeries.set(int index, double value, boolean existingBar)Sets the. -
Uses of TradingException in com.strategyquant.tradinglib
Subclasses of TradingException in com.strategyquant.tradinglibMethods in com.strategyquant.tradinglib that throw TradingExceptionModifier and TypeMethodDescriptiondoubleChartData.Ask()Ask.doubleChartData.Bid()Bid.Buy.Buy limit.Buy stop.Trader.BuyStopLimit(String symbol, double price)Buy stop limit.voidStrategyBase.checkBadStrategy()Check bad strategy.doubleChartData.Close(int shift)Close.doubleChartData.Close(int chartIndex, int shift)Close.ILiveOrder.Close(byte closeType)Close.ILiveOrder.CloseAsync()Close async.ILiveOrder.CloseAsync(com.strategyquant.tradinglib.event.ITradingEventListener orderEventListener)Close async.doubleChartData.CloseD(int shift)Close D.doubleChartData.CloseD(int chartIndex, int shift)Close D.doubleChartData.CloseM(int shift)Close M.doubleChartData.CloseM(int chartIndex, int shift)Close M.doubleChartData.CloseW(int shift)Close W.doubleChartData.CloseW(int chartIndex, int shift)Close W.ILiveOrder.computeSizeIfMissing()Compute size if missing.abstract doubleExitMethod.computeValue(byte orderType, StrategyBase strategy, String symbol, double price)Compute value.doubleStrategyBase.convertPipsToRealPrice(String symbol, double value)Convert pips to real price.doubleStrategyBase.convertRealPriceToPips(String symbol, double value)Convert real price to pips.voidTrader.evaluateActionListeners(int updateEventType, StrategyBase strategyBase)Evaluate action listeners.doubleExitMethod.evaluateBlock()Evaluate block.doubleExitMethod.evaluateBlock(int relativeShift)Evaluate block.doubleIBlock.evaluateBlock()Evaluate block.doubleIBlock.evaluateBlock(int relativeShift)Evaluate block.doubleIFormula.evaluateFormula(StrategyBase strategy, String symbol, double price, int direction)Evaluate formula.abstract doubleStrategyBase.getATRValue(ChartData chartData, int atrPeriod, int shift)ChartData.getSeries(int serieType)Gets the series.ChartData.getSeries(int serieType, int chartTF)Gets the series.static StrategyBaseStrategyBase.getStrategy(SettingsMap settings)Gets the strategy.static StrategyBaseTradingUtils.getStrategy(SettingsMap settings)Gets the strategy.doubleChartData.High(int shift)High.doubleChartData.High(int chartIndex, int shift)High.doubleChartData.HighD(int shift)High D.doubleChartData.HighD(int chartIndex, int shift)High D.doubleChartData.HighM(int shift)High M.doubleChartData.HighM(int chartIndex, int shift)High M.doubleChartData.HighW(int shift)High W.doubleChartData.HighW(int chartIndex, int shift)High W.doubleChartData.Low(int shift)Low.doubleChartData.Low(int chartIndex, int shift)Low.doubleChartData.LowD(int shift)Low D.doubleChartData.LowD(int chartIndex, int shift)Low D.doubleChartData.LowM(int shift)Low M.doubleChartData.LowM(int chartIndex, int shift)Low M.doubleChartData.LowW(int shift)Low W.doubleChartData.LowW(int chartIndex, int shift)Low W.doubleChartData.Median(int shift)Median.ILiveOrder.ModifyAsync()Modify async.ILiveOrder.ModifyAsync(com.strategyquant.tradinglib.event.ITradingEventListener orderEventListener)Modify async.voidIActionEventListener.OnActionEvent(StrategyBase Strategy)On action event.doubleChartData.Open(int shift)Open.doubleChartData.Open(int chartIndex, int shift)Open.Open.Open.doubleChartData.OpenD(int shift)Open D.doubleChartData.OpenD(int chartIndex, int shift)Open D.doubleChartData.Openint(int shift)Openint.doubleChartData.OpenM(int shift)Open M.doubleChartData.OpenM(int chartIndex, int shift)Open M.doubleChartData.OpenW(int shift)Open W.doubleChartData.OpenW(int chartIndex, int shift)Open W.voidILiveOrder.registerEvent(int eventType, IActionEventListener iActionEventListener)Register event.Sell.Sell limit.Sell stop.Trader.SellStopLimit(String symbol, double price)Sell stop limit.Trader.send(ILiveOrder order, byte action, byte additionalFlag, int syncType, com.strategyquant.tradinglib.event.ITradingEventListener orderEventListener)Send.Trader.send(ILiveOrder order, byte action, int syncType, com.strategyquant.tradinglib.event.ITradingEventListener orderEventListener)Send.ILiveOrder.Send()Send.ILiveOrder.SendAsync()Send async.ILiveOrder.SendAsync(com.strategyquant.tradinglib.event.ITradingEventListener orderEventListener)Send async.booleanExitMethod.setExit(ILiveOrder order, StrategyBase strategy)Sets the exit.voidATMExit.setForOrder(ILiveOrder order, StrategyBase strategy, double originalSL, double originalPT)abstract voidExitMethod.setForOrder(ILiveOrder order, StrategyBase strategy)Sets the for order.longChartData.Time()Time.longChartData.Time(int shift)Time.longChartData.Time(int chartIndex, int shift)Time.longChartData.TimeCurrent()Time current.longChartData.TimeD(int shift)Time D.longChartData.TimeM(int shift)Time M.longChartData.TimeW(int shift)Time W.doubleChartData.Typical(int shift)Typical.voidStrategyBase.updateJobProgress()Update job progress.doubleChartData.Volume(int shift)Volume.doubleChartData.Volume(int chartIndex, int shift)Volume.