Skip to main content

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

thalex-1.0.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

thalex-1.0.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file thalex-1.0.0.tar.gz.

File metadata

  • Download URL: thalex-1.0.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for thalex-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ea3f8948979dfa317beca83a4858f6aaa7b145c9d844efc6f1368ac3526ce15a
MD5 fc6b4dfd87270e910b35e107bfb749a8
BLAKE2b-256 f606971049319197b63771a3b0aa69bdf9b93f0ea5576a2bb78c38548587b779

See more details on using hashes here.

File details

Details for the file thalex-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: thalex-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for thalex-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fdb0a8f4c5fbab4454c6b3d6781ee62ab62f0d08e42a4f3d731becc4b8f384e
MD5 af3087b15ef23a46ccdcf154645d19eb
BLAKE2b-256 c978b096e54a4d4681fd5358baaee6a0e0415bd51ad82fda452accf3ea172419

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