API Support Forum
User Profile

Viewing User Profile for: GRiscaio4932


About

May 04, 2017 11:40 AM

Jan 16, 2020 12:47 AM

Jan 16, 2020 12:47 AM



Post Statistics
GRiscaio4932 has contributed to 4 posts out of 5573 total posts (0.07%) in 2519 days (0.00 posts per day).

20 most recent posts:

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.