exchange: capitalize class name
This commit is contained in:
parent
aba09b8107
commit
1b4c1980c2
@ -191,7 +191,6 @@ def get_ticker_history(pair: str, tick_interval) -> List[List]:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
ohlcv = _API.fetch_ohlcv(pair, timeframe=str(tick_interval)+"m")
|
ohlcv = _API.fetch_ohlcv(pair, timeframe=str(tick_interval)+"m")
|
||||||
|
|
||||||
return ohlcv
|
return ohlcv
|
||||||
except IndexError as e:
|
except IndexError as e:
|
||||||
logger.warning('Empty ticker history. Msg %s', str(e))
|
logger.warning('Empty ticker history. Msg %s', str(e))
|
||||||
@ -235,7 +234,7 @@ def get_market_summaries() -> List[Dict]:
|
|||||||
|
|
||||||
|
|
||||||
def get_name() -> str:
|
def get_name() -> str:
|
||||||
return _API.__class__.__name__
|
return _API.__class__.__name__.capitalize()
|
||||||
|
|
||||||
|
|
||||||
def get_fee_maker() -> float:
|
def get_fee_maker() -> float:
|
||||||
|
Loading…
Reference in New Issue
Block a user