Skip to main content

Sample adapter for connecting to the BitMEX Websocket API.

Project description

### Python Adapter for BitMEX Realtime Data

This is a reference adapter for receiving realtime data from the BitMEX API. See the source for documentation.

### Usage

Edit to include your credentials. I recommend starting out on the [Testnet](

`bash python install python > 2015-07-29 11:30:09,870 - bitmex_websocket - INFO - Connecting to wss://,order:XBTN15,orderBook25:XBTN15,position:XBTN15,quote:XBTN15,trade:XBTN15,margin > 2015-07-29 11:30:09,870 - bitmex_websocket - INFO - Authenticating with email/password. > 2015-07-29 11:30:10,872 - bitmex_websocket - INFO - Connected to WS. > 2015-07-29 11:30:11,081 - bitmex_websocket - INFO - Got all market data. Starting. > 2015-07-29 11:30:11,082 - root - INFO - Instrument data: {u'quoteCurrency': u'USD', u'askPrice': 282.33, .... `

### Compatibility This module supports Python 3.5+.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bitmex-ws, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size bitmex-ws-0.2.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page