Metadata-Version: 2.1
Name: x10-python-trading
Version: 0.1.1
Summary: Python client for X10 API
Author: X10
Author-email: tech@ex10.org
Requires-Python: >=3.10,<4.0
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: aiohttp (==3.9.1)
Requires-Dist: ecdsa (==0.18.0)
Requires-Dist: fast-stark-crypto (==0.1.0)
Requires-Dist: fastecdsa (==2.3.0)
Requires-Dist: mpmath (==1.3.0)
Requires-Dist: numpy (==1.26.2)
Requires-Dist: pydantic (==2.5.3)
Requires-Dist: pyyaml (==6.0.1)
Requires-Dist: sympy (==1.12)
Requires-Dist: websockets (==12.0)
Description-Content-Type: text/markdown

# X10

Python client for [X10 API](https://x101.docs.apiary.io).

Minimum Python version required to use this library is `3.10` (you can use [pyenv](https://github.com/pyenv/pyenv) to manage your Python versions easily).

## Contribution

Make sure you have [poetry](https://python-poetry.org/) 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

