Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thaaddeus committed Jul 1, 2022
1 parent 3d17d5b commit d7c6564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mappers/huobi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ export class HuobiBookTickerMapper implements Mapper<'huobi' | 'huobi-dm' | 'huo
askPrice: message.tick.ask !== undefined && message.tick.ask !== null ? asNumberIfValid(message.tick.ask[0]) : undefined,

bidPrice: message.tick.bid !== undefined && message.tick.bid !== null ? asNumberIfValid(message.tick.bid[0]) : undefined,
bidAmount: message.tick.bid !== undefined && message.tick.ask !== null ? asNumberIfValid(message.tick.bid[1]) : undefined,
bidAmount: message.tick.bid !== undefined && message.tick.bid !== null ? asNumberIfValid(message.tick.bid[1]) : undefined,
timestamp: new Date(message.tick.ts),
localTimestamp: localTimestamp
}
Expand Down

0 comments on commit d7c6564

Please sign in to comment.