Closed nedievas closed 7 years ago
Hi nedievas,
it seems you forgot to authenticate yourself.
try to change your code to this:
bws.on('open', () => {
bws.subscribeTrades('BTCUSD')
// bws.subscribeOrderBook('BTCUSD')
// bws.subscribeTicker('BTCUSD')
bws.auth() // authenticate with credentials
})
hope that helps.
Hi. As you can see, I did. Please test code. Thanks
ah ok, gotcha! thank you for your patience with me!
seems I replied to older code I got by emai from github.
try to send the order after the auth
event is emitted. sent a PR in https://github.com/bitfinexcom/bitfinex-api-node/pull/78 with a slightly better example.
Please, help me submit order, as documentation here is poor. My code (secret and key are hidden):
I get this error:
Thanks!