Ticker in the conf is now an enum string

This commit is contained in:
Jean-Baptiste LE STANG
2018-01-15 22:27:12 +01:00
parent 658d16c2cd
commit 8e5de365a5
6 changed files with 45 additions and 45 deletions

View File

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