ParadigmFoundation / zaidan-dealer-specification

Specification document's and scripts for the Zaidan Dealer JSONRPC specification.
Apache License 2.0
6 stars 3 forks source link

Clarify meaning `takerPriceBand` and `makerPriceBand` values #48

Open hrharder opened 4 years ago

hrharder commented 4 years ago

Motivation:

Re: the feed, "takerPriceBand": [5310, 5790] are those band prices in base units? They probably should be no?

Ultimately what the taker price band refers to is the units of the taker asset received per unit of the maker asset, so unless I am mistaken, it is simply a ratio that would not be affected by weather the maker asset is represented in base units or user units. That is the reason we encode the maketSizeLimit as a string, but the price band as two numbers.