Skip to main content

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!

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)

Source distribution for lime-trader-sdk 0.4.1
File Size Uploaded
lime_trader_sdk-0.4.1.tar.gz 22.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lime-trader-sdk 0.4.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page