API Support » GF.Api.Subscriptions.Ticks issue - Duration.Create(DateTime, Int32) Jan 16, 2020 @ 12:47 AM (Total replies: 4) | |||||
Ok, Thanks |
|||||
API Support » GF.Api.Subscriptions.Ticks issue - Duration.Create(DateTime, Int32) Jan 14, 2020 @ 09:54 AM (Total replies: 4) | |||||
This for example, request ticks data from beginning of the day (if ticks are less than 65536) and subscribe: _tickSubscription = _gfClient.Subscriptions.Ticks.Subscribe(cbSymbol.SelectedContract.ID, _gfClient.Subscriptions.Ticks.Duration.Create(DateTime.Today.ToUniversalTime())); |
|||||
API Support » GF.Api.Subscriptions.Ticks issue - Duration.Create(DateTime, Int32) Jan 10, 2020 @ 04:47 AM (Total replies: 4) | |||||
I don't get any data when i try to subscribe Ticks data to retrive a specified amount of data using Duration.Create(DateTime, Int32) i.e.: _tickSubscription = _gfClient.Subscriptions.Ticks.Subscribe(cbSymbol.SelectedContract.ID, _gfClient.Subscriptions.Ticks.Duration.Create(endData.ToUniversalTime(), 65536)); The other 3 methods Create(DateTime), Create(Int32), Create(DateTime, DateTime) work flawlessly Can you check and/or send me any solutions. |
|||||
Market Data » GFAPI Tick subscribe issue: i don't get historical data Oct 10, 2019 @ 01:49 AM (Total replies: 2) | |||||
I'm updating my app to the new API, i have the following issue: I don't get historical ticks data (last hours for example, or from a specific time), i only get the stream of updates if i subscribe to Ticks data with: client.Subscriptions.Ticks.Subscribe( e.Contracts.First().ID, client.Subscriptions.Ticks.Duration.Create(DateTime.UtcNow.AddHours(-1))) or even client.Subscriptions.Ticks.Subscribe( e.Contracts.First().ID, client.Subscriptions.Ticks.Duration.Create(1000)) Can you guide me to solution, I try your AdvancedExemple and it seems to have the same issue. |