Fix docstrings and typo

This commit is contained in:
Matthias 2018-12-16 09:58:46 +01:00
parent 8a3c2a0c63
commit f5b2430cda
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,7 @@
"""
Module to handle data operations for freqtrade bot
"""
# limit what's imported when using `from freqtrad.data import *``
__all__ = [ __all__ = [
'convert' 'convert'
] ]

View File

@ -32,7 +32,7 @@ def parse_ticker_dataframe(ticker: list) -> DataFrame:
'volume': 'max', 'volume': 'max',
}) })
frame.drop(frame.tail(1).index, inplace=True) # eliminate partial candle frame.drop(frame.tail(1).index, inplace=True) # eliminate partial candle
logger.debug('Droppling last candle') logger.debug('Dropping last candle')
return frame return frame

View File

@ -1,4 +1,9 @@
# pragma pylint: disable=missing-docstring """
Handle historic data (ohlcv).
includes:
* load data for a pair (or a list of pairs) from disk
* download data from exchange and store to disk
"""
import gzip import gzip
try: try: