Replies

OMNIAFLUIT
30 May 2016, 19:25

RE: RE:

MRSV said:

michele.carofiglio said:

Hi

when my program finds an asset like UK100 on today (open market but no data because today is holiday in UK) the "MarketData.GetSeries(_symbol2, TimeFrame)" runs in a loop to infinity.

I don't know how I can avoid this problem.

Thanks for your help in advance.

Mike

You could make a method that checks if the current day is a holiday, an add if(isHoliday()== false).

 

Hi,

thanks for your reply.

I'm looking for a method from cAlgo for check if the asset is considerable or not. This is because I have found other assets whit same problems (like SEKJPY exists in ctrade but no data) and I have informed Spotware without answer. I have flagged these assets and the program doesn't work them. This is not fine for me.

Mike


@OMNIAFLUIT