Commit Graph

13 Commits

Author SHA1 Message Date
Martin Molinero 47a946f607 Add check to avoid FillForward for Resolution.Tick
- Adding an internal check to the HistoryRequest.FillForwardResolution {get}
that will return null when resolution is set to Resolution.Tick
- Adding unit tests which reproduce the original issue
2018-10-04 17:10:10 -03:00
Andrew dcd6f478a0 Include the TickType in the HistoryPacket
Currently the HistoryRequest includes information regarding the tick type, but that information is not passed to the HistoryPacket. Therefore, only the common data types for a history request are returned for history requests. This is problematic for crypto history requests that specify Trade History.
2017-11-13 15:25:10 -05:00
Andrew 08bb34a1eb Add TickType field to the HistoryRequest class 2017-08-22 09:42:42 -04:00
Andrew a855a7c545 Renamed HistoryRequest.TimeZone to DataTimeZone 2017-08-21 15:06:29 -04:00
Andrew 8a5af16051 Remove parameterless HistoryRequest constructor
This contractor was removed so that history requests do not assume any defaults - especially with exchange time zones and data time zones
2017-08-21 14:55:49 -04:00
Stefano Raggi 2cbe2af4fd Remove redundant properties in HistoryRequest class
SecurityType and Market properties are already implicitly included in the Symbol property.

With this change we avoid forgetting to set these properties when creating HistoryRequest objects (issue #863)
2017-04-29 20:31:39 +02:00
Stefano Raggi ed4a7efefc Add missing DataNormalizationMode in history requests
Previously, DataNormalizationMode in history requests was always being set to the Adjusted default value, so SetDataNormalizationMode calls were not being respected in SubscriptionDataReaderHistoryProvider.GetHistory and warmup.
2017-01-31 23:50:52 +01:00
Michael Handschuh a44ce9f2ab Remove single subscription assumption from history impl
When this was originally written, we were assuming one subscription per security.
This removes that assumption and tries to find subscriptions matching the request
2016-04-12 19:06:43 -04:00
Stefano Raggi 1e7d8f47ee Fixed XML comments compiler warnings 2015-12-06 16:26:48 +01:00
snugs 6f15d4e569 Rename SubDataConfig.TimeZone to DataTimeZone
Also reviewed usages to check for data time zone vs exchange time zone
2015-11-30 18:43:41 -05:00
snugs 5161dc9dd0 Use Market string constants instead of literals 2015-11-23 13:55:58 -05:00
snugs 5b29b8f230 Update IHistoryProvider to use request object 2015-09-15 15:40:52 -04:00
snugs 65f75708bb Initial implementation of IHistoryProvider 2015-09-15 15:40:09 -04:00