add docstring
This commit is contained in:
parent
06024b0ab0
commit
19f3669fbd
@ -334,7 +334,10 @@ def download_trades_history(datadir: Optional[Path],
|
|||||||
pair: str,
|
pair: str,
|
||||||
ticker_interval: str = '5m',
|
ticker_interval: str = '5m',
|
||||||
timerange: Optional[TimeRange] = None) -> bool:
|
timerange: Optional[TimeRange] = None) -> bool:
|
||||||
|
"""
|
||||||
|
Download trade history from the exchange.
|
||||||
|
Appends to previously downloaded trades data.
|
||||||
|
"""
|
||||||
if not exchange:
|
if not exchange:
|
||||||
raise OperationalException(
|
raise OperationalException(
|
||||||
"Exchange needs to be initialized to download data")
|
"Exchange needs to be initialized to download data")
|
||||||
|
Loading…
Reference in New Issue
Block a user