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.1.0.tar.gz (11.4 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.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for thalex-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8392a4dedf18f174b2f7dc5df8313c5933c1e17036076ebdb5a0aa24c0c8fb8f
MD5 26788c5a40045ceb90edf88eef499c21
BLAKE2b-256 ed9349dffc06fd380d5ee7bd68c975ee43879e22869a634e0cc880bf0ceb819b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thalex-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9c6f24ade56bba08b211b2e9d33fca86eb98147a1ed50192e812ae322212207
MD5 42beca943f48e42c7ec190694003901e
BLAKE2b-256 5cba27337710b328ffc6525f6d318b70cf5b7ada569f72548d939fb01b468046

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