Earendur

Info
Username: | grandom |
Name: | Earendur |
Member since: | 17 Jun 2022 |
Favorite symbols:
About
Signature
Last Forum Posts
@Simple way to licence cBot: 15 Sep 2022, 23:35
Check that License Generator
It binds the cBot to cTrader account using user ID number which is obtained by this indicator
@Backtesting data issues: 12 Sep 2022, 22:29
Hi Lisa,
Need to discuss a coding thing with you if you don't mind. As I don't have a way to contact you please pm at Telegram
Thanks
@Backtesting is not running on Macbook in Parallels: 12 Sep 2022, 22:21
@Total of unrealized net: 06 Sep 2022, 07:22
PanagiotisCharalampous said:
Hi aranath,
Can you share parameters and dates? I have a hard time reproducing this.
Best Regards,
Panagiotis
Ok here we go.
The parameters are saved on file uploaded on https://drive.google.com/file/d/1wYawUXzcb9VP9-ZHp887SOM5kZU1PFQD/view?usp=sharing
and can be used on the cBot previously mentioned.
Backtest settings as shown in picture below
Backtest time frame: 5 min
Backtest start date: 8/3/2022
Examples of end dates that will generate positions of faulty unrealized net total:
14/03/2022
16/03/2022
18/03/2022
21/4/2022
22/4/2022
21/05/2022
31/07/2022
After cTrader team checks that, it will be necessary to check the same thing for the optimization engine, whether the unrealized net of open positions is faulty for optimization engine or not. If both engines share the same block of code responsible for the calculation of unrealized net, then such step won't be necessary, well the team knows better the whole picture and how such bug links to other components and the impact on other features, I think you get my point.
@Total of unrealized net: 05 Sep 2022, 15:53
PanagiotisCharalampous said:
Hi aranath,
Can you share parameters and dates? I have a hard time reproducing this.
Best Regards,
Panagiotis
Sure but still at work atm when i get back will share them with you
@Total of unrealized net: 05 Sep 2022, 13:09
PanagiotisCharalampous said:
Hi aranath,
Can you share some code that will allow us to reproduce this behavior?
Best Regards,
Panagiotis
https://ctrader.guru/?repository=ema-power&category=cbots
Allow more than 1 trade, 5 or 10, the key thing is to have possibility to have multiple open positions at the end of a backtest.
Any cBot may have this possibility as long as no restriction is imposed on max number of positions allowed at any moment.
@Total of unrealized net: 05 Sep 2022, 11:43
PanagiotisCharalampous said:
Hi aranath,
Which cTrader version do you use?
Best Regards,
Panagiotis
Latest versions in both spotware and fxpro, same bug in both.
Not on my desktop atm, but spotware is 4.3.something and fxpro is 4.2.something
@Total of unrealized net: 05 Sep 2022, 08:55
Greetings,
As shown below, in backtesting, the total of unrealized net gives wrong value sometimes, and correct value sometimes.
Producing such behavior is simply by choosing different end dates and check the number, while of course the cBot must have the ability to open multiple positions at the same time.
For easing things, when positions are too many just move to another date so you can manually check the value.