Support Board
Date/Time: Thu, 15 May 2025 00:28:42 +0000
Post From: sc.SellEntry and sc.SellExit for a STOP_LIMIT_ORDER
[2016-04-02 02:58:49] |
@sstfrederik - Posts: 406 |
I had a sc.SellEntry(myorder) filled as a stop limit order. two orders were attached, one limit order and one trailing stop. When sc.SellExit(myorder) gets called a few bars later the attached orders are cancelled. The order that should flatten the position is not doing that. The buy stop limit that is send has a price1 of 0. Therefore it keeps the sell position open. What am I missing here? thanks. |