Support Board
Date/Time: Thu, 16 Jan 2025 19:48:43 +0000
how does sc.SendOrdersToTradeServiceWork?
View Count: 1743
[2017-11-20 20:40:54] |
User30743 - Posts: 365 |
helo. tmy question is the one like the title - how does sc.SendOrdersToTradeServiceWork? the thing is that i have written a trading system and i want to send orders LIVE. but whenever my platform is at the LIVE mode, and when the signal for entry appears, the platform doesnt open trade, instead it writes Send Orders is not consistent with Trade >> > etc. how is it it is not consistent? i have designed in in my code as and input (see the screenshot) - and in the input there is YES send orders to trade service! (see the other screenshot) so why it doesnt send? why it keeps telling me IT IS NOT CONSISTENT? can you please tell me what is the problem with the inconsistency? because it is drivng me crazy, i have been stucked with it for couple of days already. i have a new version of sierra. i need a siple clear answer, not a link to a hundreds of lines describing something about acsil auto trading - i have read it all. i need clear simple answer what makes this INCONSISTENCY and how to make it send the orders live thank you Date Time Of Last Edit: 2017-11-20 20:42:53
|
input code.png / V - Attached On 2017-11-20 20:40:26 UTC - Size: 35.59 KB - 389 views send orders live.png / V - Attached On 2017-11-20 20:40:37 UTC - Size: 135.12 KB - 414 views |
[2017-11-21 02:48:13] |
Sierra Chart Engineering - Posts: 104368 |
This is explained here: Automated Trading Management: SendOrdersToTradeService 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 |
[2017-11-21 08:39:11] |
User30743 - Posts: 365 |
ok this is what i have read, and this is how i have it. my global Trade Simulation Mode is OFF, and SendOrdersToTradeService is set to Yes/TRUE. you can see it from the screenshot, on the left upper corenr there is no (SIM) - that means Trade Simulation Mode is OFF but it doenst send the orders and it keeps saying SendOrdersToTradeService is not consistent with global Trade Simulation Mode setting. Order action ignored. why? |
siera live.png / V - Attached On 2017-11-21 08:37:55 UTC - Size: 103.35 KB - 345 views |
[2017-11-21 09:22:55] |
Sierra Chart Engineering - Posts: 104368 |
We see what the problem is. You need to move the line that sets: sc.SendOrdersToTradeService To below the sc.SetDefaults code block. Not within it. We have updated the documentation to explain 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 Date Time Of Last Edit: 2017-11-21 09:25:22
|
[2017-11-21 14:28:55] |
User30743 - Posts: 365 |
what? i dont understand.. can u send me a link with the updated documetation pls
|
[2017-11-21 17:35:58] |
Sierra Chart Engineering - Posts: 104368 |
You need to move the line that sets: sc.SendOrdersToTradeService to below the sc.SetDefaults code block. Not within it. This is a very clear and understandable statement. You should not need anything more. We cannot provide 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, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2017-11-21 21:48:38] |
User553714 - Posts: 184 |
Wouldn't this apply to the other Trading User input control functions the user listed in his original code; these should all be listed outside the SetDefaults block if user input changes are to take affect?
|
[2017-11-21 21:56:58] |
Sierra Chart Engineering - Posts: 104368 |
these should all be listed outside the SetDefaults block if user input changes are to take affect? Yes.
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 |
[2017-11-21 22:01:09] |
User30743 - Posts: 365 |
in each of the examples in tradingsystems.cpp this line sc.SendOrdersToTradeService is within the sc.SetDefaults code block.
|
[2017-11-21 22:20:29] |
Sierra Chart Engineering - Posts: 104368 |
But it is being set to a fixed value. Not through an Input.
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 |
[2017-11-23 11:14:11] |
User30743 - Posts: 365 |
ok, now it works
|
To post a message in this thread, you need to log in with your Sierra Chart account: