A Python-based Bitcoin trading research project built around Binance 15-minute market data, technical indicators, model training experiments, signal generation, Telegram alerts, and Binance Futures testnet execution.
This public candidate is prepared as a safe showcase version of the original private working project. The repo intentionally keeps the code and workflow visible while omitting local credentials, virtual environments, raw datasets, trained model files, and runtime state.
- historical spot and futures data collection
- multiple training paths including XGBoost and LSTM
- threshold tuning and periodic simulation scripts
- live signal checking from recent candles
- Telegram notification helper
- optional Binance Futures testnet execution helper
data.py- download spot BTCUSDT candles and build feature-ready historical datamining_premium.py- collect futures candle data and funding-rate history for the premium strategy path
latih_model.py- LSTM training pipelinelatih_xgboost.py- XGBoost classification experimentlatih_swing_profit.py- swing-strategy training and profit simulationlatih_sniper.py- short-window threshold tuning for sniper-style entrieslatih_premium.py- funding-rate-aware premium model traininglatih_final.py- market behavior scan for target / holding explorationcari_setingan_terbaik.py- parameter search helpersimulasi_berkala.py- grouped simulation report generator
cek_sinyal.py- evaluate recent candles and produce a live decision signalbot_otomatis.py- 15-minute scheduler wrappertelegram_utils.py- Telegram notification helper using env varseksekusi_demo.py- Binance Futures testnet execution helper using env varscek_gpu.py- environment / accelerator check
- collect local data with
data.pyormining_premium.py - train one or more candidate models with the relevant
latih_*.pyscripts - keep generated artifacts locally
- run
cek_sinyal.pyagainst fresh market data - optionally schedule checks with
bot_otomatis.py - optionally forward alerts to Telegram or route to Binance Futures testnet helpers
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .envRequired local variables:
TELEGRAM_BOT_TOKENTELEGRAM_CHAT_IDBINANCE_TESTNET_API_KEYBINANCE_TESTNET_SECRET_KEY
Example commands:
python data.py
python latih_swing_profit.py
python cek_sinyal.py
python bot_otomatis.pydocs/QUICKSTART.mddocs/SCRIPT_MAP.mddocs/WORKFLOW.md
This showcase copy intentionally excludes:
- raw datasets
- trained model artifacts and scalers
- local virtualenv folders
- active runtime state
- private Telegram / Binance credentials
This repo is presented as a practical research and automation project, not financial advice. It is best understood as an evolving experiment in feature engineering, filtering, and automation around BTCUSDT on 15-minute data.