Add account currency and IRegressionAlgorithmDefinition (#6159)
Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled

* Add account currency

* update stats

* use market order, same as c#
This commit is contained in:
Ronit Jain
2022-01-20 02:55:57 +05:30
committed by GitHub
parent 0946bfc2fb
commit d1bb70fbb7
6 changed files with 61 additions and 55 deletions
@@ -24,6 +24,8 @@ class IndiaDataRegressionAlgorithm(QCAlgorithm):
def Initialize(self):
'''Initialise the data and resolution required, as well as the cash and start-end dates for your algorithm. All algorithms must initialized.'''
self.SetAccountCurrency("INR")
self.SetStartDate(2004, 5, 20)
self.SetEndDate(2016, 7, 26)
self._mappingSymbol = self.AddEquity("3MINDIA", Resolution.Daily, Market.India).Symbol