mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-03-07 22:33:57 +00:00
chore: fix oddity of price_to_precision
This commit is contained in:
@@ -308,7 +308,9 @@ def price_to_precision(
|
||||
decimal_to_precision(
|
||||
price,
|
||||
rounding_mode=rounding_mode,
|
||||
precision=price_precision,
|
||||
precision=int(price_precision)
|
||||
if precisionMode != TICK_SIZE
|
||||
else price_precision,
|
||||
counting_mode=precisionMode,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user