mazmex7 / BitMEX-API-python

A lightweight script to connect BitMEX REST API.
52 stars 22 forks source link

Still getting Warning: JSON format is not registered with bravado-core! #1

Closed Indiana3714 closed 6 years ago

Indiana3714 commented 6 years ago

Using this in Python 3

from bitmex import bitmex
import simplejson as json

api_key = '' # your api key
api_secret = '' # your api secret

client = bitmex(test=True, api_key=api_key, api_secret=api_secret)

a = client.Instrument.Instrument_get(filter=json.dumps({'symbol': 'XBTJPY'})).result()
print(a)

I still get that error (it comes seperate to the response tuple)