Support Board
Date/Time: Wed, 22 Jan 2025 00:03:40 +0000
Post From: support for MIT orders with IB
[2018-08-08 06:42:31] |
onnb - Posts: 662 |
I am running code below. The result is a Limit order for the target Am I missing something? s_SCNewOrder order;
order.OrderQuantity = 1; order.OrderType = SCT_ORDERTYPE_MARKET; order.Target1Offset = 10; order.AttachedOrderTarget1Type = SCT_ORDERTYPE_MARKET_IF_TOUCHED; order.Stop1Offset = 10; sc.BuyEntry(order); |