Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 21:09:30 +0000



Post From: MOVETO_BE_ACTION_TYPE_OCO_GROUP_TRIGGERED - modify error shows in log

[2019-08-01 17:23:15]
onnb - Posts: 662
We have an ACSIL trading study that enters with multiple OCO groups.
We use MOVETO_BE_ACTION_TYPE_OCO_GROUP_TRIGGERED

Snippet looks like this

order.MoveToBreakEven.Type = MOVETO_BE_ACTION_TYPE_OCO_GROUP_TRIGGERED;
order.MoveToBreakEven.BreakEvenLevelOffsetInTicks = 0;
order.MoveToBreakEven.TriggerOCOGroup = OCO_GROUP_1;


When 1st target gets filled, SC modifies and cancels the paired stop order at the same time.

So it generates a message in the log which users complain about:

Order modification failed | SC Futures Order Routing/Data order update (Order cancel/replace reject). Info: Order modification failed | Order is not in a working state. Order cannot be modified. Text: Attached order. Parent: xxxx. Internal Order ID: xxxx. Service Order ID: xxxxx. Symbol: CLU19_FUT_NYMEX. Account: xxxx | 2019-07-29 05:40:33.245 *

Does that make sense?
Date Time Of Last Edit: 2019-08-01 17:24:22