Symbols periodically cannot be retrieved
Symbols periodically cannot be retrieved
17 Mar 2015, 18:23
Occasionally when retrieving multiple symbols the platform freezes and reports no error. The UI is still responsive but the algo proceeds no further, as if the stream couldn't be accessed. I'm seeing it currently with the USDPLN pair.
The code worked perfectly the other day, but today with no changes it locks up on this particular symbol. Hooking to the visual studio debugger yielded no obvious errors. Closing and reloading the platform does not prevent the problem.
Suggestions?
Replies
WhiteSage
19 Mar 2015, 07:28
Code snip:
for (int s = 0; s < symbolList.Length; s++) { RefreshData(); MarketSeries series = MarketData.GetSeries(symbolList[s], TimeFrame); for (int i = 0; i < sampleSize; i++) { streams[i, s] = series.WeightedClose.Last(i); //Print(streams[i, s].ToString()); } Print(symbolList[s]); }
symbolList is a string array of all the pairs (eg, { "EURUSD", "GBPUSD" ... } )
Everything from USDPLN out causes the freeze (the 34th pair in my case). Do I need to delete my local history and re-download it? If so how?
@WhiteSage
WhiteSage
18 Mar 2015, 10:41
Is this a problem with the platform or the provider?
@WhiteSage