Fix docstrings and typo
This commit is contained in:
parent
8a3c2a0c63
commit
f5b2430cda
@ -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'
|
||||||
]
|
]
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user