-. StockSharphttps://stocksharp.com/handlers/atom.ashx?category=tag&id=-&type=communityCopyright @ StockSharp Platform LLC 2010 - 20242024-03-29T07:26:20Zhttps://stocksharp.com/images/logo.pnghttps://stocksharp.com/topic/12380/Rithmic connection CPU Usage & Refreshspeed of SubscribeMarketDepth2020-09-02T18:47:42Z2020-09-02T20:53:39ZTobias Bornhttps://stocksharp.com/users/127923/info@stocksharp.comDear S# Community,<br /><br />i have a question regarding the S# Rithmic Connection. I have realised that it needs a lot of CPU Usage (up to 50%) when i am subscribing to the SubscribeMarketDepth.<br />It seems the method is sync and is blocking the other threads in between. It would be better to call it async but that is not implemented right now in s#[crying].<br /><br />Does anybody make the same experience?<br /><br />Also the second question i have is about the refreshspeed of this subscription. <a href="https://doc.stocksharp.com/html/M_StockSharp_Algo_IMarketDataProviderEx_SubscribeMarketDepth.htm
" title="https://doc.stocksharp.com/html/M_StockSharp_Algo_IMarketDataProviderEx_SubscribeMarketDepth.htm
">https://doc.stocksharp.c...ubscribeMarketDepth.htm
</a><br /><br />i gave a refreshspeed of 3 seconds,but it seems the data update comes more frequently, less than 1 second i guess.<br /><br />TimeSpan span = new TimeSpan(0, 0, 0, 3, 0);<br />Connector.SubscribeMarketDepth(security, null, null, null, MarketDataBuildModes.LoadAndBuild,null, 25, <b>span</b>, null, false, null);<br /><br />Am i using it wrong?<br /><br />Thanks in advance & best regards<br />Tobias