dYdX Python REST API for Limit Orders
Project description
dydx-python
dYdX Python API for Limit Orders
The library is currently tested against Python versions 2.7, 3.4, 3.5, and 3.6
Installation
dydx-python
is available on PyPI. Install with pip
:
pip install dydx-python
Documentation
Check the dYdX developer docs for the API endpoint.
Example Usage
from dydx-python.dydx.client import Client
# create a new client with a private key (string or bytearray)
client = Client('0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d')
# get all trading pairs for dydx
trading_pairs = client.get_pairs()
# ...
Testing
# Install the requirements
pip install -r requirements.txt
# Run the tests
docker-compose up
tox
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
dydx-python-0.1.0.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for dydx_python-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 394eca048e8ba3106d2d775f8e19988d8031417cd1c394ce03f8411842acce95 |
|
MD5 | 1efa319eb5331fb4ef507f8c57fd3691 |
|
BLAKE2b-256 | c58a2acd9c81400fac4a9abad58e0a96827ee90e7cfec7fe47d6ef29cbd54a21 |