fix order id parsing

This commit is contained in:
c9s 2020-11-17 12:46:55 +08:00
parent cc3da5b678
commit 4bda1fee08

View File

@ -169,6 +169,7 @@ func convertWebSocketTrade(t max.TradeUpdate) (*types.Trade, error) {
return &types.Trade{ return &types.Trade{
ID: int64(t.ID), ID: int64(t.ID),
OrderID: t.OrderID,
Price: price, Price: price,
Symbol: toGlobalSymbol(t.Market), Symbol: toGlobalSymbol(t.Market),
Exchange: "max", Exchange: "max",