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
Shouldn't it be either canceling or settling? In what way does it make sense to settle a canceled order?
Because if you cancel and do not settle the funds, your funds become locked, and you can't reuse it to place a new order.
So it would be better to have an option that cancel the order but automatically free the funds for reuse.
How can we cancel and settle the funds for just only one specific order at once? Preferably in an atomic method?
For example, we have this documentation here:
https://github.com/project-serum/serum-ts/tree/master/packages/serum
But we only have the option to cancel an order separately and then settle the funds for all of the orders for a market, with two API calls.
How can we do that using just one method that would guarantee to us that the order was canceled and the funds have returned?
The text was updated successfully, but these errors were encountered: