Skip to content

Commit

Permalink
Merge pull request ccxt#17914 from carlosmiei/bitfinex-fetchTickers
Browse files Browse the repository at this point in the history
fix(bitfinex): parseTicker marketId
  • Loading branch information
kroitor authored May 14, 2023
2 parents 10a1f81 + b2f72e0 commit 991d400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/src/bitfinex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ export default class bitfinex extends Exchange {

parseTicker (ticker, market = undefined) {
const timestamp = this.safeTimestamp (ticker, 'timestamp');
const marketId = this.safeString (market, 'pair');
const marketId = this.safeString (ticker, 'pair');
market = this.safeMarket (marketId, market);
const symbol = market['symbol'];
const last = this.safeString (ticker, 'last_price');
Expand Down

0 comments on commit 991d400

Please sign in to comment.