Merge pull request #191 from iamzoltan/unknown_kraken_symbol
fix unknown kraken symbol raised errorems_hotfixes
commit
ee65382d97
|
@ -174,7 +174,8 @@ class Client:
|
||||||
resp = await self._public('AssetPairs', pairs)
|
resp = await self._public('AssetPairs', pairs)
|
||||||
err = resp['error']
|
err = resp['error']
|
||||||
if err:
|
if err:
|
||||||
raise BrokerError(err)
|
symbolname = pairs['pair'] if pair else None
|
||||||
|
raise SymbolNotFound(f'{symbolname}.kraken')
|
||||||
|
|
||||||
pairs = resp['result']
|
pairs = resp['result']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue