Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 02:25:23 +0000



Post From: API to trade on Sierra and execute calls to cTraders

[2022-03-12 14:56:53]
1+1=10 - Posts: 270
Hi Tofer,

SC has a C++ library called ACSIL which includes functions for making HTTP Get/Post requests. To learn about using ACSIL you'll probably want to read the links in the order they appear here:
Table of Contents | (Advanced Custom Study/System Interface and Language (ACSIL))

If you're going to enter trades manually on SC or automatically using a non-ACSIL method, that you want copied over to cTrader, then in ACSIL you would need to access the Positions to decide which HTTP requests to make to cTrader to replicate the Position: Automated Trading From an Advanced Custom Study: sc.GetTradePosition

If you're entering trades automatically using ACSIL, then you would just call the HTTP requests when you make the orders to create the SC position.

NOTE: I'm assuming you'd be creating SC orders/trades/positions in simulation mode that would be copied to cTrader but you could also copy live SC orders/trades/positions.

HTTP Get Request from ACSIL: ACSIL Interface Members - Functions: sc.MakeHTTPRequest()

HTTP Post Request from ACSIL: ACSIL Interface Members - Functions: sc.MakeHTTPPOSTRequest()
Date Time Of Last Edit: 2022-03-12 14:57:41