Support Board
Date/Time: Sun, 12 Jan 2025 15:32:01 +0000
Post From: My Limit order does not cancel and the end of the trading day
[2017-02-19 12:38:58] |
User953407 - Posts: 5 |
SCNewOrder NewOrder; NewOrder.OrderQuantity = 1; NewOrder.OrderType = SCT_ORDERTYPE_MARKET_IF_TOUCHED; NewOrder.TimeInForce = SCT_TIF_DAY; NewOrder.Price1 = fPivotPoint; I am using the piece of code above to set up a market if touced order which I would like to be cancelled at the end of the trading day. Unfortunately my order is not cancelled. Any ideas why? |