donewiththedollar/directionalscalper
概要
CCXT based algorithmic trading framework for Bybit and other CCXT supported exchanges
ビジネス・金融計測したスター増加
- 24時間
- 0
- 7日間
- +1
- 15日間
- +1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルDirectional 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)
関連プロジェクトを探す
読み込み中…




