From c0bdb7181019940c62c7ec93aa28de6a020c1185 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 15 Aug 2022 20:06:29 +0200 Subject: [PATCH] Update docstring --- freqtrade/exchange/exchange.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 8605e984a..7629b1e01 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -683,14 +683,16 @@ class Exchange: def get_precision_amount(self, pair: str) -> Optional[float]: """ Returns the amount precision of the exchange. - :param pair: + :param pair: Pair to get precision for + :return: precision for amount or None. Must be used in combination with precisionMode """ return self.markets.get(pair, {}).get('precision', {}).get('amount', None) def get_precision_price(self, pair: str) -> Optional[float]: """ Returns the price precision of the exchange. - :param pair: + :param pair: Pair to get precision for + :return: precision for price or None. Must be used in combination with precisionMode """ return self.markets.get(pair, {}).get('precision', {}).get('price', None)