You are here: Trading System Programming > Reference > Functions > Trading System Functions Overview

Trading System Functions Overview

Regular trading system functions are predefined by ActiveTick's programming model, and are used to interact with ActiveTick's internal code from JavaScript files.

Function Table
addParameter(parameterName, initialValue, parameterDescription) This method is used for adding input parameters to trading system.
addTimeSeries(symbol, requiredBarCount, intervalType, intradayMinuteCompression) This method is used for adding additional time series to the trading system.
getAccount() This method returns an instance of Account object that selected when trading system was started.
getParameter(parameterName) This method returns a value for a given parameter name.
getSymbol() This method returns a symbol string value.
getTimeSeries(symbol, intervalType, intradayMinuteCompression) This method is used for retrieving TimeSeries objects.
setMinBars(minRequiredBarCount) This method sets the minimum required amount of time series bars in order to properly process its calculations.
setParameter(parameterName, parameterValue) This method is used for updating parameters to trading system after they have been added.

 


Copyright © 2006-2009 ActiveTick LLC