A python module for signing leverj spot and derivatives exchange orders
$ pip install leverj-ordersigner
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)
ensure a python3 virtual env exists in
.venv
, i.e.:python3 -m venv .venv
$ source setup.sh
$ nosetests
$ python setup.py sdist