Login Page - Create Account

Support Board


Date/Time: Fri, 20 Jul 2018 10:53:50 +0000



Trade Order Matching Error

Support Request:
[2017-12-06 10:14:28]
aydex - Posts: 110
Hi,

Followed the instructions here
https://www.sierrachart.com/index.php?page=doc/AttachedOrders.html#OrderQuantityMatching

but once the order is to be filled (no fill occurs,) the green match notification goes red, and seeing this error

Trade Order Error: The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders.

I am using the supplied "2TargetsWithCommon Stop" twconfig, with no mods except to change Main window qty to 2.

I have set
Allow Multiple Entries in Same Direction
to Yes in the spreadsheet study.

Are there any other limiters to the qty?
[2017-12-06 10:23:30]
Sierra Chart Engineering - Posts: 61914
This just means you cannot use 2 Target orders if the parent order quantity is 1. Remove one of the Target orders. This is very simple. This is not hard to understand.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2017-12-06 10:23:49
[2017-12-06 10:38:22]
aydex - Posts: 110
Sorry I wasn't clear, to restate:

Changed Main window qty to 2, to match the two targets.
Assumed that increasing the Main window qty is an alternative to decreasing one of the Target orders?

Wanting 2 target orders,
just like this example
https://www.sierrachart.com/index.php?page=doc/AttachedOrders.html#AttachedOrdersExample2
(and in "2TargetsWithCommon Stop")

Would understand if during the setup its was red, but it doesn't go red until the fill is expected.
[2017-12-06 18:50:40]
Sierra Chart Engineering - Posts: 61914
You need to set the quantity of 2 on the Spreadsheet Sheet itself:
http://www.sierrachart.com/index.php?page=doc/SpreadsheetSystemsAlertsAndAutomatedTrading.php#CellJ26


It sounds like it is set to 1 and when the order is submitted from the Spreadsheet, is when the Trade Window updates.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

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

Login


Login Page - Create Account