From 6b50260452c47caf877039b466ae5ce75684c402 Mon Sep 17 00:00:00 2001 From: Taconator Date: Sat, 14 Apr 2018 16:15:04 -0400 Subject: [PATCH] bsip35: Correcting units in Example #3 --- bsip-0035.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsip-0035.md b/bsip-0035.md index 9ebaa83..dee8e57 100644 --- a/bsip-0035.md +++ b/bsip-0035.md @@ -372,12 +372,12 @@ Assuming both orders are limit orders, they'll be processed as follows: * If Alice's order is maker, use `$3 / 80` as match price; since Alice's order is smaller, round in favor of Bob's order, so Alice will get `round_down(50 CORE * $3 / 80 CORE) = round_down($1.6) = $1`, - and Bob will get `round_up($1 * 80 CORE / $3) = round_up($26.67) = $27`, + and Bob will get `round_up($1 * 80 CORE / $3) = round_up(26.67 CORE) = 27 CORE`, the effective price would be `$1 / 27 = $0.037`; * If Bob's order is maker, use `$19 / 500` as match price; since Alice's order is smaller, round in favor of Bob's order, so Alice will get `round_down(50 CORE * $19 / 500 CORE = round_down($1.9) = $1`, - and Bob will get `round_up($1 * 500 CORE / $19) = round_up($26.3) = $27`, + and Bob will get `round_up($1 * 500 CORE / $19) = round_up(26.3 CORE) = 27 CORE`, the effective price would also be `$1 / 27 = $0.037`. # Specifications