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.5.tar.gz (21.7 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.5-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lime_trader_sdk-0.3.5.tar.gz
  • Upload date:
  • Size: 21.7 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

Hashes for lime_trader_sdk-0.3.5.tar.gz
Algorithm Hash digest
SHA256 ea148b2612f1f3497d7c19f2decfce1cc3153470735d96ac313de1fa2a1a437c
MD5 f34e941e400e536a522b8f960176813d
BLAKE2b-256 a94da6e1f66e9a4840bba23c1e5fba3651de6b03a80b484f005cd918b5aee06e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lime_trader_sdk-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 34.6 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

Hashes for lime_trader_sdk-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4588fabc77b9e852d0a61b2a9abda569180ed958bd82579709e8a912da52643c
MD5 8c86b2d63f3d57b2ce6500d6fe8686e2
BLAKE2b-256 7a7c971ee96148c32c0e52c730bb055000245b99ecf33841f271a49f85e69aaa

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