You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐞 Bug Report: Stoploss Order Reflects Incorrect Quantity After Partial Take-Profit
Summary:
After executing a partial take-profit order, the corresponding stop-loss order displays an incorrect quantity that does not match the remaining position.
Steps to Reproduce:
1. Open a long position with a total quantity of 0.17 at market price (e.g., at 66223.8).
2. Set a limit take-profit order for a partial quantity (e.g., 0.09 at 67548.28).
3. Set a stop-loss order for the remaining position.
4. Allow the take-profit order to partially execute.
Expected Result:
After the partial take-profit is filled, the stop-loss quantity should reflect the remaining position (0.08 in this case).
Actual Result:
The stop-loss quantity remains -0.17, which is the original full position size, even though 0.09 has already been sold.
🐞 Bug Report: Stoploss Order Reflects Incorrect Quantity After Partial Take-Profit
Summary:
After executing a partial take-profit order, the corresponding stop-loss order displays an incorrect quantity that does not match the remaining position.
Steps to Reproduce:
1. Open a long position with a total quantity of 0.17 at market price (e.g., at 66223.8).
2. Set a limit take-profit order for a partial quantity (e.g., 0.09 at 67548.28).
3. Set a stop-loss order for the remaining position.
4. Allow the take-profit order to partially execute.
Expected Result:
After the partial take-profit is filled, the stop-loss quantity should reflect the remaining position (0.08 in this case).
Actual Result:
The stop-loss quantity remains -0.17, which is the original full position size, even though 0.09 has already been sold.
Screenshot Reference:
• Initial BUY: 0.17 @ 66223.8 (MARKET)
• Partial TAKE-PROFIT: -0.09 @ 67548.28 (LIMIT SELL)
• STOP-LOSS: -0.17 @ 59601.42 (STOP SELL) ❌ Incorrect — should be -0.08
To Reproduce
Orders set up code.
The text was updated successfully, but these errors were encountered: