An open API service indexing awesome lists of open source software.

https://github.com/leavemyyard/cryptofuturespy

The Python library of different implementations for exchange interface of cryptocurrency futures trading. Includes Bitmex and Binance Futures.
https://github.com/leavemyyard/cryptofuturespy

api api-client binance binance-futures bitmex cryptocurrency-futures-trading exchange

Last synced: about 1 month ago
JSON representation

The Python library of different implementations for exchange interface of cryptocurrency futures trading. Includes Bitmex and Binance Futures.

Awesome Lists containing this project

README

          

# CryptoFuturesPy
The Python library for different implementations of a exchange interface for cryptocurrency futures trading

[![GitHub issues](https://img.shields.io/github/issues-raw/LeaveMyYard/CryptoFuturesPy?style=flat-square)](https://github.com/LeaveMyYard/CryptoFuturesPy/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/LeaveMyYard/CryptoFuturesPy?style=flat-square)](https://github.com/LeaveMyYard/CryptoFuturesPy/pulls)
[![License](https://img.shields.io/github/license/day8/re-frame.svg?style=flat-square)](LICENSE.txt)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/psf/black)

## Overview

One day, I was tried to be messing with different interfaces of Binance, Bitmex and etc so I desided to create an interface for them and to make some implementations.

So, there exists a Bitmex and a Binance Futures implementation now, but more are coming soon.

All code is written on Python 3.7 with typing specifications.

## Installation

You can easily install it using

`pip install crypto-futures-py`

and then access it in your Python code like that:

```python
from crypto_futures_py import BitmexExchangeHandler
```

## Usage

Read a Usage Guide [here](docs/usage.md)

## TODO

- [x] Add Binance implementation
- [x] Add a Usage Guide
- [ ] Add a documentation
- [ ] Make websocket threads stoppable

## Licence

CryptoFuturesPy is [MIT licenced](LICENSE.txt)