Order Execution Error : Nothing to change
Order Execution Error : Nothing to change
21 Nov 2024, 06:53
How do we capture in logs what's causing this error?
I'm running bots with multiple instances, and I haven't found this error in any of the logs.
Nor does it seem to be returned when checking a TradeResult object for error messages (unless I'm doing that wrong).
Is this error captured anywhere so we can analyze or at least see what values and bot instances are causing it?
I saw this thread:
https://ctrader.com/forum/cbot-support/13607/
and I understand it could be a rounding issue. But again, I need to be able to log and find out where it's happening as I have lots of places in code where price/position could be updated/modified.
Thank you.
PanagiotisCharalampous
21 Nov 2024, 08:50
Hi firemyst,
Can you share the code you are using so that we can see what you are doing? The below should work
Best regards,
Panagiotgis
@PanagiotisCharalampous