I am trying to write the logic to stop trading when I hit my daily profit or daily loss. The issue is with Managed Approach if I am in a position, say short, and I get a reversal to a long I can't get an accurate read just from the Account because the position has not gone flat yet. I added these two together and got a "sort of" accurate read for a daily total but it is still an approximation.
How and when should we use the Account and Position data?
Thanks.
Comment