I hope ztrade is "The last trade app you need" !
- Develop/write strategy with only go language,no other script need
- Event base framework,easy to extend
- Support binance,okx,ctp
- use gomacro as script engine
- can build strategy to go golang plugin,best performance
make
cd dist
./ztrade --help
replace your key and secret in dist/configs/ztrade.yaml
# run first
./ztrade download --binSize 1m --start "2020-01-01 08:00:00" --end "2021-01-01 08:00:00" --exchange binance --symbol BTCUSDT
# auto download kline
./ztrade download --symbol BTCUSDT -a --exchange binance
./ztrade backtest --script debug.go --start "2020-01-01 08:00:00" --end "2021-01-01 08:00:00" --symbol BTCUSDT --exchange binance
./ztrade trade --symbol BTCUSDT --exchange binance --script debug.go
show examples: