Skip to main content

Python client for X10 API

Project description

X10

Python client for X10 API.

Minimum Python version required to use this library is 3.10 (you can use pyenv to manage your Python versions easily).

Contribution

Make sure you have poetry installed.

  • Clone the repository: git@github.com:x10xchange/python-trading.git
  • Navigate to the project directory: cd python-trading
  • Create a virtual environment: poetry shell
  • Install dependencies: poetry install
  • Update examples/placed_order_example.py with your credentials
  • Run it: python -m examples.placed_order_example

Custom commands:

  • make format - format code with black
  • make lint - run safety, black, flake8 and mypy checks
  • make test - run tests

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

x10_python_trading-0.1.1.tar.gz (132.8 kB view details)

Uploaded Source

Built Distribution

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

x10_python_trading-0.1.1-py3-none-any.whl (149.5 kB view details)

Uploaded Python 3

File details

Details for the file x10_python_trading-0.1.1.tar.gz.

File metadata

  • Download URL: x10_python_trading-0.1.1.tar.gz
  • Upload date:
  • Size: 132.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1016-azure

File hashes

Hashes for x10_python_trading-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8b9f4e004c85b824bac1f5922352e3d6c4c9dd6bbd85267394594c17e53f8512
MD5 e2077c6315848008d276229fe1a399cf
BLAKE2b-256 89e795c1c9fcd9564f8bc95775ed518c47d131ce96a10d5de94c3df95814c4b4

See more details on using hashes here.

File details

Details for the file x10_python_trading-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: x10_python_trading-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 149.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1016-azure

File hashes

Hashes for x10_python_trading-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c69a23ad904702fcba37d25c2f1ac9fc4479f5b0923e8e0da38c16aac76310c
MD5 90df5171dafb2e54f54e7e5d9dc97c45
BLAKE2b-256 4187639dfced916ab151950f63f4b4d1a4dc144cacb43ae521c4fad57cd15f4b

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