'''backtest start: 2018-02-19 00:00:00 end: 2018-03-22 12:00:00 period: 15m exchanges: [{“eid”:“OKEX”,“currency”:“LTC_BTC”,“balance”:3,“stocks”:0}] '‘’ from fmz import * task = VCtx(doc) # initialize backtest engine from doc print exchange.GetAccount() print exchange.GetTicker() print task.Join() # print backtest result
Example on GitHub, ask where to import the policy from
Inventors quantify - small dreamsPrint exchange.GetAccount Print exchange.GetTicker is a These are called API interfaces, the policy is written here.