Skip to content

Commit

Permalink
Merge pull request #1873 from c9s/kbearXD/max/fix-query-depth-symbol
Browse files Browse the repository at this point in the history
FIX: [max] fix query depth wrong symbol convertor
  • Loading branch information
c9s authored Dec 23, 2024
2 parents 4f38a6c + 1eaf814 commit ebe6238
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 ebe6238

Please sign in to comment.