Is there any code that can remove trade executions from dates around the earnings period?
I have a strategy that I do not ever want it to be executed +/- 10 business days from any earning's period.
Furthermore, is there any way to enhance this, so that if i am Long/Short in a position, when said open position reaches +/- 10 days from earnings it simply closes, irrelevant of everything else in the strategy.
Thanks in advance.
G

Comment