Login Page - Create Account

Support Board


Date/Time: Wed, 08 May 2024 14:31:07 +0000



website API error

View Count: 764

[2018-12-20 09:16:59]
User474744 - Posts: 22
Hi, I'm looking into the possibility of retrieving my trade order fills from the website API but I'm getting the following error when trying to do this. Is there something I need to enable on my account to allow this? Can you advise please?

ERROR: Call not supported. Contact Sierra Chart support (support@sierrachart.com) for help with this.

HTTP/1.1 200 OK
Vary: Accept-Encoding
X-XSS-Protection: 1; mode=block
X-Frame-Options: DENY
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 101
Content-Type: text/html; charset=UTF-8
Date: Thu, 20 Dec 2018 09:09:31 GMT
Server: Apache
[2018-12-20 15:27:32]
Sierra Chart - Max - Posts: 5608
Can you provide more details on what you are actually doing.
Sierra Chart Support
[2018-12-20 16:03:55]
User474744 - Posts: 22
I'm trying to connect to the webapi using a POST method from a windows powershell client using the information on your site at Sierra Chart Website APIs

The powershell code I'm using is below, replacing myusername and mypassword with my account details

$postParams = @{AdminUsername='myusername';AdminPassword='mypassword';
UserSCUsername='myusername';Service='GetTradeOrderFills';
StartDateTimeUTC='2018-12-20 00:00:00'}
Invoke-WebRequest -Uri https://www.sierrachart.com/API.php -Method POST -Body $postParams
[2018-12-20 17:31:04]
Sierra Chart Engineering - Posts: 104368
For this to work your Sierra Chart account has to be authorized for this functionality and the order fills need to be uploaded to the web server:
Global Trade Settings Windows: Send Order Fills to SC Web Server (Global Settings >> General Trade Settings >> General)
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-12-20 17:41:54]
User474744 - Posts: 22
How is an account authorised for that?
[2018-12-20 18:08:21]
Sierra Chart Engineering - Posts: 104368
We really do not think there is any advantage for you to use this feature. You can access the order fills in the Trade Activity Log:

Trade Activity Log

And export them:
Trade Activity Log: Importing and Exporting Data
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-12-20 18:23:38]
User474744 - Posts: 22
I'm not sure why you say you think it would be of no advantage to me when you don't know what I'm trying to achieve or why.

I assumed based on the fact it's in your documentation it was a service you offered?
[2018-12-24 22:05:56]
Sierra Chart Engineering - Posts: 104368
If you want access to this, we can do that. We just have to go through some set up on our side for this.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-12-26 02:10:53]
Sierra Chart - Max - Posts: 5608
@User474744, we have updated the API to allow users to request data for their own accounts.

Refer to the updated documentation here:

Sierra Chart Website APIs: Specifications
Sierra Chart Support

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

Login

Login Page - Create Account