Skip to content

Commit

Permalink
FIX: [max] fix query depth wrong symbol convertor
Browse files Browse the repository at this point in the history
  • Loading branch information
kbearXD committed Dec 19, 2024
1 parent 4f38a6c commit 1eaf814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exchange/max/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func convertWithdrawStatusV2(state max.WithdrawState) types.WithdrawStatus {
}

func convertDepth(symbol string, depth *v3.Depth) (snapshot types.SliceOrderBook, finalUpdateID int64, err error) {
snapshot.Symbol = symbol
snapshot.Symbol = toGlobalSymbol(symbol)
snapshot.Time = time.Unix(depth.Timestamp, 0)
snapshot.LastUpdateId = depth.LastUpdateId

Expand Down

0 comments on commit 1eaf814

Please sign in to comment.