Login Page - Create Account

Support Board


Date/Time: Sat, 28 Dec 2024 10:02:35 +0000



Post From: ACSIL - modify Trail and Trigger offsets for Triggered Trail Stop

[2016-02-19 22:14:16]
rhovega - Posts: 279
So I guess it is inputting NewOrder.Price1 = 32 as limit and thus executing at market.
But flipping the order as shown below generated no orders.
s_SCNewOrder NewOrder;
NewOrder.OCOGroup1Quantity = 1;
NewOrder.OrderType = SCT_ORDERTYPE_OCO_LIMIT_STOP;
NewOrder.TimeInForce = SCT_TIF_GTC;
NewOrder.Price1 = 31;
NewOrder.Price2 = 32;

Different issue, same outcome.
Date Time Of Last Edit: 2016-02-19 22:16:12