leverj-ordersigner

Python module for signing Leverj spot and derivatives exchange orders


License
MIT
Install
pip install leverj-ordersigner==0.9.2

Documentation

Leverj Spot & Derivatives Exchange Python Module for Signing Orders

Description

A python module for signing leverj spot and derivatives exchange orders

Installation

$ pip install leverj-ordersigner

Usage

Sign a spot exchange order as follows:

from leverj_ordersigner import spot
spot.sign_order(order, order_instrument, signer)

Sign a futures exchange order like so:

from leverj_ordersigner import futures
futures.sign_order(order, order_instrument, signer)

Development

setup

ensure a python3 virtual env exists in .venv, i.e.: python3 -m venv .venv

$ source setup.sh

test

$ nosetests

build

$ python setup.py sdist