Setup()
Use the Setup method to connect the strategy with data streams and indicators.
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).
Parameters
Name | Type | Description |
| Object for accessing the historical data which you want to use in the strategy. | |
| Object for accessing indicators and algorithms from the indicators marketplace which you want to use in the strategy. |
Example
Last updated