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.1.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.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thalex-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 45a9a6bb719df9186150e1d94aa39490c15cbd5781b40800122a051821447326
MD5 824e067c7e460330ead80c9f84643afb
BLAKE2b-256 2adbbc02b57ca6551569c55f0e3bd91f5bc7014235bb7ee3632f4f0ee4168be4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thalex-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e6b26d7d940645b0eb2884fe05f6331528b08822598aa62692c5223dcaa5ae
MD5 1f081c750310d40e4f3db80568f7992f
BLAKE2b-256 c2cefb0761a896fa72440a9b2e1255d6746b8201655891cf186bdb98c45738b9

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