Describe the bug
希望能增加同步实际持仓功能。
实际上持仓已经在上次交易中平仓,但账簿仍然记录着历史开仓记录。
导致出现的问题是:
因账本原因可能导致策略误判,一直调用平仓且失败。
响应错误信息:Gate: Gate HTTP 400 - {"label":"REDUCE_EXCEEDED","message":"empty position"}
Steps to reproduce
/strategy-live?tab=strategy
策略列表-当前持仓
Expected behavior
No response
Deployment method
Docker Compose
Relevant logs
Describe the bug
希望能增加同步实际持仓功能。
实际上持仓已经在上次交易中平仓,但账簿仍然记录着历史开仓记录。
导致出现的问题是:
因账本原因可能导致策略误判,一直调用平仓且失败。
响应错误信息:Gate: Gate HTTP 400 - {"label":"REDUCE_EXCEEDED","message":"empty position"}
Steps to reproduce
/strategy-live?tab=strategy
策略列表-当前持仓
Expected behavior
No response
Deployment method
Docker Compose
Relevant logs