cTrader Automat vs OpenAPI

Created at 05 Sep 2022, 21:09
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SE

sebastian.pitei

Joined 31.08.2022

cTrader Automat vs OpenAPI
05 Sep 2022, 21:09


Hello everyone,

This is my first post, so I'll try to introduce myself first: I'm a Net / Sys / Dev Admin & Ops with a formal education in programming that for the past year of so has been tinkering with MQL5 / MT5 trading robots (Expert Advisors as they are oficially called). Although I briefly enjoyed going back to the C/C++ days when writing the EAs I soon became frustrated with the lack of reliable external libraries (external DLL's are not really my cup of tea) and the fact that I need to keep a Windows machine (be it phyisical or virtual, it's still yet another thing to take care of) for the terminal.

I've discovered cTrader the last couple of weeks and reading throught the documentation I've discovered that I can either:

  1. use cTrader Automate and write something in C# (lightyears ahead of MT5) OR
  2. implement OpenAPI with ProtoBuf in my favourite language (python and Go are my candidates here)

And now I turn to the cTrader community for advice: what would be the best approach going forward? cTrader Automate or OpenAPI? Are there any obvious PROs and CONS to each?

Thx!


@sebastian.pitei
Replies

PanagiotisCharalampous
06 Sep 2022, 08:13

Hi Sebastian,

It really depends on your requirements. cTrader Automate is an API that is b built in inside cTrader Desktop and it's geared towards creating automated strategies and indicators. You cannot use it outside cTrader Deskop. On the other hand, Open API is a more low level but much more versatile API, which you can use to even build your own trading GUI. Just think that cTrader Desktop and cTrader Automate are built on top of an API similar to Open API. So depending on what you are looking to develop, you should choose accordingly.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

sebastian.pitei
07 Sep 2022, 23:18

Hi Panagiotis

Thanks a lot for your reply, I take it that there aren't / shouldn't be any differences between cTrader Automate and OpenAPI. In this case, I will use the latter, as it's much more flexible.

Regards,
Seb


@sebastian.pitei