Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 10:52:47 +0000



sc.BuyEntry = -1

View Count: 1066

[2014-09-01 18:00:48]
User33803 - Posts: 40
When I call the functions sc.BuyEntry or sc.SellEntry they return the value -1 which I assume that it is an error code and the order is not sent. I cannot find that error code in the documentation. Can you help me to find out what is going on?

The errors which come in the documentation(SCT_SKIPPED_DOWNLOADING_HISTORICAL_DATA, SCT_SKIPPED_FULL_RECALC, etc) are in the [-8999, -8995] range.

Could you, please, tell me what error corresponds to the value -1?



Date Time Of Last Edit: 2014-09-01 18:01:36
[2014-09-01 18:17:27]
Sierra Chart Engineering - Posts: 104368
The SCTRADING_ORDER_ERROR (-1) constant is documented here:
http://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#TRADINGERROR

If you see a case where you get this error, and there is no corresponding message added to the Trade >> Trade Service Log, we need to know about that and be given an example to duplicate 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
[2014-09-01 18:20:00]
User33803 - Posts: 40
I will investigate.

Thank you.

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

Login

Login Page - Create Account