Releases: banbox/banbot
v0.2.13
Do not download banbot from Release. You can quickly experience it via Docker or build it locally according to the documentation. Here, only the front-end static resource file dist.zip
is provided. Banbot will automatically download it upon startup. You can also manually download and extract it to the BanDataDir
directory, rename it to uidist
(ensure that uidist/index.html
exists), and then create a version.txt
file, writing the current version number into it.
- Deadlock detection is disabled by default.
- Downloading incomplete K-lines by mistake and storing them in the database #45
- When backtesting to the latest time, the last incomplete K-line is not processed #46
- Support for saving important data during live trading
请勿从Release下载banbot,您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件dist.zip
,banbot启动时会自动下载,您也可以手动下载并解压到BanDataDir
目录下,重命名为uidist
(确保uidist/index.html
存在),然后创建version.txt
文件,写入当前版本号。
v0.2.12
Please do not download banbot from the Release. You can quickly experience it via Docker or build it locally according to the documentation. Here, only the front-end static resource file dist.zip
is provided. Banbot will automatically download it upon startup. You can also manually download and extract it to the BanDataDir
directory, rename it to uidist
(ensure that uidist/index.html
exists), and then create a version.txt
file, writing the current version number into it.
- For domestic users, the front-end resources are supported to be downloaded from Gitee by default.
- Fix the incorrect IsDocker judgment in the new version of Docker.
- When Docker starts, additional configurations are automatically saved to prevent loss during online backtesting.
- Support setting default stop-loss for strategies.
[Live Trading]
- Fix the issue of incorrect handling when the number of varieties for multiple users is inconsistent in relay entry.
- Resolve two deadlock bugs.
- If K-line data times out and is not received, all positions will be closed.
- Fix the bug where the
live close_order
command does not close the order.
[WebUI]
- Order analysis now supports loading orders based on the actual K-line range, with a maximum of 500 orders.
- Compilation check and reminder before backtesting.
- Data gaps now support displaying "No Data Available".
- Improved code editor with auto-completion.
- Automatically open the strategy after creation.
请勿从Release下载banbot,您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件dist.zip
,banbot启动时会自动下载,您也可以手动下载并解压到BanDataDir
目录下,重命名为uidist
(确保uidist/index.html
存在),然后创建version.txt
文件,写入当前版本号。
- 国内用户支持默认从gitee下载前端资源
- 解决IsDocker判断错误在新版docker中
- docker启动时,自动保存额外配置,避免在线回测时丢失
- 支持策略设置默认止损
[实盘]
- fix接力入场对多用户品种数不一致时处理不正确
- 解决两个死锁bug
- K线超时未收到,全部平仓
- 解决cmd
live close_order
未平仓bug
[WebUI]
- 订单分析支持根据实际K线范围加载订单,最多500个
- 回测前检查并提醒编译
- 数据缺口支持显示“确无数据”
- 代码编辑器自动补全完善
- 创建策略后自动打开
v0.2.11
Do not download banbot from Release. You can quickly experience it via Docker or build it locally according to the documentation. Here, only the front-end static resource file dist.zip
is provided, which will be automatically downloaded when banbot starts. You can also manually download and extract it to the BanDataDir
directory, rename it to uidist
(ensure that uidist/index.html
exists), and then create a version.txt
file, writing the current version number into it.
- Standardize error codes
- Command line: Output the list of registered strategies
- Record the number of orders not entered due to quantity limits
- Backtest results output the final balance and final withdrawal
- Support downloading cached exchange orders
- [Live trading] Aggregate large timeframes from 1h instead of 1m to avoid inconsistencies with backtesting due to data errors
- [Live trading] Aggregate large timeframe K-lines from 1h to avoid potential inconsistencies with backtesting
- [Live trading] Fix occasional incorrect order status updates
- [Websocket] Automatically re-subscribe on message timeout
[WebUI]
- Run backtest directly from global configuration
- Clicking backtest defaults to showing the new backtest page
- Support displaying/filtering the list of registered strategies
- Upgrade front-end related dependencies
[Dashboard UI]
- Fix the error when the "prohibit opening orders for n hours" interface is called
- Support batch loading and displaying logs
请勿从Release下载banbot,您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件dist.zip
,banbot启动时会自动下载,您也可以手动下载并解压到BanDataDir
目录下,重命名为uidist
(确保uidist/index.html
存在),然后创建version.txt
文件,写入当前版本号。
- 规范化错误代码
- 命令行:输出已注册策略列表
- 记录因数量限制未入场的订单数量
- 回测结果输出最终余额、最终提现
- 支持下载缓存交易所订单
- [实盘]对大周期从1h归集而非1m归集,避免数据错误导致与回测不一致
- [实盘]大周期K线从1h聚合,避免和回测可能不一致
- [实盘]解决订单状态偶发更新不正确问题
- [websocket]消息超时自动重新订阅
[WebUI]
- 直接从全局配置运行回测
- 点击回测默认显示开始新回测页面
- 支持显示/筛选已注册策略列表
- 升级前端相关依赖
[Dashboard UI]
- 解决禁止开单n小时接口报错
- 支持日志分批加载显示
v0.2.8
Please do not download banbot from the Release section. You can quickly experience it via Docker or build it locally according to the documentation. Here, only the front-end static resource file dist.zip
is provided. Banbot will automatically download it upon startup. You can also manually download and extract it to the BanDataDir
directory, rename it to uidist
(ensure that uidist/index.html
exists), and then create a version.txt
file, in which you should write the current version number (without the "v").
- Fix compilation failure within Docker
- Support automatic application of database schema changes
- Supports automatic reading of system proxy settings.
- [Live trading] Regularly synchronize positions to prevent partial closing of positions due to duplicate local orders
请勿从Release下载banbot,您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件dist.zip
,banbot启动时会自动下载,您也可以手动下载并解压到BanDataDir
目录下,重命名为uidist
(确保uidist/index.html
存在),然后创建version.txt
文件,写入当前版本号(不含v)。
- 解决docker内编译失败
- 支持自动应用数据库架构变化
- 支持自动读取系统代理设置
- [实盘]定期同步仓位本地订单重复导致误部分平仓
v0.2.7
Do not download banbot from Release. You can quickly experience it via docker or build it locally as per the documentation. Here, only the frontend static resource file dist.zip
is provided. Banbot will automatically download it upon startup. Alternatively, you can manually download and unzip it into the BanDataDir
directory, renaming it to uidist
(ensure uidist/index.html
exists). Then, create a version.txt
file and write the current version number (without the "v").
- Fix the issue of crawler spot mis-saving 1s period K-line
- Support NTP accurate time (not enabled by default, can be enabled via ntp_lang_code)
- Fix occasional data insertion errors
- Update go-bayesopt
- WebUI startup defaults to not attempting to connect to crawler
请勿从Release下载banbot,您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件dist.zip
,banbot启动时会自动下载,您也可以手动下载并解压到BanDataDir
目录下,重命名为uidist
(确保uidist/index.html
存在),然后创建version.txt
文件,写入当前版本号(不含v)。
- 解决爬虫现货误保存1s周期K线
- 支持ntp准确时间(默认不启用,可通过ntp_lang_code启用)
- 解决偶发数据插入已存在错误
- 更新go-bayesopt
- WebUI启动默认不尝试连接爬虫
v0.2.5
Please do not download banbot from Release. You can quickly experience it via Docker or build it locally according to the documentation. Only the front-end static resource file dist.zip
is provided here. It will be automatically downloaded when banbot starts. You can also manually download and extract it to the BanDataDir
directory, rename it to uidist
(ensure uidist/index.html
exists), and then create a version.txt
file, writing the current version number (without 'v').
- Real-time balance not asynchronously polled causing it to get stuck
- Added timeout detection for crawler push
- Fixed several other bugs
[dashboard UI]
- Display quantity for orders and positions
- Fixed the bug of inaccurate balance & used margin
- Several account information query parameter errors
请勿从Release下载banbot,您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件dist.zip
,banbot启动时会自动下载,您也可以手动下载并解压到BanDataDir
目录下,重命名为uidist
(确保uidist/index.html
存在),然后创建version.txt
文件,写入当前版本号(不含v)。
- 实盘余额未异步轮询导致卡住
- 添加爬虫推送超时检测
- 解决若干其他bug
[dashboard UI]
- 订单和仓位显示数量
- 解决余额&占用保证金不准确bug
- 若干账户信息查询参数错误
v0.2.3
Please do not download banbot from Release. You can quickly experience it via Docker or build it locally according to the documentation. Only the front-end static resource file dist.zip
is provided here. It will be automatically downloaded when banbot starts. You can also manually download and extract it to the BanDataDir
directory, rename it to uidist
(ensure uidist/index.html
exists), and then create a version.txt
file, writing the current version number (without v).
- Fixed a bug where the sharp calculation was about 5 times higher
- Added support for time_start/time_end in yaml
- Fixed the bug where env: test did not take effect
请勿从Release下载banbot,您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件dist.zip
,banbot启动时会自动下载,您也可以手动下载并解压到BanDataDir
目录下,重命名为uidist
(确保uidist/index.html
存在),然后创建version.txt
文件,写入当前版本号(不含v)。
- 解决夏普计算偏高5倍左右bug
- yaml支持time_start/time_end
- 解决env: test未生效bug
v0.2.2
Do not download banbot from Release. You can quickly experience it via Docker or build it locally according to the documentation. Only the front-end static resource file dist.zip
is provided here. It will be automatically downloaded when banbot starts. You can also manually download and extract it to the BanDataDir
directory, rename it to uidist
(ensure uidist/index.html
exists), and then create a version.txt
file, writing the current version number (without v).
- Multiple columns of metrics directly return multiple *Series
- The command line supports @ and $ as placeholders for
BanDataDir
. - Orders support RealEnterMS actual entry time, distinct from EnterAt entry signal time
- Multiple live trading bots use different sqlite database files
- Regularly synchronize local orders based on exchange positions to resolve occasional status return errors for Binance stop-loss liquidation
- Fixed several other bugs
[DashBoard UI]
- Order analysis and strategy task panel optimizations
请勿从Release下载banbot,您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件dist.zip
,banbot启动时会自动下载,您也可以手动下载并解压到BanDataDir
目录下,重命名为uidist
(确保uidist/index.html
存在),然后创建version.txt
文件,写入当前版本号(不含v)。
- 多列指标直接返回多个*Series
- 命令行中支持@和$作为
BanDataDir
的占位符。 - 订单支持RealEnterMS实际入场时间,区别于EnterAt入场信号时间
- 实盘多个机器人使用不同sqlite数据库文件
- 定期根据交易所仓位同步本地订单,解决币安止损平仓偶发状态返回错误问题
- 解决若干其他bug
[DashBoard UI]
- 订单分析、策略任务面板优化
v0.2.1
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).
- Centralize account-related information in YAML under accounts.
- Support analysis of maximum capital usage for a single product in backtesting.
- Fix the bug of preparing too many K-lines when refreshing products periodically in backtesting.
- Support refreshing products at the trigger time of cron to ensure consistency between live trading and backtesting products.
[DashBoard UI]
- Support order and K-line analysis.
- Support refreshing balance.
[WebUI]
- Display error icon when backtesting fails.
- Support adding notes and displaying creation time for backtesting tasks.
- Support displaying multiple orders in the K-line chart for order analysis.
banbot运行时会自动下载dist.zip
,也可以手动下载并解压到BanDataDir
目录下,重命名为uidist
(确保uidist/index.html
存在),然后创建version.txt
文件,写入当前版本号(不含v)。
- 使用
accounts
集中化配置Yaml中账户相关信息 - 回测支持分析单品种最大资金占用
- 解决回测定期刷新品种时,准备K线过多bug
- 支持在cron的触发时间刷新品种,以确保实盘和回测品种一致。
[DashBoard UI]
- 支持订单K线分析
- 支持刷新余额
[WebUI]
- 回测失败时显示错误icon
- 支持对回测任务填写备注、显示创建时间
- 订单分析中K线图支持显示多个订单
v0.2.0
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