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

@ -76,6 +76,8 @@ type ExecutionReportEvent struct {
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"`