« first day (2321 days earlier)      last day (854 days later) » 

8:58 AM
too much code...
0
Q: Backtest won't take on short positions

Cameron GilesI am having a few small problems with my backtest. The first is that I am having trouble getting my backtest to enter into short trades even when it gets a short entry signal. Also how do I specify a maximum position? At the moment I have my order size set to (Equity*0.25)/Close price, this wor...

 
 
7 hours later…
3:33 PM
@Spacedman Yes, it's a lot of code, but it's also necessary to create a reproducible example. There really isn't a way for the user to make it more concise.
I'll edit it to bare bones, and you will see what I mean
 

« first day (2321 days earlier)      last day (854 days later) »