Introduce datatype for informative pairs

This commit is contained in:
hroff-1902
2020-05-16 11:09:50 +03:00
parent 72165a1926
commit bf25746965
3 changed files with 9 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ from typing import Dict, List, NamedTuple, Optional, Tuple
import arrow
from pandas import DataFrame
from freqtrade.data.common import ListPairsWithTimeframes
from freqtrade.data.dataprovider import DataProvider
from freqtrade.exceptions import StrategyError
from freqtrade.exchange import timeframe_to_minutes
@@ -185,7 +186,7 @@ class IStrategy(ABC):
"""
return False
def informative_pairs(self) -> List[Tuple[str, str]]:
def informative_pairs(self) -> ListPairsWithTimeframes:
"""
Define additional, informative pair/interval combinations to be cached from the exchange.
These pair/interval combinations are non-tradeable, unless they are part