I'm new in this forum so I hope I won't ask something too basic or that was already answered in the past.
I want to backtest a system that has multiple exits. One exit is activated market on close on the day before the earnings report to avoid gaps against the trend. Does anyone know how to code it and what source of information can be used to it?
Thanks,
ACP

Comment