It looks like you're new here. If you want to get involved, click one of these buttons!
quantity
I am not able to get data for old closed trades, like previous week or previous month, is there a way to fetch those?
Or is there a way to get PNL report for the account from a desired period?
Yes, you need to iterate through net position and check for closed position i.e condition of
quantity
field to be Zero.I am not able to get data for old closed trades, like previous week or previous month, is there a way to fetch those?
Or is there a way to get PNL report for the account from a desired period?