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.2.1.tar.gz
(23.5 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.2.1.tar.gz.
File metadata
- Download URL: lime_trader_sdk-0.2.1.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/3.10.0-1062.el7.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03677da6eb087c044df800bf31e77131e954663264fe91a95693564346406cbb
|
|
| MD5 |
9e49f52da44e6f26361d5bd3f8af1d19
|
|
| BLAKE2b-256 |
4321697fabc90cc123039ddf8915662540951fde4d2f0b6f8600c832e0dde710
|
File details
Details for the file lime_trader_sdk-0.2.1-py3-none-any.whl.
File metadata
- Download URL: lime_trader_sdk-0.2.1-py3-none-any.whl
- Upload date:
- Size: 36.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/3.10.0-1062.el7.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d7d411057d43330715c84cdec3dd3139d15db0e1e54df6f3b659a065c14e11f
|
|
| MD5 |
35647b3a053adff55a26a2d7aab381e9
|
|
| BLAKE2b-256 |
145c40fa31e88624a7df5cd50f7006a847503b2746f972640baeb90601e0092e
|