Why don't you use an external IDE like Visual Studio instead? I don't think the team will invest time in reinventing the wheel.
Best regards,
Panagiotis
I do it, and although it improves things like IntelliSense, the management of duplicated code between bots doesn't get better since each bot is a solution, as I mentioned in the previous post. If there were a way to make each bot a project instead of a solution, then the development experience could be greatly improved. And if there is a way, I'm not aware of it.
No it is not possible, however you can reference shared projects across many solutions, if this is what you are looking for.
I'm trying to create a shared Library to use across my indicators and cBots, I can't stand replicating or copying code.
I decide to follow you recommendation of using a Shared Project. I have a couple questions:
1- Do you recommend having a single Git Repo for all Indicators and cBots, I mean creating the repo under <USER_HOME>\Documents\cAlgo\Sources or Should I setup 1 project per indicator?
2-If 3 indicator are all using the same shared Project, Do I need to create that sharedProject with the Solution of 1 Indicator or cBot and reuse in others?
I noticed that if the SharedProject isn't located within a specific location the AlgoHost.exe proecess crashes with error of not having access to the SharedProject folder. Which folder under under <USER_HOME>\Documents\cAlgo\Sources the SharedProject must be to prevent this?
Thanks.
Would be great i you could provide a sample of 2 indcators and 2 cBots using a shared project.
Hi there,
Unfortunately there is no correct answer to your questions as it all depends on your own requirements.
I could not reproduce such a behavior. Please restart cTrader and make sure there is no cBot running. If it persists, please record a video demonstrating this issue.
If you can send us troubleshooting information when this happens again it will help us investigate.
Best Regards,
Panagiotis
Hi I am logged into only one instance of CTrader. On my desktop. I am getting the exact same message as the original poster. I am running three optimizations on different stocks. I am running no bots. I am getting the same message every minute or so.
Hi there,
This is a 5 years old thread so definitely not related. Please create a new thread regarding this issue.
To be fair, it looks to me that a lot of progress has been made here lately :
The RAM usage in time seems to be much more stable, even with cBots running. I am now able to keep cTrader open for weeks without noticing any relevant increase in memory usage.
Although there is always room for refinements, the improvements are clear.
@Panagiotis
Do you confirm that significant improvements to memory management have been performed lately?
Please always be mindful of any memory leaks when adding new features/tools, as this is crucial for the overall platform stability.
Hi ncel01,
We do performance improvements on almost every update
Hi Panagiotis,
I mean major improvements, as this seems to me to be the case. I'd just like to be aware.
Hi ncel01,
I am not sure how to answer your question. We do improvements and refactoring all the time. Depending on how you use cTrader, the impact could be major or minor. It is normal that after every major update, the following hotfixes and updates will deliver bug fixes and performance improvements to the major release. So from 5.0.0 to 5.0.40 is all about fixes and improvements.
Not quite the same but similar…I'm using cTrader through FTMO and I want the spread to show up as, in this case, 2.9 and not .29. This also affects my protection settings as well. Is there a way that we can adjust that or is this something locked down by the broker?
PanagiotisCharalampous
04 Nov 2024, 07:26
RE: RE: RE: RE: Proposal: Improved Project Structure for cBots Development in cTrader
serge.owonaokoa said:
Hi there,
Unfortunately there is no correct answer to your questions as it all depends on your own requirements.
Best regards,
Panagiotis
@PanagiotisCharalampous