Short positions covered before entry date
Author: joannakim
Creation Date: 9/13/2010 11:21 AM
profile picture

joannakim

#1
Auto Trading Setting in my Paper Account covered short positions the day before the entry date: this should not happen; how can you cover a short position before the entry had occurred?

Also there were four short positions open which the strategy should cover at 4 PM the same day as the entry, but the Auto Trading only covered 3 out of 4 positions, and the 4th position is still left open the day after the trade date which should not be the case. I already traded this strategy with real money for a while, and I know that the strategy compiled successfully as well as give me the alerts, and P & L correctly. So I don't think there is a problem with the code. Thanks.

Joanna
profile picture

Eugene

#2
Compiling by any means does not guarantee that a strategy is OK - it may suffer from logical errors while perfectly compiling. Taking a look in your code might help figure out what's going on.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).