December 2013
Beginner to intermediate
286 pages
5h 46m
English
The trading strategy is executed through onMarketData when the downloading of data is completed/successful (it sends a message to the agent). If any error occurs, notify the agent. Everything is logged to a SQL backend (SQL Server).
The trading strategy will have six callable functions:
onInit: This function is called when a strategy is initializedonStart: This function is called when the strategy startsonStop: This function is called when the strategy stopsonMarketData: This function is called whenever new market data arrivesonTradeExecution: This function is called whenever a trade is executedonError: This function is called with every error that occursThe trading strategy will be implemented as ...
Read now
Unlock full access