Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 22:41:47 +0000



[Programming Help] - Using ASCIL to call a restful API server

View Count: 577

[2023-06-22 21:48:40]
Mark Sear - Posts: 43
* Apologies if this is a duplicate - I asked this earlier but Chrome died on me and I cant see it anywhere, so will post again. *

Background

I have a restful API server.
This hosts some custom models I have built to score trades.
The score is created by a Java routine (see attached Java file).
I wish to pass data to the server via HTTP and receive back a "score" for the trade.
I want to score only at the end of every candle.
On the basis of the score I want to either (a)trade short (b) trade long (c) do nothing

Ideally, I want to execute the trades (and pass the data to the scoring server) from the spreadsheet as this is fast and is an easy way of me getting all the data together to pass to the scoring server.

I believe this is possible - but can you confirm it is, please?

Alternatively, I can score by converting the Java to am ASCIL file (I am guessing) but as I have a lot of these calling a rest API is much faster and easier for me to do than creating a lot of different ASCIL routines.

Thank you, and apologies if this is a duplicate.

My alternait
Private File
[2023-06-23 19:14:56]
Sierra_Chart Engineering - Posts: 17198
ACSIL does support HTTP requests:
sc.MakeHTTPRequest()

We cannot provide any further help.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account