Add extendedMarket parameter to History methods (#7191)

* Add extendedMarket parameter to every history api method overload

* Rename extendedMarketHours parameter

New name is extendedHours as in the History API to standarize parameters naming

* Update generic history overloads to use every matching subscription

* Update regression algorithms stats

* Centralize period-based history error for tick resolution

* Rename extended market hours parameter to extendedMarketHours

* Minor changes

* Minor changes

* Minor unit tests changes

* Minor unit tests changes

* Minor changes

* Minor unit tests changes

* Minor unit tests changes
This commit is contained in:
Jhonathan Abreu
2023-04-20 09:41:32 -04:00
committed by GitHub
parent fb383dc73c
commit 3888896ed4
13 changed files with 833 additions and 203 deletions
@@ -45,6 +45,6 @@ class PeriodBasedHistoryRequestNotAllowedWithTickResolutionRegressionAlgorithm(Q
try:
historyCall()
raise Exception(f"{historyCallDescription}: expected an exception to be thrown")
except ArgumentException:
except InvalidOperationException:
# expected
pass