Support Board
Date/Time: Sat, 10 May 2025 19:14:20 +0000
Auto trading stopped working
View Count: 1245
[2015-03-11 21:04:02] |
Shaharabin - Posts: 28 |
Hi there, I have a DLL study that auto-trade. My last trade was on 30.1.15 and worked perfectly. Today my system was suppose to generate another trade but this time nothing happened. I ran a back-test/replay to see if it still works as expected but there were no orders being generated where expected. My question is, did something change in the system with the recent updates? something that might affect my trading functions in the dll? My system is updated to the recent version 1237 Also, i use OEC Thanks, Shahar. |
[2015-03-12 03:59:46] |
|
You most likely will need to recompile your trading system on the current version of Sierra Chart. The Trade >> Trade Service Log will indicate this if it is necessary.
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 |
[2015-03-12 09:54:24] |
Shaharabin - Posts: 28 |
Nothing in the service log. Compiled anyway and re-ran the test - didn't help... Any ideas?... |
[2015-03-12 15:44:38] |
Shaharabin - Posts: 28 |
Well, I have an older version of SC installed (version 1137). I tested the same DLL with both versions; in the older one orders are being generated, no problems. in the new one nothing happens. somewhere along the way, between 1137 to 1237 you've incorporated some sort of a change that caused this to happen. |
[2015-03-12 19:17:14] |
|
We are going to write documentation for the procedure to troubleshoot/debug automated trading systems in ACSIL. We will need you to go through this procedure to isolate the problem. 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 |
[2015-03-12 20:04:50] |
Shaharabin - Posts: 28 |
Great! Any estimation of how long would it take to make that guide? Thanks |
[2015-03-12 20:10:44] |
|
It will not be any later than tomorrow morning.
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 |
[2015-03-12 20:48:15] |
Shaharabin - Posts: 28 |
Awesome! Thanks |
[2015-03-13 03:45:22] |
|
The documentation is here: https://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#DebuggingTradingSystems There has been a new feature added to return the actual text error message for a specific trading error code in ACSIL. Therefore, you need the very latest prerelease to use the code example given. To update to the prerelease select Help >> Download Prerelease. 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 |
[2015-03-13 10:33:10] |
Shaharabin - Posts: 28 |
Thanks! When compiling i got this: error: 'struct s_sc' has no member named 'GetTradingErrorTextMessage' sc.AddMessageToLog(sc.GetTradingErrorTextMessage(Result), 0); ^ |
[2015-03-13 10:46:31] |
|
Did you do Help >> Update Prerelease to install the latest prerelease?
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 |
[2015-03-13 10:52:08] |
Shaharabin - Posts: 28 |
That did the trick, I got the following message: #1: SendOrdersToTradeService is not consistent with global Trade Simulation Mode setting. Order action ignored. |
[2015-03-13 10:56:14] |
Shaharabin - Posts: 28 |
So i unchecked the "SendOrdersToTradeService" and now it worked on Demo But other than that i didn't really do anything to the code or the system, so why should it work on real trading now?... Should i just wait for the next real trade and look at the log? |
[2015-03-13 17:16:37] |
|
Refer to the documentation here for this: https://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#SimulationToLive 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 |
To post a message in this thread, you need to log in with your Sierra Chart account: