pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
104 stars 17 forks source link

Fix price label precision as `MktPair.price_tick_digits` #518

Closed goodboy closed 1 year ago

goodboy commented 1 year ago

A hot fix after #489 that wasn't caught (since we don't have UI tests yet..) 😂

Was only really borked for higher-precision but lower priced assets (like TLOS or peeneez) which have a MktPair.price_tick_digits >= 2.

The issue was using the wrong attr, the size_tick_digits..