We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The handlers registered for public funding trades with onTrades are not called when fte/ftu messages are received.
onTrades
This is because the fte/ftu messages are not properly handled and the messages don't propagate to listener registered with onTrades method.
const ws = new WSv2() ws.on('open', async () => { ws.onTrades({ symbol: 'fUSD' }, (trades) => { console.log('recv trades: %j', trades) }) ws.subscribeTrades('fUSD') }) await ws.open()
Possible bug fix:
Change
bitfinex-api-node/lib/transports/ws2.js
Lines 967 to 971 in fabfc1c
with
const eventName = msg[1] === 'te' || msg[1] === 'fte' ? 'trade-entry' : 'trades'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue type
Brief description
The handlers registered for public funding trades with
onTrades
are not called when fte/ftu messages are received.This is because the fte/ftu messages are not properly handled and the messages don't propagate to listener registered with
onTrades
method.Steps to reproduce
Additional Notes:
Possible bug fix:
Change
bitfinex-api-node/lib/transports/ws2.js
Lines 967 to 971 in fabfc1c
with
The text was updated successfully, but these errors were encountered: