Slow Bot

Created at 06 Jun 2019, 17:34
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!
lec0456's avatar

lec0456

Joined 14.11.2012

Slow Bot
06 Jun 2019, 17:34


HI, I made some changes to my Bot and it has slowed down to a crawl. It takes 2 hrs to run 6 month of tick data. I was wondering if anyone knew how I could isolate the code that is slowing it down? Is there a technique or a way through Visual studio?  Any help would be much apprieciated


@lec0456
Replies

PanagiotisCharalampous
06 Jun 2019, 17:41

Hi lec0456,

dotTrace is a nice tool for such investigations.

Best Regards,

Panagiotis


@PanagiotisCharalampous

abotrader
08 Jun 2019, 08:43

RE:

lec0456 said:

HI, I made some changes to my Bot and it has slowed down to a crawl. It takes 2 hrs to run 6 month of tick data. I was wondering if anyone knew how I could isolate the code that is slowing it down? Is there a technique or a way through Visual studio?  Any help would be much apprieciated

Hi,

I thanks that may be you can do a "Profiling with Diagnostics Tools in Visual Studio" ses a small video at https://www.youtube.com/watch?v=LhhGqNAGQHU

Best Regards,


@abotrader