From 8fdff8769d029ce4afd0cdf65580871ffe55aaa1 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 20 Mar 2023 21:20:46 -0400 Subject: [PATCH] Ensure `Symbol` tick sizes are decoded as `Decimal`.. --- piker/accounting/_mktinfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/accounting/_mktinfo.py b/piker/accounting/_mktinfo.py index dc6ee4a6..63b89f75 100644 --- a/piker/accounting/_mktinfo.py +++ b/piker/accounting/_mktinfo.py @@ -421,8 +421,8 @@ class Symbol(Struct): ''' key: str - tick_size: float = 0.01 - lot_tick_size: float = 0.0 # "volume" precision as min step value + tick_size: Decimal = 0.01 + lot_tick_size: Decimal = 0.0 # "volume" precision as min step value suffix: str = '' broker_info: dict[str, dict[str, Any]] = {}