mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
fix order id parsing
This commit is contained in:
parent
cc3da5b678
commit
4bda1fee08
|
@ -169,6 +169,7 @@ func convertWebSocketTrade(t max.TradeUpdate) (*types.Trade, error) {
|
|||
|
||||
return &types.Trade{
|
||||
ID: int64(t.ID),
|
||||
OrderID: t.OrderID,
|
||||
Price: price,
|
||||
Symbol: toGlobalSymbol(t.Market),
|
||||
Exchange: "max",
|
||||
|
|
Loading…
Reference in New Issue
Block a user