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
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
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.3.tar.gz
(21.5 kB
view hashes)
Built Distribution
hades_core-0.0.3-py3-none-any.whl
(22.4 kB
view hashes)
Close
Hashes for hades_core-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 602f7c81c01d5a20275371dcfc75534217ef6a22ddfaf796364062f1c2a016d6 |
|
MD5 | 113a8c269bd263302558af76cb107916 |
|
BLAKE2b-256 | 10a53d13c1427969821494dde7c799c2bf8807443eb7e52dc0fbb0c4461005f3 |