Skip to content

westonplatter/ledgerx-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

413bf44 · Apr 17, 2021

History

19 Commits
Feb 27, 2021
Feb 27, 2021
Apr 17, 2021
Apr 17, 2021
Apr 17, 2021
Mar 8, 2021
Mar 14, 2021
Jan 30, 2021
Feb 27, 2021
Feb 27, 2021
Apr 17, 2021
Mar 14, 2021

Repository files navigation

WARNING

This codebase is still in an alpha state and could have bugs that result in financial losses. Use at your own risk.

LedgerX Python Client

example

One of the many examples in the examples directory.

from ledgerx import Trades

data = Trades.list()

print(f"Number of trades = {len(data['data'])}")
print(f"Example trade = {data['data'][0]}")

dev env

Currently managed via miniconda. To create the env and install dependencies,

  1. make env.create
  2. make env.update
  3. conda activate ledgerx

testing

Run tests via make test

license

See LICENSE file