Introduce freqtrade.typing

This commit is contained in:
hroff-1902
2020-05-18 21:59:50 +03:00
parent 0c8aff98e0
commit 115586a50f
5 changed files with 13 additions and 8 deletions

View File

@@ -3,22 +3,19 @@ PairList manager class
"""
import logging
from copy import deepcopy
from typing import Dict, List, Tuple
from typing import Dict, List
from cachetools import TTLCache, cached
from freqtrade.exceptions import OperationalException
from freqtrade.pairlist.IPairList import IPairList
from freqtrade.resolvers import PairListResolver
from freqtrade.typing import ListPairsWithTimeframes
logger = logging.getLogger(__name__)
# List of pairs with their timeframes
ListPairsWithTimeframes = List[Tuple[str, str]]
class PairListManager():
def __init__(self, exchange, config: dict) -> None: