Positions.Count is returning 0 inside Positions_Opened()
24 Aug 2024, 17:38
Dear cTrader Team,
I've noticed that Positions.Count is returning 0 inside Positions_Opened(). I've added some screenshots for your reference, as well as the cBot code, hoping you're able to reproduce this issue.
Should you require any additional information please let me know.
Unfortunately we were not able to reproduce the problem. Positions amount shows correctly for us
Best regards,
Panagiotis
Panagiotis,
Can you please check this under the same conditions (broker, symbol, etc) ?
This way you'll be (obviously) more likely to be able to reproduce the issue.
Remark: It has been already noticed in the past that many issues that applied to indices were not applicable to forex.
Thanks.
We did but with no luck unfortunately. We will keep it in mind though in case we stumble upon it in any other occasion
Panagiotis,
I really don't understand how you're not able to reproduce this issue.
Try the following backtest settings and let me know. Using the exact same cBot code and backtest settings I can't expect anything else than the same outcome.
Unfortunately we were not able to reproduce the problem. Positions amount shows correctly for us
Best regards,
Panagiotis
Panagiotis,
Can you please check this under the same conditions (broker, symbol, etc) ?
This way you'll be (obviously) more likely to be able to reproduce the issue.
Remark: It has been already noticed in the past that many issues that applied to indices were not applicable to forex.
Thanks.
We did but with no luck unfortunately. We will keep it in mind though in case we stumble upon it in any other occasion
Panagiotis,
I really don't understand how you're not able to reproduce this issue.
Try the following backtest settings and let me know. Using the exact same cBot code and backtest settings I can't expect anything else than the same outcome.
Unfortunately we were not able to reproduce the problem. Positions amount shows correctly for us
Best regards,
Panagiotis
Panagiotis,
Can you please check this under the same conditions (broker, symbol, etc) ?
This way you'll be (obviously) more likely to be able to reproduce the issue.
Remark: It has been already noticed in the past that many issues that applied to indices were not applicable to forex.
Thanks.
We did but with no luck unfortunately. We will keep it in mind though in case we stumble upon it in any other occasion
Panagiotis,
I really don't understand how you're not able to reproduce this issue.
Try the following backtest settings and let me know. Using the exact same cBot code and backtest settings I can't expect anything else than the same outcome.
PanagiotisCharalampous
26 Sep 2024, 05:15
Hi there,
Unfortunately we were not able to reproduce the problem. Positions amount shows correctly for us
Best regards,
Panagiotis
@PanagiotisCharalampous