ericsomdahl / python-bittrex

Python bindings for bittrex
MIT License
585 stars 283 forks source link

{'success': False, 'message': 'INVALID_MARKET', 'result': None} on method buy_limit() #157

Open felipeduarte opened 6 years ago

felipeduarte commented 6 years ago

Hi people, Good night, I was developing an bot application using this API (python-bittrex v 1.1) and when my bot will go buy the currency with the method buy_limit(market, quantity, rate) it can't buy the currency, and return of this call with the method buy_limit() it's: {'success': False, 'message': 'INVALID_MARKET', 'result': None}.

I just pass the name of market with less "BTC-", for example the currency BTC-2GIVE, I pass just "2GIVE", but I already tested on IPython pass the name of currency with "BTC-", for example: "BTC-2GIVE" and in this two cases this method buy_limit() don't buy the currency and return this JSON message: {'success': False, 'message': 'INVALID_MARKET', 'result': None}

I ask please, to you help me with this problem... It's for a job freelancer that I was developing...

Thank you very much in advance!

Best Regards

felipeduarte commented 6 years ago

Follow the link of my source code, the fail it's on line number 33: https://pastebin.com/JSW4uLJb