Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Fri, 29 Nov 2024 14:44:35 +0000



One-legged bracket (i.e. parent and stop only)

View Count: 4119

[2018-01-22 20:16:19]
AndrewAMD1 - Posts: 31
Hi,

I was wondering if it is possible to do a bracket without a target order, and if it's ever supported server-side.

Common example:

Parent order: Buy 1 lot to open, market.
Child order: Sell 1 lot to close at a certain price, stop.
Parent order triggers child order.

I'm asking because the DTC documentations only seems to talk about two children in an OCO configuration.

Thanks.
Date Time Of Last Edit: 2018-01-22 22:36:33
[2018-01-23 21:29:55]
AndrewAMD1 - Posts: 31
I am now realizing that the OCO message is actually two orders bundled in one message (instead of requiring two separate OCO messages as I thought).

So is this the procedure to accomplish what I want?

* Submit parent order
* Submit OCO **message** for two child orders: one **dummy** limit order, and one stop order.
* Cancel the **dummy** limit order. Parent and child still remains.
[2018-01-24 06:01:11]
DTC Engineering - Posts: 320
I was wondering if it is possible to do a bracket without a target order, and if it's ever supported server-side.

Common example:

Parent order: Buy 1 lot to open, market.
Child order: Sell 1 lot to close at a certain price, stop.
Parent order triggers child order.
No, this is not supported.


So is this the procedure to accomplish what I want?

* Submit parent order
* Submit OCO **message** for two child orders: one **dummy** limit order, and one stop order.
* Cancel the **dummy** limit order. Parent and child still remains.
Yes. This should work. We would not expect a problem.
Date Time Of Last Edit: 2018-01-24 06:01:27

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

Login

Login Page - Create Account