API Support Forum
User Profile

Viewing User Profile for: CBarabucci


Mar 24, 2021 05:56 PM

Mar 25, 2021 08:17 AM

Mar 25, 2021 03:52 PM


Post Statistics
CBarabucci has contributed to 1 posts out of 5095 total posts (0.02%) in 24 days (0.00 posts per day).

20 most recent posts:

API Support » Real Time capturing data Mar 25, 2021 @ 08:17 AM (Total replies: 0)

Hi, I've developed a Real Time capturing data software.
After Connection, Symbol Lookup and Contract choose, I subscribe the PriceChanged Event:

Client.Subscriptions.Price.PriceChanged += OnPriceChanged;

and in the:

private void OnPriceChanged(IGFClient client, PriceChangedEventArgs e)
StringBuilder data = new StringBuilder(e.Price.LastDateTime.ToLocalTime().ToString(), 30);


I add in a list named lista, my interesting data.

The program working fine, the data are correct more or less, if I check the captured data from my software, with the downloaded data from the GAIN Trader archive, some few data are missing, wich other are duplicated.

Naturally I check the same values of the same contract in the same interval of time, and they correspond for about 90%.

Are there possible to capture real time data with api, without differences, with the Gain Trader archive?
Thanks for answer.

Edited by CBarabucci on Mar 25, 2021 08:30 AM
Edited by CBarabucci on Mar 25, 2021 03:52 PM