Python SDK for the Orbs order book
Project description
Python SDK for Orb's order book
This Python SDK allows you to query the Orb's order book and place orders.
Please note that this SDK is still in development and is subject to change.
Getting started
The SDK is available on PyPI and can be installed with pip:
pip install orbs-orderbook-sdk
You will need to request an API key from the Orbs team, and provide us with your Externally Owned Account (EOA) wallet address (NOT the private key).
Usage
Creating an order
See examples/create_order.py.
Creating multiple orders in a batch
See examples/create_multiple_orders.py.
Signing an order
See examples/sign_order.py.
Cancelling orders
See examples/cancel_order.py.
Getting orders (open and filled)
See examples/get_orders.py.
Other endpoints
See orbs_orderbook/client.py for the full list of available endpoints.
Folder structure
examples: Example scriptsorbs_orderbook: The Python SDK source code
Development
Installation
- Ensure you have at least Python 3.8 installed
Pip
- Run
pip install -r requirements.txtto install dependencies
Poetry
- Install Poetry
- Run
poetry installto install dependencies into a virtual environment
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orbs_orderbook_sdk-0.10.1.tar.gz.
File metadata
- Download URL: orbs_orderbook_sdk-0.10.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.8.18 Linux/6.5.0-1016-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a806083954dd7372f1b255013e8922017ff307884f88f25f49fae87e40d5597
|
|
| MD5 |
759e73778370df88a328c70ac59f8090
|
|
| BLAKE2b-256 |
ea21e6604bd6e1eb5d85642eb55eceb51e96879e9d274e73b4709882b382e2de
|
File details
Details for the file orbs_orderbook_sdk-0.10.1-py3-none-any.whl.
File metadata
- Download URL: orbs_orderbook_sdk-0.10.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.8.18 Linux/6.5.0-1016-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68305e4b5a929566b99d59bbc523089a07bdc2f34b82e54972d276a61656fa9b
|
|
| MD5 |
64974ee469496b03dfb9c2152af5a208
|
|
| BLAKE2b-256 |
f75d0b031885e1faee5cc823dc21b63f380553169c090883cd1836e62b1a7598
|