Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 09:56:29 +0000



Support for different order quantity between sides of OCO orders

View Count: 774

[2016-09-07 13:35:54]
@sstfrederik - Posts: 403
Is it possible to add support for different quantity settings between OCO orders.

by creating members:
s_SCNewOrder::OrderQuantity_2
s_SCNewOrder::OCOGroup1Quantity_2
s_SCNewOrder::OCOGroup2Quantity_2
s_SCNewOrder::OCOGroup3Quantity_2
s_SCNewOrder::OCOGroup4Quantity_2
s_SCNewOrder::OCOGroup5Quantity_2
[2016-09-07 17:16:04]
Sierra Chart Engineering - Posts: 104368
No, the quantities must be the same for OCO orders.


If you want to do something like this, you will need to submit each side of the OCO order separately with its own quantity.
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
[2016-09-07 18:27:45]
@sstfrederik - Posts: 403
The reply to another post I made, made me think this was not possible.
Do you have an example how this is done?
Thanks.
[2016-09-07 19:20:58]
@sstfrederik - Posts: 403
I am working with SCT_ORDERTYPE_OCO_BUY_STOP_LIMIT_SELL_STOP_LIMIT.

I would like to set different order quantities for the BUY side and the SELL side of this order.

The only way I possibly see is by issuing this OCO order and than immediately modify the quantity of one side of the order. This will give issues with modifying attached orders, and risk of these modifications being delayed. Not pretty. I'd rather have the order out at once and not unnecessarily modify them.

Any other way to accomplish this?
Date Time Of Last Edit: 2016-09-07 20:15:45
[2016-09-08 05:11:42]
Sierra Chart Engineering - Posts: 104368
You just need to submit a Buy Stop Limit order and Sell Stop Limit order separately each with their own Attached Orders.
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
[2016-09-08 10:29:57]
@sstfrederik - Posts: 403
And how is the OCO between these orders done? I would have to cancel it myself when one of these orders is filled?
[2016-09-08 10:40:35]
Sierra Chart Engineering - Posts: 104368
I would have to cancel it myself when one of these orders is filled?
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
[2016-09-08 10:42:13]
@sstfrederik - Posts: 403
Ok. Will set that up. Thanks for clarifying.

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

Login

Login Page - Create Account