cTrader Automat vs OpenAPI
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:
- use cTrader Automate and write something in C# (lightyears ahead of MT5) OR
- 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!
Replies
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
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