How does Monaco Protocol handle partially matched orders? #62
-
|
Let's say the following happens: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @lbianlbian right now the only way is to, as you have observed, check the unmatched amount, if it is greater than 0 then it is partially matched. We do this in the client for market prices right now: order.account.stakeUnmatched.toNumber() > 0 There are plans to introduce a partiallyMatched status into the protocol. |
Beta Was this translation helpful? Give feedback.
Hi @lbianlbian right now the only way is to, as you have observed, check the unmatched amount, if it is greater than 0 then it is partially matched. We do this in the client for market prices right now: order.account.stakeUnmatched.toNumber() > 0
There are plans to introduce a partiallyMatched status into the protocol.