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:
@@ -85,7 +85,7 @@ class ConstantOptionContractAlphaModel(ConstantAlphaModel):
|
||||
return super().ShouldEmitInsight(utcTime, symbol)
|
||||
|
||||
class SingleSharePortfolioConstructionModel(PortfolioConstructionModel):
|
||||
'''Portoflio construction model that sets target quantities to 1 for up insights and -1 for down insights'''
|
||||
'''Portfolio construction model that sets target quantities to 1 for up insights and -1 for down insights'''
|
||||
def CreateTargets(self, algorithm, insights):
|
||||
targets = []
|
||||
for insight in insights:
|
||||
|
||||
Reference in New Issue
Block a user