How position data will be received ? In one response one position data or all positions


I am trying to fetch position data for every 500ms but observed one wrong behavior.

When I try to fetch position data most of the time single-position data only and in the middle only get one request for all position data.

I expect all position data at once only one request.

How to make data consistent?

I am using the below code to get position data



The Positions API will return a payload where the ‘data’ field corresponds to an array filled with ‘PositionData’ objects, as outlined in the official documentation.

Hello @shanmu,
The issue is resolved. It was my code issue.