https://github.com/hmasila/bitmex-fetch-instrument
Python wrapper for fetching open interest from Bitmex
https://github.com/hmasila/bitmex-fetch-instrument
bitmex cryptocurrency cryptocurrency-trading-bot python3
Last synced: 3 months ago
JSON representation
Python wrapper for fetching open interest from Bitmex
- Host: GitHub
- URL: https://github.com/hmasila/bitmex-fetch-instrument
- Owner: hmasila
- Created: 2018-07-24T08:35:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T15:09:10.000Z (about 7 years ago)
- Last Synced: 2025-05-08T23:35:40.283Z (6 months ago)
- Topics: bitmex, cryptocurrency, cryptocurrency-trading-bot, python3
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bitmex-fetch-instrument
To get started:
1) Edit settings.py to add your interval preferences (For instrument, API key and SECRET are not necessary)
2) `pip install -r requirements.txt` to install the requirements
3) Run it:
- for the response, using https`python bitmex_instrument.py`
- for the response, using websocket
`python bitmex_ws_instrument.py`For more details about the API connector, go [here](https://github.com/BitMEX/api-connectors/tree/master/official-http/python-swaggerpy)