Skip to content

Commit

Permalink
fix: fix orangex formatting (#2343)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai authored Dec 23, 2024
1 parent b4355bd commit 5b3e7c5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions node/pkg/websocketfetcher/providers/orangex/orangex.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ type TickerResponse struct {
Turnover string `json:"turnover"`
High string `json:"high"`
} `json:"stats"`
State string `json:"state"`
LastPrice string `json:"last_price"`
InstrumentName string `json:"instrument_name"`
MarkPrice string `json:"mark_price"`
BestBidPrice string `json:"best_bid_price"`
BestBidAmount string `json:"best_bid_amount"`
BestAskPrice string `json:"best_ask_price"`
BestAskAmount string `json:"best_ask_amount"`
State string `json:"state"`
LastPrice string `json:"last_price"`
InstrumentName string `json:"instrument_name"`
MarkPrice string `json:"mark_price"`
BestBidPrice float64 `json:"best_bid_price"`
BestBidAmount float64 `json:"best_bid_amount"`
BestAskPrice float64 `json:"best_ask_price"`
BestAskAmount float64 `json:"best_ask_amount"`
} `json:"data"`
Channel string `json:"channel"`
} `json:"params"`
Expand Down

0 comments on commit 5b3e7c5

Please sign in to comment.