python-bittrex icon indicating copy to clipboard operation
python-bittrex copied to clipboard

error exception method call not available

Open NormanKonja opened this issue 7 years ago • 4 comments

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

NormanKonja avatar Dec 26 '17 00:12 NormanKonja

I got the same thing Wondering how to get around it.

PZdunczyk avatar Dec 26 '17 06:12 PZdunczyk

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.

NormanKonja avatar Dec 26 '17 15:12 NormanKonja

get_markets is not available in 2.0. This exception is explicitly raised to indicate that.

skyl avatar Dec 26 '17 17:12 skyl

it also doesn work when on 1.1 but like i said I just removed version altogether and it worked

NormanKonja avatar Dec 26 '17 18:12 NormanKonja