Thalex exchange connector
Project description
Intro
This is a free to use python exchange connector library for Thalex.
It is provided free of charge, as is, with no warranties and no recommendations – see MIT license. It is not meant to be an advisory tool, nor an inducement, but to lower the development learning curve for users.
See also the api documentation.
thalex.py has a function for every websocket endpoint with typehints and a recieve function that returns the messages from the exchange one by one.
How to install
The easiest is just
pip install thalex
Alternatively, if you want the examples as well, you can
git clone https://github.com/thalextech/thalex_py.git
cd thalex_py
pip install -e ./
Examples
There are some examples on how you could use this library in the examples folder.
Keep in mind that the examples are not meant to be financial advice, they just illustrate what an implementation of a trading bot could look like.
If you want to run the examples, you have to rename/copy _keys.py to keys.py, create api keys on thalex ui and put them in keys.py.
How to run bots 24/7 in the cloud
See this guide about how you can get a bot up and running in the cloud.
NFA, your warranty is void
Feel free to use this library however you want, just remember that nothing is financial advice here and nothing comes with warranty.
Issues
If you spot any errors/bugs please report or create a pull request.
You can also reach out on thalex_py@thalex.com
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file thalex-1.3.0.tar.gz.
File metadata
- Download URL: thalex-1.3.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e76b91f93cbbc2001153b470cf39bf160ca6c4119bf8ec4368f63480405cfac0
|
|
| MD5 |
a8def70caeb967d46deed99694f5df91
|
|
| BLAKE2b-256 |
ebe13face9c0c151b5d8499081ef417271d0536c8d447aceb62ef849323964ef
|
File details
Details for the file thalex-1.3.0-py3-none-any.whl.
File metadata
- Download URL: thalex-1.3.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b313d5558a7f44e526fb43dc5038143fb84bfd333fe895832be00d0e796c3d09
|
|
| MD5 |
01d0a51478f73064de524133c8f25dc4
|
|
| BLAKE2b-256 |
7ef004b66e3e432eb268be3f006f8153432afd7aab6aacc9a892f652f4a5527c
|