Skip to main content

Python wrapper for Lime Trader REST API (https://docs.lime.co/trader/)

Project description

Lime-Trader-SDK

Quick example:

  1. Install lime-trader-sdk
$ pip install lime-trader-sdk

If you use Poetry, you can install it by running:

$ poetry add lime-trader-sdk
  1. Create credentials.json file 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"
}
  1. 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


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.3.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lime_trader_sdk-0.3.3-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file lime_trader_sdk-0.3.3.tar.gz.

File metadata

  • Download URL: lime_trader_sdk-0.3.3.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/3.10.0-1062.el7.x86_64

File hashes

Hashes for lime_trader_sdk-0.3.3.tar.gz
Algorithm Hash digest
SHA256 cf3331b53e9266c23b7a74bfe637fbaf3ca332af1e48670a231532affa671f69
MD5 dbb3631d2ea29e82490e74c9ab312ef9
BLAKE2b-256 8e41fbcb0f4305171b9bff8a3ef29b9223177b3a7ad07b017ea813a2991fdfb2

See more details on using hashes here.

File details

Details for the file lime_trader_sdk-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: lime_trader_sdk-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/3.10.0-1062.el7.x86_64

File hashes

Hashes for lime_trader_sdk-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa5d6476d05943a7d59b35a35a57c0efa41872e4c8eefadcc056f49fa98f2206
MD5 916a51b56ad1eff1d9613d2752913755
BLAKE2b-256 8d2ac9e19cab6136eeff6ce794ca0113dc3584c0e327df7360cd20cbdc9b1a07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page