Adds EmaCrossFuturesFrontMonthAlgorithm
This example shows how to create an EMA cross algorithm for a futures' front contract. Once the contract is added, the indicators are registered to a new consolidator and warmed up with historical data. When a contract is removed, the consolidator is removed and the indicators are reseted. We don't need to liquidate it, because it's liquidated automatically since it has expired.
This commit is contained in:
@@ -181,6 +181,7 @@
|
||||
<None Include="DropboxBaseDataUniverseSelectionAlgorithm.py" />
|
||||
<None Include="DropboxUniverseSelectionAlgorithm.py" />
|
||||
<None Include="DropboxCoarseFineAlgorithm.py" />
|
||||
<None Include="EmaCrossFuturesFrontMonthAlgorithm.py" />
|
||||
<None Include="EmaCrossUniverseSelectionAlgorithm.py" />
|
||||
<None Include="EmaCrossUniverseSelectionFrameworkAlgorithm.py" />
|
||||
<None Include="ETFGlobalRotationAlgorithm.py" />
|
||||
|
||||
Reference in New Issue
Block a user