Analysis updated 2026-06-24
Self-host a grid trading bot for BTC perpetuals on OKX with leverage and a USDT-per-grid budget.
Run a strategy container plus a Telegram bot container side by side on a Linux VPS.
Add a six-digit password confirmation to a personal Telegram trading bot before any order is sent.
Tail and restart a containerized trading loop after pulling a fresh image fix.
| bgylsport/bgyl | 0xhassaan/nn-from-scratch | 0xzgbot/hermes-comfyui-skills | |
|---|---|---|---|
| Stars | 0 | 0 | 0 |
| Language | — | Python | — |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 3/5 | 4/5 | 1/5 |
| Audience | ops devops | developer | designer |
Figures from each repo's GitHub metadata at analysis time.
Needs a Linux server with Docker, an IP-bound OKX V5 API key without withdrawal, and a BotFather Telegram bot before first run.
BGYL is a self-hosted quantitative trading bot for the OKX cryptocurrency exchange. The README is written in Chinese and describes the project as a private sandbox deployment, where all API keys and trading logic run only on the user's own server. The author frames this as the safety guarantee: keys never leave the box, so the operator alone bears the risk and control. Setup is delivered as a three-step guide. The first step covers preparation. The user needs a Linux server with Docker installed, an OKX V5 API key bound to the server's public IP address, and a Telegram bot created through BotFather. The README is explicit that the API key must be limited to read and trade permissions only, and that withdrawal must never be enabled. The user also notes their own Telegram numeric ID and picks a six-digit password used as a second confirmation step before any command runs. The second step writes a docker-compose.yml file with two services, both running the same image bgylcom/docker:latest. One container runs the main strategy loop, the other runs the Telegram bot. Environment variables hold the OKX credentials, a loop interval in seconds, and a strategy configuration string that encodes the symbol, direction, leverage, grid spacing, USDT per grid, and a maximum position value, for example BTC,long,10,0.01,10,1000. The third step starts everything with docker compose up -d, then explains how to tail the logs of either container, how to stop everything with docker compose down if something looks wrong, and how to pull a fresh image and restart after a fix. Remote control happens through the Telegram bot. The README does not state a license.
Self-hosted Docker-based quantitative trading bot for the OKX crypto exchange, with a Telegram remote control and a grid strategy configured via env vars.
License is not stated in the available content.
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly ops devops.
This repo across BitVibe Labs
Verify against the repo before relying on details.