bsip35: wording change

This commit is contained in:
abitmore 2018-02-22 15:36:43 +00:00
parent 259fbe05ac
commit b00e7f33ab

View file

@ -175,14 +175,16 @@ compare `X' = X * maker_b_amount` with `Y' = Y * maker_a_amount`.
taker order can't, aka the maker order is smaller. taker order can't, aka the maker order is smaller.
In this case, maker pay amount `X` of asset A to taker, taker pay amount In this case, maker pay amount `X` of asset A to taker, taker pay amount
`Y" = round_down( X' / maker_a_amount )` of asset B to maker. `Y" = round_down( X' / maker_a_amount )` of asset B to maker.
Note: after rounded down, `Y"` may be smaller than the rational number Note: due to rounded down, it's possible that `Y"` is smaller than the
rational number
`X * maker_price`, which means `Y" / X` may be lower than `maker_price`, `X * maker_price`, which means `Y" / X` may be lower than `maker_price`,
that said, the maker order may has been filled at a less favorable price. that said, the maker order may has been filled at a less favorable price.
* If `X' > Y'`, it means the taker order can be completely filled but the * If `X' > Y'`, it means the taker order can be completely filled but the
maker order can't, aka the taker order is smaller. maker order can't, aka the taker order is smaller.
In this case, taker pay amount `Y` of asset B to maker, maker pay amount In this case, taker pay amount `Y` of asset B to maker, maker pay amount
`X" = round_down( Y' / maker_b_amount )` of asset A to taker. `X" = round_down( Y' / maker_b_amount )` of asset A to taker.
Note: after rounded down, `X"` may be smaller than the rational number Note: due to rounded down, it's possible that `X"` is smaller than the
rational number
`Y / taker_price`, which means `Y / X"` may be higher than `taker_price`, `Y / taker_price`, which means `Y / X"` may be higher than `taker_price`,
that said, the taker order may has been filled at a less favorable price. that said, the taker order may has been filled at a less favorable price.