Describe the bug
This issue was noticed while testing a grid_executor in Condor with keep_position=true. After the grid had fills, stopping it from the main Executors page preserved the retained position correctly, and the position data shown in Condor matched the exchange.
When the same kind of filled grid was stopped from the trade page bottom Executors tab instead, it ended with EARLY_STOP instead of holding the position. By design, the trade page stop did not respect the expected position-hold behavior, even though the executor was created with keep_position=true. This makes the trade page misleading because it looks like the same stop action, but it behaves differently from the main Executors page.
Steps to reproduce
- Create a
grid_executor in Condor with keep_position=true.
- Let the grid receive at least one fill so there is a position to retain.
- Stop the executor from the main
Executors page and confirm the retained position appears correctly.
- Create or run another filled grid with the same
keep_position=true behavior.
- Stop the executor from the trade page bottom
Executors tab.
- Compare the result from the trade page stop with the result from the main Executors page stop.
Attach required files
n/a
Describe the bug
This issue was noticed while testing a
grid_executorin Condor withkeep_position=true. After the grid had fills, stopping it from the mainExecutorspage preserved the retained position correctly, and the position data shown in Condor matched the exchange.When the same kind of filled grid was stopped from the trade page bottom Executors tab instead, it ended with EARLY_STOP instead of holding the position. By design, the trade page stop did not respect the expected position-hold behavior, even though the executor was created with keep_position=true. This makes the trade page misleading because it looks like the same stop action, but it behaves differently from the main Executors page.
Steps to reproduce
grid_executorin Condor withkeep_position=true.Executorspage and confirm the retained position appears correctly.keep_position=truebehavior.Executorstab.Attach required files
n/a