Support Board
Date/Time: Fri, 27 Dec 2024 15:50:01 +0000
Post From: sc.SellEntry and sc.SellExit for a STOP_LIMIT_ORDER
[2016-04-02 02:58:49] |
@sstfrederik - Posts: 404 |
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. |