AldPokel
08-03-2016,
Good day,
Seems like there is some problem with fetching historical price data for D1 time frame for specific instruments, this problem seems to have started since the last weekend.
I follow the steps from:
http://www.fxcorporate.com/help/CPlu...rices_cpp.html (http://www.fxcorporate.com/help/CPlusPlus/web-content.html#hist_prices_cpp.html)
I need the last 300 bars for several timeframes. The code I use is similar to:
IO2GRequestFactory * factory = mSession->getRequestFactory();
IO2GTimeframeCollection * timeFrames = factory->getTimeFrameCollection();
IO2GTimeframe * timeFrame = timeFrames->get("D1");
IO2GRequest *request = factory->createMarketDataSnapshotRequestInstrument("EUR/USD", timeFrame, 300);
factory->fillMarketDataSnapshotRequestTime(request, 0, 0);
For all other timeframes, I get 300 bars. For some specific instrument (EUR/USD, etc.) for timeframe D1, I get only 18 bars, one for each day starting 01-Nov-2015 until the current date. This code was working previously and I was getting 300 bars.
Grateful if a fix/workaround can be provided.
Seems like there is some problem with fetching historical price data for D1 time frame for specific instruments, this problem seems to have started since the last weekend.
I follow the steps from:
http://www.fxcorporate.com/help/CPlu...rices_cpp.html (http://www.fxcorporate.com/help/CPlusPlus/web-content.html#hist_prices_cpp.html)
I need the last 300 bars for several timeframes. The code I use is similar to:
IO2GRequestFactory * factory = mSession->getRequestFactory();
IO2GTimeframeCollection * timeFrames = factory->getTimeFrameCollection();
IO2GTimeframe * timeFrame = timeFrames->get("D1");
IO2GRequest *request = factory->createMarketDataSnapshotRequestInstrument("EUR/USD", timeFrame, 300);
factory->fillMarketDataSnapshotRequestTime(request, 0, 0);
For all other timeframes, I get 300 bars. For some specific instrument (EUR/USD, etc.) for timeframe D1, I get only 18 bars, one for each day starting 01-Nov-2015 until the current date. This code was working previously and I was getting 300 bars.
Grateful if a fix/workaround can be provided.