Skip to content

v0.2.18

Latest
Compare
Choose a tag to compare
@anyongjin anyongjin released this 20 Jun 13:21
· 12 commits to main since this release

Please do not download banbot from Release. You can quickly experience it via Docker or perform local construction according to the documentation. Only the frontend static resource file dist.zip is provided here. banbot will automatically download it during startup. You can also manually download and unzip it to the BanDataDir directory, rename it to uidist (ensure that uidist/index.html exists), and then create a version.txt file to write the current version number.

[Supported Features]

  • Backtesting without ApiKey
  • Email notification
  • Automatic logging of open/close position parameters with error return

[Live Trading Features]

  • Regular automatic backtesting comparison for live trading orders with email reports
  • Automatic dumping of live trading strategy outputs logs
  • Recording of live trading exchange orders to gobs files
  • Deadlock detection enabled by default for live trading
  • Crawler modified to fetch K-lines at exact hours to avoid occasional WebSocket instability or excessive traffic consumption
  • Cron triggers using NTP precise time

[Bug Fixes]

  • SQLite lock error when closing multiple positions simultaneously in live trading
  • Time period overflow when synchronizing orders in live trading
  • 404 error when downloading compiled WebUI

[Others]

  • Set the tag of the last incomplete bar exit in backtesting to BotStop
  • Support K-line correctness check (test_live_bars) for live trading dump

请勿从Release下载banbot,您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件dist.zip,banbot启动时会自动下载,您也可以手动下载并解压到BanDataDir目录下,重命名为uidist(确保uidist/index.html存在),然后创建version.txt文件,写入当前版本号。

【支持特性】

  • 回测无需ApiKey
  • 邮件通知
  • 开平仓Log参数自动记录返回错误

【实盘特性】

  • 实盘定期自动回测对比订单并发送邮件报告
  • 实盘策略Outputs日志自动转储
  • 实盘交易所订单记录到gobs文件
  • 实盘默认启用死锁检测
  • 爬虫改整点获取k线,避免ws偶发不稳定或流量耗用太多
  • cron触发使用ntp精确时间

【fix bug】
实盘同时平仓多个订单时sqlite锁错误
实盘同步订单时时间段溢出
WebUI编译后下载404

【其他】
回测将最后未完成bar出场的Tag置为BotStop
支持实盘dump的K线正确性检查test_live_bars