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!
Metadata
Release files for lime-trader-sdk 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lime_trader_sdk-0.4.1.tar.gz | 22.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lime_trader_sdk-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.5 kB
Release files / lime_trader_sdk-0.4.1.tar.gz
| Download URL | lime_trader_sdk-0.4.1.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
738b44322ae1bbc7cc2284924c1fb8470ecee6d8a6a17726cc38c85c72c96914
|
|
BLAKE2b-256 checksum How to use checksums |
596ebee78268531dbace7d427eea0677be6e9c9de7d7f83d9aa198d3a40a3bb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.15 Linux/3.10.0-1062.el7.x86_64
|
Release files / lime_trader_sdk-0.4.1-py3-none-any.whl
| Download URL | lime_trader_sdk-0.4.1-py3-none-any.whl |
|---|---|
| Size | 37.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e35386eb891dd5d54e5b0bb77c0586a58aff848bb7f59d7875d28e7aec471b8
|
|
BLAKE2b-256 checksum How to use checksums |
934d906897e5b1711d94d09b864aec94fba1db5b32bad89f09acf110e1437043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.15 Linux/3.10.0-1062.el7.x86_64
|