This codebase is still in an alpha state
and could have bugs that result in financial losses. Use at your own risk.
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]}")
Currently managed via miniconda. To create the env and install dependencies,
make env.create
make env.update
- conda activate ledgerx
Run tests via make test
See LICENSE file