Skip to content

fmzquant/backtest_javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

backtest_javascript

FMZ backtest engine javascript package support talib TA

install

npm install git+https://github.com/fmzquant/backtest_javascript.git

simple example

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.

配置字符串可以通过策略编辑界面里的保存回测配置来自动生成

meta

api

https://www.fmz.com/api

About

FMZ backtest engine javascript package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published