BitMEX / api-connectors

Libraries for connecting to the BitMEX API.
https://www.bitmex.com/app/restAPI
910 stars 795 forks source link

Getting negative rebalancedPnl when using WebSocket subscription #516

Open RuiCadete opened 2 years ago

RuiCadete commented 2 years ago

Hello,

I am getting the rebalancedPnl = -971 when for the "position" subscription updates but if I go to the Transaction History its +971 (as expected).

Is this OK? Shouldn't be the same as in the Transaction History page?

Regards TransactionHistory WebSocketPositionUpdate