The resource loading... loading...

I don't know why there's no backtesting interface in the extension API, but what if I want to do a backtest?

Author: dwq4182371, Created: 2018-08-23 10:59:04, Updated: 2018-10-17 10:17:34

'''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


More

Inventors quantify - small dreamsPrint exchange.GetAccount Print exchange.GetTicker is a These are called API interfaces, the policy is written here.