Skip to content

Commit

Permalink
🔧 fix(coinbase): add missing market info fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dboyliao committed Feb 27, 2025
1 parent a9d6005 commit 95e5bf4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/exchange/coinbase/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ func toGlobalMarket(cbMarket *api.MarketInfo) types.Market {
QuoteCurrency: cbMarket.QuoteCurrency,
BaseCurrency: cbMarket.BaseCurrency,
MinNotional: cbMarket.MinMarketFunds,
MinAmount: cbMarket.MinMarketFunds,
TickSize: cbMarket.QuoteIncrement,
StepSize: cbMarket.BaseIncrement,
MinPrice: fixedpoint.Zero,
MaxPrice: fixedpoint.Zero,
}
}

Expand Down

0 comments on commit 95e5bf4

Please sign in to comment.