Support Board
Date/Time: Wed, 27 Nov 2024 10:51:34 +0000
Post From: Best way to reduce position size - ACSIL Unmanaged Automated Trading
[2023-08-19 13:54:30] |
User345137 - Posts: 1 |
Hey Support - I've tried a few different things trying to get this to work, and maybe I'm going around in circles. I have a Long position (greater than 1) with an OCO for Stop and Target. I would like to be able to reduce this position down in size at a certain point in time or condition, and keep the OCO. The study is set for Unmanaged Automated Trading. If I use a BuyExit I get the reduction but lose the OCO. If I use a SellEntry or SellOrder nothing happens, and I get an error in the Trade Services log... "SellEntry | Bar start date-time: 2023-07-18 14:55:00.000 | SellEntry signal is ignored because Long position quantity or working Buy order exists. Position with working orders quantity: 0 | 2023-08-19 08:28:05.611" I am sending the reducing order as OrderType Market with the quantity set for the number of contracts I would like to reduce it by. Please let me know if this should be working or doable... if not I will look for another method to reduce position. Thanks for your time. |