ScriptBotContext
Last updated
Was this helpful?
Last updated
Was this helpful?
ScriptBotContext is the object passed to 's methods. The ScriptBotContext contains details on the bot-configuration, current and historical price info and references to the API-objects.
Name of the bot
True if the bot is activated
Name of the exchange platform the bot is trading on. This can be used as input for the ScriptBotAPI methods.
Currency code of the primary currency (for example "BTC").
Currency code of the secondary currency (for example "USD").
The current price of the currency pair on the configured platform. Contains info on Bid, Ask, Volume, Open, Close and a timestamp.
List of open orders on the exchange
Gives access to logging-features.
Gives access to historical price info and operations to create and cancel orders.