lime-trader-sdk


Namelime-trader-sdk JSON
Version 0.3.12 PyPI version JSON
download
home_pageNone
SummaryPython wrapper for Lime Trader REST API (https://docs.lime.co/trader/)
upload_time2024-11-04 13:47:59
maintainerNone
docs_urlNone
authorLime Financial
requires_python<4.0,>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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
```

2. Create `credentials.json` file with next content:

```json
{
  "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"
}
```

3. Copy next code to your python script to create client and get account balances:

```python
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!
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "lime-trader-sdk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Lime Financial",
    "author_email": "support@lime.co",
    "download_url": "https://files.pythonhosted.org/packages/c0/b9/7df937338c3c189544d4b3f4e7b5a10ca8fe416c0958cbd2bd790ea9262d/lime_trader_sdk-0.3.12.tar.gz",
    "platform": null,
    "description": "# Lime-Trader-SDK\n\nQuick example:\n\n1. Install lime-trader-sdk\n\n```\n$ pip install lime-trader-sdk\n```\n\nIf you use Poetry, you can install it by running:\n\n```\n$ poetry add lime-trader-sdk\n```\n\n2. Create `credentials.json` file with next content:\n\n```json\n{\n  \"username\": \"<your_username>\",\n  \"password\": \"<your_password>\",\n  \"client_id\": \"<client_id>\",\n  \"client_secret\": \"<client_secret>\",\n  \"grant_type\": \"password\",\n  \"base_url\": \"https://api.lime.co\",\n  \"auth_url\": \"https://auth.lime.co\"\n}\n```\n\n3. Copy next code to your python script to create client and get account balances:\n\n```python\nimport pprint\n\nfrom lime_trader import LimeClient\n\nclient = LimeClient.from_file(file_path=\"credentials.json\")\nbalances = client.account.get_balances()\npprint.pprint(balances)\n```\n\n\nFor more information, check out the docs!",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python wrapper for Lime Trader REST API (https://docs.lime.co/trader/)",
    "version": "0.3.12",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "91662afa8f80da6f7c6567e4d14745e3aeb309dc94a23bbaa09c26bb1b7a8596",
                "md5": "9c031b789ba97838de0df0869269fd31",
                "sha256": "ccf5923194dbd6ec454bc376fba09ca124c622679ef8cff1bc6027234e4f3342"
            },
            "downloads": -1,
            "filename": "lime_trader_sdk-0.3.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9c031b789ba97838de0df0869269fd31",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 37013,
            "upload_time": "2024-11-04T13:47:58",
            "upload_time_iso_8601": "2024-11-04T13:47:58.448662Z",
            "url": "https://files.pythonhosted.org/packages/91/66/2afa8f80da6f7c6567e4d14745e3aeb309dc94a23bbaa09c26bb1b7a8596/lime_trader_sdk-0.3.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c0b97df937338c3c189544d4b3f4e7b5a10ca8fe416c0958cbd2bd790ea9262d",
                "md5": "e438c4b05c63c776ddb3eab218260529",
                "sha256": "1f475d539364d9133614bcf4db851e35edfee30b585979bb677be0c0259d9716"
            },
            "downloads": -1,
            "filename": "lime_trader_sdk-0.3.12.tar.gz",
            "has_sig": false,
            "md5_digest": "e438c4b05c63c776ddb3eab218260529",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 23711,
            "upload_time": "2024-11-04T13:47:59",
            "upload_time_iso_8601": "2024-11-04T13:47:59.435637Z",
            "url": "https://files.pythonhosted.org/packages/c0/b9/7df937338c3c189544d4b3f4e7b5a10ca8fe416c0958cbd2bd790ea9262d/lime_trader_sdk-0.3.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-04 13:47:59",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "lime-trader-sdk"
}
        
Elapsed time: 0.33014s