OPEN PRICES OF 28 PAIRS - TOO SLOW

Created at 29 Mar 2016, 08:44
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!
GoldnOil750's avatar

GoldnOil750

Joined 07.04.2015

OPEN PRICES OF 28 PAIRS - TOO SLOW
29 Mar 2016, 08:44


Hi SPOTWARE,

It takes ages to load the 28-Pairs "OPEN PRICES" and after LONDON session has closed, it simply doesn't bother to load the OPEN PRICES.   Like in MT4, the same PRICES (open, high, low, close) loads within seconds of all 28 pairs.  

Like shouldn't this matter be resolved at its earliest.    Have add the cBOT for this with code and you can see it for yourself, the time it takes.  (*Note: The PRICES (open, high, low, close) are only fetched once in the whole code, that is On_BAR only).

 

/algos/cbots/show/1251

 

Can cSERVER do better by providing faster and accurate PRICES !!!   (*for accurate prices error do see this link, where Prev. month Hi & Lo have wrong prices being given.  /forum/indicator-support/8730?page=1#2

 

Thank you !  and hope this issue of slow OPEN prices being loaded and hanging many a times, is NOW resolved for good.  It has been there for months now.

 

///S.Khan


@GoldnOil750
Replies

Spotware
29 Mar 2016, 11:33

Dear Trader,

It's in our plans to further optimize the performance of our platforms in the future. Stay tuned. However, we recommend you to try to optimize your code. Currently, you are trying to retrieve try to retrieve the MarketSeries for 28 Symbols, 7 Timeframes each, every time you invoke the Methods.

Load_28Pair_Open_Prices();
Load_28Pair_Close_HiLo_Prices();
Load_28Pair_ATR_Values(); 

 


@Spotware

GoldnOil750
29 Mar 2016, 12:04

RE:

Thank you. Regarding the optimization of my code, please try to run the code and you will see, "that it is only when you run the cBOT for the FIRST TIME it takes minutes and sometimes hours to load the open prices.  But once it displays, then on each consecutive On_BAR, it displays the OPEN prices very quickly".

 

So you see that there is something to do with when cBOT starts and try to access the "OPEN PRICES" for the FIRST TIME.  ONCE, loaded it then performs, gets the OPEN PRICES within milli-seconds.     And quite often, it fails to get the OPEN PRICES on start and one has to restart the cBOT.  

 

I hope I have cleared myself that the issue is in the start and not when it is running.

 

 

Spotware said:

Dear Trader,

It's in our plans to further optimize the performance of our platforms in the future. Stay tuned. However, we recommend you to try to optimize your code. Currently, you are trying to retrieve try to retrieve the MarketSeries for 28 Symbols, 7 Timeframes each, every time you invoke the Methods.

Load_28Pair_Open_Prices();
Load_28Pair_Close_HiLo_Prices();
Load_28Pair_ATR_Values(); 

 

 


@GoldnOil750

galafrin
31 Mar 2016, 21:37

It took roughly 6 mn to get my broker's 1470 series of 70 working symbols and displaying last bar close / open , in line with the market.  


@galafrin