FMZ backtest engine javascript package support talib TA
npm install git+https://github.com/fmzquant/backtest_javascript.git
var fmz = require("fmz")
var task = fmz.VCtx({
start: '2019-09-06 00:00:00',
end: '2019-10-05 00:00:00',
period: '1h',
exchanges: [{"eid":"Bitfinex","currency":"BTC_USD"}]
})
console.log(exchange.GetTicker())
console.log(exchange.GetAccount())
console.log(task.Join())
The config string can be generated automatically by saving the backtest configuration in the strategy edit page.
配置字符串可以通过策略编辑界面里的保存回测配置来自动生成