Uses of Class
com.strategyquant.datalib.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
Modifier and TypeMethodDescriptionAdds the call.Modifier and TypeMethodDescriptionvoid
DataSeries.add(double fillValue)
Adds the.void
DataSeries.addValues(int valuesToAdd)
Adds the values.double
DataSeries.get(int index)
Gets the.static long
Gets the millis.double
DataSeries.getRounded(int index)
Gets the rounded.double
DataSeries.getRounded(int index, int decimals)
Gets the rounded.static long
Gets the TF hash.void
DataSeries.set(double value)
Sets the.void
DataSeries.set(int index, double value)
Sets the.void
DataSeries.set(int index, double value, boolean existingBar)
Sets the. -
Uses of TradingException in com.strategyquant.tradinglib
Modifier and TypeMethodDescriptiondouble
ChartData.Ask()
Ask.double
ChartData.Bid()
Bid.Buy.Buy limit.Buy stop.Trader.BuyStopLimit(String symbol, double price)
Buy stop limit.void
StrategyBase.checkBadStrategy()
Check bad strategy.double
ChartData.Close(int shift)
Close.double
ChartData.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.double
ChartData.CloseD(int shift)
Close D.double
ChartData.CloseD(int chartIndex, int shift)
Close D.double
ChartData.CloseM(int shift)
Close M.double
ChartData.CloseM(int chartIndex, int shift)
Close M.double
ChartData.CloseW(int shift)
Close W.double
ChartData.CloseW(int chartIndex, int shift)
Close W.ILiveOrder.computeSizeIfMissing()
Compute size if missing.abstract double
ExitMethod.computeValue(byte orderType, StrategyBase strategy, String symbol, double price)
Compute value.double
StrategyBase.convertPipsToRealPrice(String symbol, double value)
Convert pips to real price.double
StrategyBase.convertRealPriceToPips(String symbol, double value)
Convert real price to pips.void
Trader.evaluateActionListeners(int updateEventType, StrategyBase strategyBase)
Evaluate action listeners.double
ExitMethod.evaluateBlock()
Evaluate block.double
ExitMethod.evaluateBlock(int relativeShift)
Evaluate block.double
IBlock.evaluateBlock()
Evaluate block.double
IBlock.evaluateBlock(int relativeShift)
Evaluate block.double
IFormula.evaluateFormula(StrategyBase strategy, String symbol, double price, int direction)
Evaluate formula.abstract double
StrategyBase.getATRValue(ChartData chartData, int atrPeriod, int shift)
ChartData.getSeries(int serieType)
Gets the series.ChartData.getSeries(int serieType, int chartTF)
Gets the series.static StrategyBase
StrategyBase.getStrategy(SettingsMap settings)
Gets the strategy.static StrategyBase
TradingUtils.getStrategy(SettingsMap settings)
Gets the strategy.double
ChartData.High(int shift)
High.double
ChartData.High(int chartIndex, int shift)
High.double
ChartData.HighD(int shift)
High D.double
ChartData.HighD(int chartIndex, int shift)
High D.double
ChartData.HighM(int shift)
High M.double
ChartData.HighM(int chartIndex, int shift)
High M.double
ChartData.HighW(int shift)
High W.double
ChartData.HighW(int chartIndex, int shift)
High W.double
ChartData.Low(int shift)
Low.double
ChartData.Low(int chartIndex, int shift)
Low.double
ChartData.LowD(int shift)
Low D.double
ChartData.LowD(int chartIndex, int shift)
Low D.double
ChartData.LowM(int shift)
Low M.double
ChartData.LowM(int chartIndex, int shift)
Low M.double
ChartData.LowW(int shift)
Low W.double
ChartData.LowW(int chartIndex, int shift)
Low W.double
ChartData.Median(int shift)
Median.ILiveOrder.ModifyAsync()
Modify async.ILiveOrder.ModifyAsync(com.strategyquant.tradinglib.event.ITradingEventListener orderEventListener)
Modify async.void
IActionEventListener.OnActionEvent(StrategyBase Strategy)
On action event.double
ChartData.Open(int shift)
Open.double
ChartData.Open(int chartIndex, int shift)
Open.Open.Open.double
ChartData.OpenD(int shift)
Open D.double
ChartData.OpenD(int chartIndex, int shift)
Open D.double
ChartData.Openint(int shift)
Openint.double
ChartData.OpenM(int shift)
Open M.double
ChartData.OpenM(int chartIndex, int shift)
Open M.double
ChartData.OpenW(int shift)
Open W.double
ChartData.OpenW(int chartIndex, int shift)
Open W.void
ILiveOrder.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.boolean
ExitMethod.setExit(ILiveOrder order, StrategyBase strategy)
Sets the exit.void
ATMExit.setForOrder(ILiveOrder order, StrategyBase strategy, double originalSL, double originalPT)
abstract void
ExitMethod.setForOrder(ILiveOrder order, StrategyBase strategy)
Sets the for order.long
ChartData.Time()
Time.long
ChartData.Time(int shift)
Time.long
ChartData.Time(int chartIndex, int shift)
Time.long
ChartData.TimeCurrent()
Time current.long
ChartData.TimeD(int shift)
Time D.long
ChartData.TimeM(int shift)
Time M.long
ChartData.TimeW(int shift)
Time W.double
ChartData.Typical(int shift)
Typical.void
StrategyBase.updateJobProgress()
Update job progress.double
ChartData.Volume(int shift)
Volume.double
ChartData.Volume(int chartIndex, int shift)
Volume.