https://github.com/westonplatter/ledgerx-python
Client for the LedgerX exchange (BTC and ETH derivatives)
https://github.com/westonplatter/ledgerx-python
btc crypto crypto-options ethereum futures ledgerx options python
Last synced: 9 months ago
JSON representation
Client for the LedgerX exchange (BTC and ETH derivatives)
- Host: GitHub
- URL: https://github.com/westonplatter/ledgerx-python
- Owner: westonplatter
- License: bsd-3-clause
- Created: 2021-01-30T18:49:35.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-18T20:10:29.000Z (over 4 years ago)
- Last Synced: 2024-04-14T20:10:43.943Z (over 1 year ago)
- Topics: btc, crypto, crypto-options, ethereum, futures, ledgerx, options, python
- Language: Python
- Homepage:
- Size: 44.9 KB
- Stars: 5
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/westonplatter/ledgerx-python/tree/main/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