Python wrapper for Lime Trader REST API (https://docs.lime.co/trader/)
Project description
Lime-Trader-SDK
Quick example:
- Install lime-trader-sdk
$ pip install lime-trader-sdk
If you use Poetry, you can install it by running:
$ poetry add lime-trader-sdk
- Create
credentials.jsonfile with next content:
{
"username": "<your_username>",
"password": "<your_password>",
"client_id": "<client_id>",
"client_secret": "<client_secret>",
"grant_type": "password",
"base_url": "https://api.lime.co",
"auth_url": "https://auth.lime.co"
}
- Copy next code to your python script to create client and get account balances:
import pprint
from lime_trader import LimeClient
client = LimeClient.from_file(file_path="credentials.json")
balances = client.account.get_balances()
pprint.pprint(balances)
For more information, check out the docs!
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
lime_trader_sdk-0.0.5.tar.gz
(21.8 kB
view details)
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 lime_trader_sdk-0.0.5.tar.gz.
File metadata
- Download URL: lime_trader_sdk-0.0.5.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/3.10.0-1062.el7.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7937f3ef323dde8f91f7ff75538edf5ee964aee1f12c3117b5ad352830bb9fb3
|
|
| MD5 |
52c7c79d1db1a88b70a786dc318bf991
|
|
| BLAKE2b-256 |
f0d01edd001ce818a03f6923f4c97722425e150df411cfe8a5bf29d8eeb64794
|
File details
Details for the file lime_trader_sdk-0.0.5-py3-none-any.whl.
File metadata
- Download URL: lime_trader_sdk-0.0.5-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/3.10.0-1062.el7.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e3a4b1d1979ee26471fe3195e0707371a7db41ffa08292516d243ab1e1ba3c9
|
|
| MD5 |
37afe6778aefd343fe4c1ae0daec7702
|
|
| BLAKE2b-256 |
cb4f6499533462ff2321ee433f284ecee93ec1c42e5f0d4d188167165fef7319
|