A small example package
Project description
liquid-python
Client library for Liquid. Liquid API reference is here.
Supported API
End point | Impl | Unit test |
---|---|---|
Public | ||
GET /products/ |
||
GET /products/:id |
||
GET /products/:id/price_levels |
||
GET /executions |
o | |
GET /ir_ladders |
||
GET /fees |
||
Private | ||
POST /orders |
||
GET /orders/:id |
||
GET /orders |
||
PUT /orders/:id/cancel |
||
PUT /orders/:id |
||
GET /orders/:id/trades |
||
GET /executions/me |
||
GET /fiat_accounts |
||
POST /fiat_accounts |
||
GET /crypto_accounts |
||
GET /accounts/balance |
||
GET /accounts/:currency |
||
GET /accounts/:currency/reserved_balance_details |
||
POST /loan_bids |
||
GET /loan_bids |
||
PUT /loan_bids/:id/close |
||
GET /loans |
||
PUT /loans |
||
GET /trading_accounts |
||
GET /trading_accounts/:id |
||
GET /trades |
||
PUT /trades/:id/close |
||
PUT /trades/close_all |
||
PUT /trades/:id/adjust_margin |
||
GET /trades/:id/loans |
||
...etc... |
Usage
Insatall
pip install liquid-python
Run
# Execute unit test
pipenv run python -m pytest --cov=liquidcli --cov-report=html --cov-report=term ./tests
# Check coverage in HTML
open htmlcov/index.html
Development
# Installation of dependencies
pipenv install --dev
# Run
pipenv python run main.py
Contribution
TBD
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
liquidcli-0.0.14.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for liquidcli-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 526c5a5a1a627852796f9b90bc5b18f0cd4d99412d04d83b21b2dea45cc4a31d |
|
MD5 | 133262e5514bc46418f2f488455d7757 |
|
BLAKE2b-256 | 9b8d2d40b7ddb5be00e59dfa996eeea1db17e60b9ab004d17949b7bb4d30acbe |