Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 04:28:35 +0000



Post From: Different stop limit offset on primary and attached order in ACSIL ?

[2016-06-22 22:24:57]
wwwingman - Posts: 185
Hi

The s_SCNewOrder::StopLimitOrderLimitOffset sets the primary AND attached orders stop limits orders to the same offset.
Is it possible to have a different stop limit offset for the primary and attached orders ?
(it is possible in the dom settings but I don't see on ACSIL how to do that).

For ex:

// set entry target and stop
_order.Price1          = ...
_order.OrderType        = SCT_ORDERTYPE_STOP_LIMIT;
_order.OrderQuantity      = ...

_order.Target1Offset      = ...
_order.AttachedOrderTarget1Type  = SCT_ORDERTYPE_LIMIT;

_order.Stop1Price        = ...
_order.AttachedOrderStop1Type  = SCT_ORDERTYPE_STOP_LIMIT;

// set the stop limits offset
_order.StopLimitOrderLimitOffset = ... // PROBLEM : sets entry and stop to the same stop limit offset ...


Please advise..

-- W