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.3.2.tar.gz
(23.0 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.3.2.tar.gz.
File metadata
- Download URL: lime_trader_sdk-0.3.2.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/3.10.0-1062.el7.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95f3cb7daa5a9df3b74f3aa93b645db597c4b9f525fe2d012e2660af9e9e5797
|
|
| MD5 |
faa5780a130e68ab1b5930a94dfe4aab
|
|
| BLAKE2b-256 |
755b00330ccd60e14df8c7e09e373e326ff7f45441787f89d266495f72e6da56
|
File details
Details for the file lime_trader_sdk-0.3.2-py3-none-any.whl.
File metadata
- Download URL: lime_trader_sdk-0.3.2-py3-none-any.whl
- Upload date:
- Size: 37.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/3.10.0-1062.el7.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9bad0a27d94c12cf67b37759b2d5b0415499f88ff7b8b8983a02364d6fdc722
|
|
| MD5 |
1f179c3ee51d07f76e7bc30e48119338
|
|
| BLAKE2b-256 |
c6f5d515345b680c67723534cd751fa5d8343960a7f4bf2bc75785fe49a6f947
|