mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
chore: improved docstring for precision_mode_price
This commit is contained in:
parent
d7bee0c9e0
commit
0b8dfa6878
|
@ -416,12 +416,17 @@ class Exchange:
|
|||
|
||||
@property
|
||||
def precisionMode(self) -> int:
|
||||
"""exchange ccxt precisionMode"""
|
||||
"""Exchange ccxt precisionMode"""
|
||||
return self._api.precisionMode
|
||||
|
||||
@property
|
||||
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
|
||||
|
||||
def additional_exchange_init(self) -> None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user