replace single quote docstrings with double quote docstrings

This commit is contained in:
Sam Germain
2022-01-14 05:49:46 -06:00
parent 7abffee755
commit 0c8205ab3b
5 changed files with 54 additions and 51 deletions

View File

@@ -1985,10 +1985,10 @@ class Exchange:
@retrier
def get_liquidation_price(self, pair: str):
'''
Set's the margin mode on the exchange to cross or isolated for a specific pair
:param pair: base/quote currency pair (e.g. "ADA/USDT")
'''
"""
Set's the margin mode on the exchange to cross or isolated for a specific pair
:param pair: base/quote currency pair (e.g. "ADA/USDT")
"""
if self._config['dry_run'] or not self.exchange_has("fetchPositions"):
# Some exchanges only support one collateral type
return
@@ -2008,9 +2008,9 @@ class Exchange:
pair: str,
nominal_value: Optional[float] = 0.0,
):
'''
:return: The maintenance amount, and maintenance margin rate
'''
"""
:return: The maintenance amount, and maintenance margin rate
"""
# TODO-lev: return the real amounts
return 0, 0.4