Support Board
Date/Time: Mon, 20 Jan 2025 11:12:22 +0000
Post From: ATM leaving buy/sell orders after targets are filled
[2018-06-01 04:54:55] |
User357598 - Posts: 6 |
Thanks for the response. After a few additional hours of troubleshooting I figured it out: The first target (further away) was assigned to OCO group 1 and the second target (closer) was assigned OCO group 2. I simply reversed things so that OCO group 1 was assigned to the closer target and OCO group 2 was assigned to the more distant target. The problem existed because: Although add-ons were added to the closer TARGET the STOPS for the add-ons were added for the second target. Hence when the first target was hit, all add-ons were covered but excess buy/sell stops were left over. And when the final target was hit the excess buy/sell stops remained -- and could be filled if price reversed (not cool). I don't know if this would be considered a bug or a misconfiguration on my end. Here's the steps to reproduce, if it helps: STEPS TO REPRODUCE ------------------- 1 - Create target 1 at 50 ticks away and assign to OCO Group 2 2 - Create target 2 at 10 ticks away and assign to OCO Group 1 3 - Create a 10 tick "stop: stop" assigned to "all OCO Groups" 4 - Save config 5 - Enter long and quickly add on 6 - First target is assigned 3 contracts and second target is assigned 1 contract 7 - ?? > First target is reached but 3 sell stops remain. EXPECTED > 1 sell stop remains 8 - Second target is reached and 2 sell stops remain 9 - Price reverses and sell stops are filled |