c# - WebSocket Server -Python communication

Created at 20 Aug 2024, 17:52
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!
ZY

zytotoxiziteat

Joined 04.08.2021

c# - WebSocket Server -Python communication
20 Aug 2024, 17:52


Hello, I dont really understand the relationship between OpenAPI Python yet. I asked AI to provide me a communication between ctrader and python and it came up with a websocket server. Since I like the idea to create a server on my local machine which acts as a middleman between my Python application and c# I kind of went on with it. 

My question is: Am I on the right path or is there an easier way to include/use Python application in ctrader?   

Thank you!


@zytotoxiziteat
Replies

PanagiotisCharalampous
21 Aug 2024, 05:04

Hi there,

Have a look at the sample below, you might find it helpful.

https://github.com/spotware/OpenApiPy

Best regards,

Panagiotis


@PanagiotisCharalampous