mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
ftx: fix ftx order status isWorking
This commit is contained in:
parent
66700016e4
commit
5c8997e293
|
@ -61,7 +61,7 @@ func toGlobalOrderNew(r ftxapi.Order) (types.Order, error) {
|
|||
TimeInForce: timeInForce,
|
||||
},
|
||||
Exchange: types.ExchangeFTX,
|
||||
IsWorking: r.Status == "open",
|
||||
IsWorking: r.Status == ftxapi.OrderStatusOpen || r.Status == ftxapi.OrderStatusNew,
|
||||
OrderID: uint64(r.Id),
|
||||
Status: "",
|
||||
ExecutedQuantity: r.FilledSize,
|
||||
|
|
Loading…
Reference in New Issue
Block a user