Setup()
Use the Setup method to connect the strategy with data streams and indicators.
Last updated
Use the Setup method to connect the strategy with data streams and indicators.
Last updated
The role of the Setup
method is to define the connection of the strategy with data and indicators. For this, the method has two objects with which you are able to access data from the Data Marketplace (through DataMarketplace object) and indicators from the Indicators Marketplace (through IndicatorsMarketplace object).
Name
Type
Description
data
Object for accessing the historical data which you want to use in the strategy.
indicators
Object for accessing indicators and algorithms from the indicators marketplace which you want to use in the strategy.