From a1e590154078594e7ea67f2a8ae269f65693983d Mon Sep 17 00:00:00 2001 From: Abit Date: Mon, 16 Apr 2018 01:35:59 +0200 Subject: [PATCH] bsip38: correction about rounding --- bsip-0038.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bsip-0038.md b/bsip-0038.md index 7a16725..0c479af 100644 --- a/bsip-0038.md +++ b/bsip-0038.md @@ -141,10 +141,11 @@ Generally, when two orders got matched, the order matching engine will favor the larger order while rounding. When a call order got matched with a limit order, if the call order has no -`target_CR` option set, or has `target_CR` option set but covering debt is -smaller than maximum debt to cover, both means the call order is larger, -so its paid collateral will be rounded down, so its collateral ratio will -increase after partially filled. +`target_CR` option set but its debt is more than the limit order offered, +or the call order has `target_CR` option set but `max_debt_to_cover` +is more than the limit order offered, both means the call order is larger, +according to the rounding rule, the call order's paid collateral will be +rounded down, so its collateral ratio will increase after partially filled. If the call order has `target_CR` option set and is covering the whole "maximum debt to cover", to be fair, we should consider that part of call order to be