{'result': None, 'success': False, 'message': 'There was a problem processing your request. If this problem persists, please email support@bittrex.com with this error id - 4feb00b8-fbe9-4dd3-b11f-95fd7bf5250f'}
root@raspberrypi3:/var/www/html/jango# nano -c bittrex/apitest.py
root@raspberrypi3:/var/www/html/jango# python3 bittrex/apitest.py
{'message': 'There was a problem processing your request. If this problem persists, please email support@bittrex.com with this error id - e0396c8d-8a4c-41c5-b6c4-6842c31386e2', 'success': False, 'result': None}
root@raspberrypi3:/var/www/html/jango# nano -c bittrex/apitest.py
root@raspberrypi3:/var/www/html/jango# python3 bittrex/apitest.py
{'success': False, 'result': None, 'message': 'NO_API_RESPONSE'}
root@raspberrypi3:/var/www/html/jango# python3 bittrex/apitest.py
{'message': 'NO_API_RESPONSE', 'success': False, 'result': None}
root@raspberrypi3:/var/www/html/jango# nano -c bittrex/apitest.py
I am trying to make a buy limit purchase via the bittrex api and I am getting an error that my arguments are in the wrong place.
from bittrex.bittrex import API_V2_0, Bittrex import json
my_bittrex = Bittrex("zzzzz", "zzzzz", api_version=API_V2_0)
trade = 'BTC' currency = 'TRX' market = '{0}-{1}'.format(trade, currency)
b = (my_bittrex.buy_limit({market, 100, float(0.00005550)}))
error:
Traceback (most recent call last): File "bittrex/apitest.py", line 17, in
b = (my_bittrex.buy_limit({market, 100, float(0.00005550)}))
TypeError: buy_limit() missing 2 required positional arguments: 'quantity' and 'rate'
How do I properly position my arguments for bittrex?
I also tried:
b = (my_bittrex.trade_buy({market, 100, float(0.00005550)}))
and
b = my_bittrex.trade_buy(market=market, quantity=100, rate=float(0.00005550))
and
params = {'market': market, 'quantity': 100, 'rate': float(0.00005550)}
b = my_bittrex.trade_buy(**params)
print (b)
error output from session:
{'result': None, 'success': False, 'message': 'There was a problem processing your request. If this problem persists, please email support@bittrex.com with this error id - 4feb00b8-fbe9-4dd3-b11f-95fd7bf5250f'} root@raspberrypi3:/var/www/html/jango# nano -c bittrex/apitest.py root@raspberrypi3:/var/www/html/jango# python3 bittrex/apitest.py {'message': 'There was a problem processing your request. If this problem persists, please email support@bittrex.com with this error id - e0396c8d-8a4c-41c5-b6c4-6842c31386e2', 'success': False, 'result': None} root@raspberrypi3:/var/www/html/jango# nano -c bittrex/apitest.py root@raspberrypi3:/var/www/html/jango# python3 bittrex/apitest.py {'success': False, 'result': None, 'message': 'NO_API_RESPONSE'} root@raspberrypi3:/var/www/html/jango# python3 bittrex/apitest.py {'message': 'NO_API_RESPONSE', 'success': False, 'result': None} root@raspberrypi3:/var/www/html/jango# nano -c bittrex/apitest.py