A library for using the Connect API through Node.js

Created at 12 Jul 2021, 17:58
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!
vasile.peste's avatar

vasile.peste

Joined 07.06.2021

A library for using the Connect API through Node.js
12 Jul 2021, 17:58


Hello, I have created a library for using the Connect API through Node.js. If you want to use the Connect API in JavaScript this is the perfect solution for you. The library simplifies the communication by handling payloads and serialization/deserialization interally. This allows you to focus directly on your application business logic.

GitHub Repository

This is an example on how to establish a connection and authenticate your application:

Everything is intact and works perfectly as described in the Open API Documentation. My final mission is creating an ecosystem of open source software to operate in financial markets using TypeScript/JavaScript, and I would like cTrader to be the leading part. If you have any question on usage do not hesitate to leave a reply on this thread or open an issue on the repository!


@vasile.peste
Replies

PanagiotisCharalampous
13 Jul 2021, 11:00

Hi Vasile,

Thanks for your contribution, great work!

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous