sanitize get_ticker_history (fixes #100)

This commit is contained in:
gcarq
2017-11-13 19:54:09 +01:00
parent bab59fbacd
commit 81f7172c4a
4 changed files with 15 additions and 10 deletions

View File

@@ -74,7 +74,7 @@ class Exchange(ABC):
"""
@abstractmethod
def get_ticker_history(self, pair: str, tick_interval: int) -> List:
def get_ticker_history(self, pair: str, tick_interval: int) -> List[Dict]:
"""
Gets ticker history for given pair.
:param pair: Pair as str, format: BTC_ETC