Hi all,
Can anybody help me to write the code for this rule.
If it is October and tomorrow is the 3rd trading day left in October, buy tomorrow on the opening.
Appreciated a lot.
Maury
Hi all,
Can anybody help me to write the code for this rule.
If it is October and tomorrow is the 3rd trading day left in October, buy tomorrow on the opening.
Appreciated a lot.
Maury
There's a long discussion on that topic here: Should I leave temporarily AFL?
If you're only interested in backtesting on historical data, then you can use a simple approach using Ref(). If you need to accommodate live trading, then a more complex solution is necessary.
Thank a lot!!!!!!!!!!!!
The only think I don’t like in this world that is the pythons.