Skip to content

[BUG] 币安接口错配 #1270

@Gi2tHubProtect

Description

@Gi2tHubProtect

⚠️ Before submitting: Please check the Troubleshooting Guide (中文版) to see if your issue can be resolved quickly.

🐛 Bug Description

策略自定义货币与币安k线获取存在冲突
前端策略添加自定义加密货币,提示可以按照如下格式:USDT,ETH,.....,但实际情况下如果这样子填写会被作为一种货币,前端既没有将分割,后端也同样未处理。
该bug导致无法一次性填入想要交易的加密货币,而只能重复添加

📋例子数据:{ "static_coins": [ "BTCUSDT", "SOLUSDT", "ETHUSDT,2Z-USDT" ] }
✅ 正确调用:https://fapi.binance.com/fapi/v1/klines?interval=15m&limit=100&symbol=BTCUSDT
❌错误调用: https://fapi.binance.com/fapi/v1/klines?interval=15m&limit=100&symbol=ETHUSDT,2Z-USDT

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions