Proper way of closing out positions at the end of the day

I recently realized that I was not properly closing out of my positions, and that this should be done based on market positions rather than internal variables.
I posted a description of the better way and revised my breakout strategy: https://github.com/cloudquantai/closingout_script

Sign In or Register to comment.