Issue type
Brief description
Funding ticker fields bidSize and bidPeriod are swapped around.
https://github.com/bitfinexcom/bfx-api-node-models/blob/master/lib/funding_ticker.js#L9-L24
Correct position for bidSize is 4 and for bidPeriod is 3.
Similarly, correct position for askSize is 7 and for askPeriod is 6.
Also, field frrAmountAvailable is missing.
Const fields should be:
const fields = {
symbol: 0,
frr: 1,
bid: 2,
bidSize: 4,
bidPeriod: 3,
ask: 5,
askSize: 7,
askPeriod: 6,
dailyChange: 8,
dailyChangePerc: 9,
lastPrice: 10,
volume: 11,
high: 12,
low: 13,
frrAmountAvailable: 14,
}
Reference: https://docs.bitfinex.com/reference#ws-public-ticker
Steps to reproduce
Additional Notes:
Issue type
Brief description
Funding ticker fields
bidSizeandbidPeriodare swapped around.https://github.com/bitfinexcom/bfx-api-node-models/blob/master/lib/funding_ticker.js#L9-L24
Correct position for
bidSizeis4and forbidPeriodis3.Similarly, correct position for
askSizeis7and foraskPeriodis6.Also, field
frrAmountAvailableis missing.Const
fieldsshould be:Reference: https://docs.bitfinex.com/reference#ws-public-ticker
Steps to reproduce
Additional Notes: