Create position using python script with "requests" library

Created at 20 Jan 2025, 19:47
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!
YS

ystelling

Joined 11.01.2025

Create position using python script with "requests" library
20 Jan 2025, 19:47


Hello together, 

is here anyone in the forum who was able to create a position with a python script using the "requests" library? I was already able to load account and profile information this way. But I am struggling trying to create a position. I was able to do that with the "websockets" library, but my plattform I want to use is not supporting "websockets". 

So I would like to know if it's basically possible to create positions using "requests" or if must use "websockets"? 

Would be very nice if someone is able to support me. At first by knowing if it should be basically possible or I can stop my developments and think about another solution design.

Thanks a lot, Yannik ✌️


@ystelling