binance: fix execution report parsing

This commit is contained in:
c9s 2022-12-19 19:00:14 +08:00
parent 6f2664b03e
commit 30f471db00
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -75,7 +75,9 @@ type ExecutionReportEvent struct {
OrderPrice fixedpoint.Value `json:"p"` OrderPrice fixedpoint.Value `json:"p"`
StopPrice fixedpoint.Value `json:"P"` StopPrice fixedpoint.Value `json:"P"`
IsOnBook bool `json:"w"` IsOnBook bool `json:"w"`
WorkingTime types.MillisecondTimestamp `json:"W"`
TrailingTime types.MillisecondTimestamp `json:"D"`
IsMaker bool `json:"m"` IsMaker bool `json:"m"`
Ignore bool `json:"M"` Ignore bool `json:"M"`