c9s / bbgo

The modern cryptocurrency trading bot framework written in Go.
https://bbgo.finance
GNU Affero General Public License v3.0
1.16k stars 276 forks source link

track errored orders #1590

Open c9s opened 4 months ago

c9s commented 4 months ago

An order could be rejected by binance, but it's possible that the order has been filled already.

we need to track that errored order and query the trades of that order to correct the position and profit.