The trade analysis function, like shown in the image. I need an API version of it. Is there any API for this?
Hey,
Unfortunately, there are no direct API endpoints available to retrieve this data.
You would need to calculate it yourself using endpoints like the Account trade list or All orders. This would require separating the FILLED
orders from the others, and then further splitting the BUY and SELL orders.