For example, one month I started with $2000 as my cash value and realized $1653.59. However, GetAccountValue returned (and the cash value on the Accounts tab showed) $6323.26. The Realized value on the Accounts tab is correct.
This is baffling because I'm not doing anything to manipulate the cash value. I'm just using EnterLong and EnterShort as normal.
I did switch to ExitLongLimit/ExitShortLimit from SetProfitTarget around when I noticed this happening. Could that be the problem? Is there another setting that I should check? Thanks for your feedback.
Comment