/*backtest start: 2019-02-26 09:00:00 end: 2019-03-27 15:00:00 period: 1d exchanges: [{"eid":"Futures_CTP","currency":"FUTURES"}] */ double position = 0; bool onTick(string symbol) { auto ct = exchange.SetContractType(symbol); if (ct == false) {