donewiththedollar/directionalscalper
Tentang
CCXT based algorithmic trading framework for Bybit and other CCXT supported exchanges
Bisnis dan keuanganPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +1
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliDirectional Scalper Multi Exchange
An algorithmic trading framework built using CCXT for multiple exchanges
Directional Scalper documentation
Links
- Website: https://quantumvoid.org
- API (BYBIT): https://api.quantumvoid.org/data/quantdatav2_bybit.json
- Discord: https://discord.gg/4GvHqPxfud
| Directional Scalper | API Scraper | Dashboard | Directional Scalper Multi | Menu GUI |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
Requirements
- Python 3.11+ (Docker image:
python:3.14) - Dependencies:
pip install -r requirements.txt
Quick start (multi-symbol rotator)
python3 multi_bot_aio.py --exchange bybit --account_name account_1 --strategy qsgridob --config configs/config.json
Copy configs/config_example.json + configs/account_example.json to configs/config.json / configs/account.json first.
Strategies (multi-bot)
| Name | Description |
|---|---|
qsgridob |
Linear grid base futures (signal-driven) |
qsgridob_nosignal |
Same grid, immediate-entry (no signal wait) |
qstrendobdynamictp |
Trend scalp with dynamic TP |
breathinggrid |
Volume-farming breathing grid — volatility-derived 6-level maker ladder that re-prices (“breathes”) every cycle; sequential-add gating, fee-aware TPs, leverage/notional caps, session drawdown breaker. Runs on Bybit and BloFin (BloFin order flow is attributed to the configured broker code). Untested on live funds — start with testnet keys or a dust budget_usd. |
Start the breathing grid with the helper script:
./start_breathing_grid.sh # BloFin defaults
EXCHANGE=bybit ./start_breathing_grid.sh # Bybit
ACCOUNT_NAME=myacct CONFIG=configs/config.json ./start_breathing_grid.sh
Configure sizing via the optional bot.breathing_grid dict in your config (see configs/config_example.json).
DS Bridge — terminal UI
A Hummingbot-style terminal console: status strip, running-bots table, classified LOG/ALERTS pane, and a persistent >>> command line.
./start_tui.sh # or: python3 -m ds_tui
The TUI is read-only over trading state. Commands:
| Command | Action |
|---|---|
bots / status |
refresh running-bot discovery |
log <name> [lines] |
tail a log from logs/ |
errors [n] |
recent critical lines across logs |
grep <pattern> |
search newest logs |
config <file.json> |
view a config — all secrets redacted |
stop <pid|name> |
stop a bot process (y/N confirmed) |
help, quit |
you guessed it |
Docker
To run the bot inside docker container use the following command:
docker-compose run directional-scalper python3 bot.py --symbol SUIUSDT --strategy qsgridob --config configs/config_example.json
Proxy
If you need to use a proxy to access the Exchange API, you can set the environment variables as shown in the following example:
$ export HTTP_PROXY="http://10.10.1.10:3128" # these proxies won't work for you, they are here for example
$ export HTTPS_PROXY="http://10.10.1.10:1080"
Setting up Telegram alerts (not used currently)
- Get token from botfather after creating new bot, send a message to your new bot
- Go to https://api.telegram.org/bot<bot_token>/getUpdates
- Replacing <bot_token> with your token from the botfather after creating new bot
- Look for chat id and copy the chat id into config.json
Developer instructions
- Install developer requirements from pipenv
pipenv install --dev(to keep requirements in a virtual environment) - Install pre-commit hooks
pre-commit install(if you intend to commit code to the repo) - Run tests
pytest -vv(smoke + breathing-grid policy unit tests live intests/) - Terminal UI lives in
ds_tui/; strategy math is pure/testable indirectionalscalper/core/strategies/bybit/gridbased/breathing_policy.py
To do:
- A lot of top secret cutting edge stuff
- Huobi, Binance, Phemex, MEXC base. (MEXC Futs API down until Q4)
Jelajahi proyek terkait
Memuat…




