Address reviews
- Removing `using QCAlgorithmFramework = QuantConnect.Algorithm.QCAlgorithm` - Removing `QCAlgorithmFrameworkBridge` - Removing `IsFrameworkAlgorithm` - Making `EmitInsightBasedOnFill` private. Adding new `IOrderEventProvider` exposing an `event` to which `QCAlgorithm` will subscribe. - `AccountType.Cash` algorithms will be allowed to manually trade and emight insights manually or with alpha model.
This commit is contained in:
@@ -21,7 +21,6 @@ AddReference("QuantConnect.Indicators")
|
||||
from System import *
|
||||
from QuantConnect import *
|
||||
from QuantConnect.Algorithm import *
|
||||
from QuantConnect.Algorithm.Framework import QCAlgorithmFrameworkBridge
|
||||
from QuantConnect.Algorithm.Framework.Alphas import *
|
||||
from QuantConnect.Indicators import *
|
||||
from datetime import timedelta
|
||||
@@ -36,7 +35,7 @@ from datetime import timedelta
|
||||
### <meta name="tag" content="indicators" />
|
||||
### <meta name="tag" content="indicator classes" />
|
||||
### <meta name="tag" content="plotting indicators" />
|
||||
class ConvertToFrameworkAlgorithm(QCAlgorithmFrameworkBridge): # 1. Derive from QCAlgorithmFrameworkBridge
|
||||
class ConvertToFrameworkAlgorithm(QCAlgorithm): # 1. Derive from QCAlgorithmFrameworkBridge
|
||||
'''Demonstration algorithm showing how to easily convert an old algorithm into the framework.'''
|
||||
|
||||
FastEmaPeriod = 12
|
||||
|
||||
Reference in New Issue
Block a user