Ripio Client for Python
ALPHA SOFTWARE
This is a lightweight library that works as a client to Ripio Services
Installation
pip install ripio-client
Usage example
from ripio.trade.client import Client
# API key is required for user data endpoints
client = Client(api_key='<api_key>')
# Get balance information
print(client.balance())
# Create a market order
params = {
'pair': 'BTC_USDC',
'side': 'buy',
'amount': 0.01,
'type': 'market'
}
response = client.create_order(**params)
print(response)
# Create a limit buy order
params = {
'pair': 'BTC_USDC',
'side': 'buy',
'amount': 0.0002,
'type': 'limit',
'price': 27471.65
}
response = client.create_order(**params)
print(response)
# Create a limit sell order
params = {
'pair': 'BTC_USDC',
'side': 'sell',
'amount': 0.0002,
'type': 'limit',
'price': 27470
}
response = client.create_order(**params)
print(response)
Metadata
Release files for ripio-client 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ripio_client-0.0.3.tar.gz | 8.5 kB | Without provenance | Details for ripio_client-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ripio_client-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for ripio_client-0.0.3-py3-none-any.whl |
Total release size: 17.8 kB
Release files / ripio_client-0.0.3.tar.gz
| Download URL | ripio_client-0.0.3.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1da318aebb4eaa23116d063ec5f4b2535575a6e93f54eda4c0bbe432d62d592c
|
|
BLAKE2b-256 checksum How to use checksums |
cc34cf5606315f5dbf254ea42a78577883f74f2abfa69740387f02a72f90ddb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / ripio_client-0.0.3-py3-none-any.whl
| Download URL | ripio_client-0.0.3-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
becca85e045576c729511b224f8f13b693e8d10bb4b2762997d25475327e74a1
|
|
BLAKE2b-256 checksum How to use checksums |
6b9e26d060d02bd47bed689c70bc3da434ee4ec1f9b35728222de83ee58dcc15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for ripio-client 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.