Filter out small orders based on Setting (#5776)
Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
* Filter out small orders based on Setting - BuyingPowerModel will filter out small orders based on algorithm setting, a % of PTV, instead of hard coded 1 share value. Addin unit and regression tests - Updating regression algorithms to use new setting, reduce order trades * Update regression algorithms
This commit is contained in:
@@ -28,6 +28,10 @@ class DropboxBaseDataUniverseSelectionAlgorithm(QCAlgorithm):
|
||||
|
||||
self.UniverseSettings.Resolution = Resolution.Daily
|
||||
|
||||
# Order margin value has to have a minimum of 0.5% of Portfolio value, allows filtering out small trades and reduce fees.
|
||||
# Commented so regression algorithm is more sensitive
|
||||
#self.Settings.MinimumOrderMarginPortfolioPercentage = 0.005
|
||||
|
||||
self.SetStartDate(2017, 7, 4)
|
||||
self.SetEndDate(2018, 7, 4)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user