python-bittrex
python-bittrex copied to clipboard
error exception method call not available
from bittrex import Bittrex, API_V2_0
my_bittrex = Bittrex(None, None, api_version=API_V2_0) # or defaulting to v1.1 as Bittrex(None, None) my_bittrex.get_markets()
in _api_query raise Exception('method call not available under API version {}'.format(self.api_version)) Exception: method call not available under API version v2.0
I got the same thing Wondering how to get around it.
Remove the version just do Bittrex(key,secret)
Sent from my iPhone
On Dec 26, 2017, at 1:59 AM, PZdunczyk [email protected] wrote:
I got the same thing Wondering how to get around it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
get_markets is not available in 2.0. This exception is explicitly raised to indicate that.
it also doesn work when on 1.1 but like i said I just removed version altogether and it worked