Symbols periodically cannot be retrieved

Created at 17 Mar 2015, 18:23
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
WhiteSage's avatar

WhiteSage

Joined 02.02.2014

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?


@WhiteSage
Replies

WhiteSage
18 Mar 2015, 10:41

Is this a problem with the platform or the provider?


@WhiteSage

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

Spotware
19 Mar 2015, 14:32

When you observe such freeze, please press Shift+Ctrl+Alt+T. It will send us troubleshooting information.


@Spotware

WhiteSage
19 Mar 2015, 19:06

Sent Thurs 17:03 UTC
Thank you


@WhiteSage

Spotware
20 Mar 2015, 10:45

It looks like misconfiguration issue for USDDKK symbol. We can recommend you to exclude it from symbolList array or ask your broker to fix this symbol.


@Spotware