websockets

Created at 06 Sep 2024, 12:36
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!
swingfish's avatar

swingfish

Joined 25.06.2016

websockets
06 Sep 2024, 12:36


i added Realtime equity and drawdown tracking to my helper app.

this allows interfacing with external devices and even websites.
the picture shows a realtime equity display on the apple Watch as a example.
and a realtime display (loaded via ajax) on the website.

i accomplish this by writing a tmp-file which is served by xaamp .. i would like to bypass the need for additional webservices.

a websocket service that provides a json response would be great for somethings like that,

is there a way to accomplish somethings like this in ctrader?

 


@swingfish
Replies

PanagiotisCharalampous
09 Sep 2024, 05:50

Hi swingfish,

You can use Open API to achieve this.

Best regards,

Panagiotis


@PanagiotisCharalampous