Skip to content

v0.2.0

Compare
Choose a tag to compare
@anyongjin anyongjin released this 07 Feb 03:07
· 139 commits to main since this release

The dist.zip will be automatically downloaded when banbot is running. You can also manually download and unzip it to the BanDataDir directory and rename it to uidist (make sure uidist/index.html exists), then create the version.txt file and write the current version number (without v).

New features:

  • Support calculation of maximum capital occupation during backtesting
  • The problem of too large a range of K-line to be downloaded when updating products regularly during backtesting
  • Support merging and comparing net value curves of multiple backtesting results (CMD & WebUI)
  • Modification of individual field names of pairlists, unified naming standards
  • The crawler supports automatically obtaining K-line through rest-api when ws obtains K-line timeout
  • Beautify the DashBoard UI of real trading

Solved bugs:

  • Solved the problem of using full position by mistake for stop loss and stop profit, resulting in unexpected early exit when multiple orders of the same product are placed.
  • Solved the bug of comparing real orders and backtesting orders: tool cmp_orders
  • Solved the problem of too large a range of K-line to be downloaded when updating products regularly during backtesting
  • Solved the problem of config.yml generated by backtesting being non-standard and having too many empty fields
  • Solved several other bugs

banbot运行时会自动下载dist.zip,也可以手动下载并解压到BanDataDir目录下,重命名为uidist(确保uidist/index.html存在),然后创建version.txt文件,写入当前版本号(不含v)。

新特性:

  • 支持计算回测期间最大资金占用
  • 回测期间定期更新品种时下载K线范围过大问题
  • 支持多个回测结果的净值曲线合并对比(CMD & WebUI)
  • pairlists个别字段名修改,统一命名标准
  • 爬虫端支持在ws获取k线超时时,自动通过rest-api方式获取k线
  • 美化实盘的DashBoard UI

解决bug:

  • 解决止损止盈误使用全仓,导致同一品种多个订单时意外提早退出。
  • 解决实盘订单和回测订单对比bug:tool cmp_orders
  • 解决回测期间定期更新品种时下载K线范围过大问题
  • 解决回测生成的config.yml不规范,且空字段过多问题
  • 解决若干其他bug