mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-15 12:22:18 +00:00
chore: improved docstring for precision_mode_price
This commit is contained in:
@@ -416,12 +416,17 @@ class Exchange:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def precisionMode(self) -> int:
|
def precisionMode(self) -> int:
|
||||||
"""exchange ccxt precisionMode"""
|
"""Exchange ccxt precisionMode"""
|
||||||
return self._api.precisionMode
|
return self._api.precisionMode
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def precision_mode_price(self) -> int:
|
def precision_mode_price(self) -> int:
|
||||||
"""exchange ccxt precisionMode"""
|
"""
|
||||||
|
Exchange ccxt precisionMode used for price
|
||||||
|
Workaround for ccxt limitation to not have precisionMode for price
|
||||||
|
if it differs for an exchange
|
||||||
|
Might need to be updated if https://github.com/ccxt/ccxt/issues/20408 is fixed.
|
||||||
|
"""
|
||||||
return self._api.precisionMode
|
return self._api.precisionMode
|
||||||
|
|
||||||
def additional_exchange_init(self) -> None:
|
def additional_exchange_init(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user