Position sizes for SPOT and FUTURES


I am trying to get balances for positions that are open on the SPOT and the FUTURES.

For FUTURES, I am using: `
positions = exchange.fapiPrivate_get_positionrisk( )

My understanding is that if positionAmt ZERO then the position is closed. - and - if positionSide = BUY, then positionAmt = sum(ALL of the BUY POSITIONS created)

QUESTION: is this ONLY for FUTURES? I want this information for SPOT markets too - how can I get it?


Spot don’t have position, please check details from this topic.