Skip to main content

cryptocurrency trading bot

Project description

Hades Bot

binance/okx based, currently it can only support real time Tick/Bar/Order/Position live update and monitor. In bot/strategies/sample , created a simple strategy, doing nothing but send notification alt text

How to start

1. Setup Environment

python -m venv runtime
runtime\Scripts\activate
pip install -r requirements.txt
# if requirements.txt not work
pip3 install python-okx websockets requests binance-futures-connector python-telegram-bot pydantic

2. Change Configuration

copy example.conf and rename to app.conf , change parameter

[binance]
apiKey           = apiKey
secretKey        = secretKey

[okx]
apiKey           = apiKey
secretKey        = secretKey
passphrase       = passphrase
ws_private       = wss://wsaws.okx.com:8443/ws/v5/private
ws_public        = wss://wsaws.okx.com:8443/ws/v5/public
ws_business      = wss://wsaws.okx.com:8443/ws/v5/business
domain           = https://aws.okx.com
useServerTime    = False

# optional
[dingding]
token            = token
prefix           = prefix
period           = 8-23

# optional
[telegram]
token            = token
period           = 8-23
chat             = chat

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

hades-core-0.0.4.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

hades_core-0.0.4-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file hades-core-0.0.4.tar.gz.

File metadata

  • Download URL: hades-core-0.0.4.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for hades-core-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a75d97b5b8b381d9829d098d17e98a04b9c7cf4ba6d7fca52a4497afd145615e
MD5 8ef94975314c16f830d4797b628b43bc
BLAKE2b-256 25b7185a5041b42ddd43b92988ed6ab24289625c22398fb9ce7a677158ffdee0

See more details on using hashes here.

File details

Details for the file hades_core-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: hades_core-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for hades_core-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d8258095813b12a8d67839da148c267da1d8d11c8617209e54bfb1d80bf9a433
MD5 9b679a431e502126faee3bc68724beb1
BLAKE2b-256 ff704fc59797acf16ead7d6ec42cf32e5db8e4b2c41830570be44dde3d8fe555

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page