AWS chalice rest API

Created at 21 Jun 2023, 14: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!
DA

daytrayding.andreas

Joined 19.05.2022

AWS chalice rest API
21 Jun 2023, 14:58


Hi, 

I am trying to use AWS chalice net server for GET alert sign from Tradingview that is connected with a webhook,  the server page reads in JSON (brackets) format and will then POST to a Python script where i am planning to execute orders that will be sent to Ctrader. The problem is

1. Python script for connecting with credentials?

2. Python script that executes orders?

Have someone done any similar to this?

In the example below i use Alpaca as the broker, but looking for a similar layout for Ctrader. SO DOES ANYONE HAVE PYTHON CODES THAT CAN REPLACE THE MARKED IN RED THAT IS FOR ALPACA?

Thanks for any replies. 


@daytrayding.andreas