From 1714f4483f71f3e7fbf9e8e4e0b8f7a01691ddf3 Mon Sep 17 00:00:00 2001 From: Padmakar Ojha Date: Sun, 17 Sep 2017 13:07:23 +0530 Subject: [PATCH] fix exchange name in currency availabily checks --- exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchange.py b/exchange.py index e92e5cf7e..2691c81aa 100644 --- a/exchange.py +++ b/exchange.py @@ -49,7 +49,7 @@ def init(config: dict) -> None: markets = get_markets() for pair in config[EXCHANGE.name.lower()]['pair_whitelist']: if pair not in markets: - raise RuntimeError('Pair {} is not available at Poloniex'.format(pair)) + raise RuntimeError('Pair {} is not available at {}'.format(pair,EXCHANGE.name.lower())) def buy(pair: str, rate: float, amount: float) -> str: