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.2.0.tar.gz (13.5 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.2.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for thalex-1.2.0.tar.gz
Algorithm Hash digest
SHA256 6a32305908181f4d4986b59f87c9fb1246d0ead22f3a79d9e1afdbdea3b11847
MD5 1a0022593a91ece991563415abda8866
BLAKE2b-256 ddabe9cd0b47080f48b6fe2c2f7587b0a91eaff51a7b37b0e76c300b3396e9b6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for thalex-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5885780af9b60ff5717f6f589f6c53415173939adda459de981cb07642ada80
MD5 8b96f187da983627a5f98039e2eee33e
BLAKE2b-256 686afc68ad840bb1274b0a371be74e178367fac12fa0c80790af675cc66fdded

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