Ensure `Symbol` tick sizes are decoded as `Decimal`..

pre_overruns_ctxcancelled
Tyler Goodlet 2023-03-20 21:20:46 -04:00
parent 28f52dae93
commit 42f7aa994a
1 changed files with 2 additions and 2 deletions

View File

@ -421,8 +421,8 @@ class Symbol(Struct):
''' '''
key: str key: str
tick_size: float = 0.01 tick_size: Decimal = 0.01
lot_tick_size: float = 0.0 # "volume" precision as min step value lot_tick_size: Decimal = 0.0 # "volume" precision as min step value
suffix: str = '' suffix: str = ''
broker_info: dict[str, dict[str, Any]] = {} broker_info: dict[str, dict[str, Any]] = {}