Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 15:27:30 +0000



Post From: How to repeat HTTP Requests within a study?

[2017-08-14 13:44:18]
Sierra Chart Engineering - Posts: 104368
Is there a way to execute repeated sc.MakeHTTPRequest calls from within the same study?
You for sure can do this. If this is not happening, then there must not be another call to sc.MakeHTTPRequest. You need to perform step-by-step debugging to see what is going wrong:
https://www.sierrachart.com/index.php?page=doc/DebuggingDLLs.html


You definitely cannot use Sleep. You just need to keep track of the time that a request was last made, compare it to the current time and make one every hour. You could store that value in a persistent variable. Refer to:
sc.GetPersistentInt()
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
Date Time Of Last Edit: 2017-08-14 13:45:18