API Support Forum
OEC API > Market Data > GFAPI Tick subscribe issue: i don't get historical data
Author Topic: GFAPI Tick subscribe issue: i don't get historical data
(3 messages, Page 1 of 1)
Moderators: VPfau
GRiscaio4932
Posts: 4
Joined: May 04, 2017


Posted: Oct 10, 2019 @ 01:49 AM             Msg. 1 of 3
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.
SRuscak
Posts: 50
Joined: Aug 24, 2017


Posted: Oct 10, 2019 @ 12:18 PM             Msg. 2 of 3
Hello, thank you for bringing this issue to our attention. You are not using the API incorrectly; there is in fact an issue that prevents historical ticks from being published. This will be fixed in future releases of the API

-Seth
CMicciche902
Posts: 367
Joined:


Posted: Nov 04, 2019 @ 03:52 PM             Msg. 3 of 3
This issue was resolved this past weekend.
Chris M