seeking help to develop my first cBot
24 Oct 2023, 02:19
I have been using online AI to write the code for my cBot, however I am stuck with trying to set buy and sell limit orders to execute my trades.
chatGPT had this to say … I apologize for the confusion. In cAlgo, it appears that the SubmitOrder function is not available in the cAlgo.API namespace, which is causing the errors. Unfortunately, without access to the specific cAlgo API and the exact version you are using, it's challenging to provide the exact method or class for order submission.
To resolve the issue, I would recommend checking the official cAlgo documentation or reaching out to the cAlgo community or support for guidance on how to place limit orders or market orders in your particular version of cAlgo. The correct method for submitting orders may vary depending on the version and specific configurations of the trading platform.
PanagiotisChar
24 Oct 2023, 07:11
Hi there,
Check this video explaining all the trading operations in cTrader Automate
@PanagiotisChar