AddMetric (returns Void) |
(Metric name String, Metric value for the current period (date) Double)
Add a time-series metric to the simulation
|
SkipPeriods (returns Void) |
(Number of periods Int32)
Skip money monagement execution for the specified number of periods
|
DontOpenPositionsDuringTheNextPeriods (returns Void) |
(Number of periods Int32)
Specify to the simulator that we want to be out of the market for the specified number of periods
|
IsSymbolExists (returns Boolean) |
(symbol name String)
Returns TRUE if the specified symbol exists
|
GetValueFromFormula (returns Double) |
(parameterless)
Parse a vector-based formula and returns the vector value for the current date and the specified symbol.
Example: GetValueFromFormula('goog', 'a = rsi(14);', 'a'); -> to get the RSI value of Google stock for the current date.
|
AddLongPosition (returns Boolean) |
(Symbol name String, Number of shares Int32, Custom value Double, Open market order _OpenMarketOrder)
Add a new long position
|
AddLongPosition (returns Boolean) |
(Symbol name String, Number of shares Int32, Custom value Double, Close market order _CloseMarketOrder)
Add a new long position
|
AddLongPosition (returns Boolean) |
(Symbol name String, Number of shares Int32, Custom value Double, Limit order _LimitOrder)
Add a new long position
|
AddShortPosition (returns Boolean) |
(Symbol name String, Number of shares Int32, Custom value Double, Open market order _OpenMarketOrder)
Add a new short position
|
AddShortPosition (returns Boolean) |
(Symbol name String, Number of shares Int32, Custom value Double, Close market order _CloseMarketOrder)
Add a new short position
|
AddShortPosition (returns Boolean) |
(Symbol name String, Number of shares Int32, Custom value Double, Limit order _LimitOrder)
Add a new short position
|