I'm using Bitfinex's WebSockets API v2 via their Node.JS package. I am not able to get a report on my trade history through the API. When I authenticate like below:
const BFX = require('bitfinex-api-node')
const bitfinexClient = new BFX(API_KEY, API_SECRET, {
version: 2,
transform: true
}).ws
bitfinexClient.on('open', () => {
bws .auth()
})
The following code delivers nothing:
bitfinexClient.on('auth', () => {
bitfinexClient.on('te', (data) => {
console.log(data)
})
})
Both v1 and v2 of the API return an error saying that fetchMyTrades/fetchMyOrders is not supported yet. How do I get it done?