Lets say i executed 2-3 baskets of trades each with 3-4 legs (which sometimes can be offsetting as well). How do I track the MtM of each basket separately?
Currently, there are no direct API endpoints available for placing basket orders. You may refer to this discussion for more details on MTM calculation.