Make Pylint Happy chapter 1
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
"""
|
||||
Functions to analyze ticker data with indicators and produce buy and sell signals
|
||||
"""
|
||||
import arrow
|
||||
from datetime import datetime, timedelta
|
||||
from enum import Enum
|
||||
from pandas import DataFrame, to_datetime
|
||||
from typing import Dict, List
|
||||
import arrow
|
||||
from pandas import DataFrame, to_datetime
|
||||
from freqtrade.exchange import get_ticker_history
|
||||
from freqtrade.logger import Logger
|
||||
from freqtrade.strategy.strategy import Strategy
|
||||
@@ -188,10 +188,9 @@ class Analyze(object):
|
||||
)
|
||||
return False
|
||||
|
||||
|
||||
def tickerdata_to_dataframe(self, tickerdata: Dict[str, List]) -> Dict[str, DataFrame]:
|
||||
"""
|
||||
Creates a dataframe and populates indicators for given ticker data
|
||||
"""
|
||||
return {pair: self.populate_indicators(self.parse_ticker_dataframe(pair_data))
|
||||
for pair, pair_data in tickerdata.items()}
|
||||
for pair, pair_data in tickerdata.items()}
|
||||
|
Reference in New Issue
Block a user