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

@@ -129,7 +129,7 @@ def get_ticker(pair: str) -> dict:
@cached(TTLCache(maxsize=100, ttl=30))
def get_ticker_history(pair: str, tick_interval: Optional[int] = 5) -> List:
def get_ticker_history(pair: str, tick_interval: Optional[int] = 5) -> List[Dict]:
return _API.get_ticker_history(pair, tick_interval)