Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 07:58:43 +0000



Post From: Approach to adjust attached orders of either side of an OCO order

[2016-08-13 17:47:11]
@sstfrederik - Posts: 403
Hi,
I am looking to an approach to change have different attached orders to an OCO order.

I am working with SCT_ORDERTYPE_OCO_BUY_STOP_LIMIT_SELL_STOP_LIMIT.

The goals is to have one set of Targets and stops as attached orders for the BUY_STOP_LIMIT and a different set for the SELL_STOP_LIMIT. I guess right now the only approach would be to modify each individual order after the OCOorder has already been submitted.

Would it be possible to add a different way of dealing with OCO orders in Acsil? For instance define each side of the OCO order separately as a different order and than combine the two orders to be used as an OCO pair? This would make this far easier to implement.

Any other approaches are appreciated. Thanks. Frederik