-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using "Close position" function I dont get a green fill notification #5110
Comments
Per @barnabee My thoughts are:
|
4 tasks
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
A clear and concise description of what the bug is.
Steps to Reproduce
Expected behavior
You should get the normal green fill toast to indicate your order has been filled and the positon is closed.
Instead I get this "ORDER STOPPED" toast even though the order did go through and my positoin is now closed.
We think this is due to a change @macqbat made to use a massive reduce only order for this instead of using an order matching the size of the position. We think this was done to address some edge case where if an open order traded just before you closed the position you might not completely close out your full position.
In my view that is an acceptable edge case ... if you are using close position and you have open orders, you should check after you've pressed the button if there's anything left and close again if something has carried over. This minor edge case is preferable to everyone seeing these really high values and / or trying to now build handling for them. We should roll this change back.
Agreed approch (Now challenged by Barney)
New agreed approach (Barney)
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: