5312/fvg-delta-crypto-engine-build/SKILL.md
Builds and app/bot to print Crypto Futures Signals based on a Strategy.
npx skillsauth add starchild-ai-agent/community-skills @5312/fvg-delta-crypto-engine-buildInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A production FastAPI service that scans MEXC UST-M perpetual futures on closed
15-minute candles, runs a strict lock-forward Smart-Money-Concept (SMC) staged
state machine, draws annotated chart screenshots, sends per-trade Telegram alerts,
and serves a live dashboard with an in-memory Trade History. Everything lives in
assets/app.py; the rest is config, docs, and entrypoints.
Each stage is searched ONCE and its bar index is stored; stages only advance, hard- invalidate, or expire. Never skip or regress.
leverage = round_to_5(LEV_TARGET_SL_LOSS_PCT / stop_distance_%), clamped to
[LEV_MIN, LEV_MAX] (20–50) and the pair's exchange max. Default target = 50% of
margin at SL. Wider stop → lower leverage. TP is uncapped (rides TP1/TP2).
A confirmed Stage-4 trade emits its own alert chain, each fired once on candle close: Entry Confirmed → TP1 Hit (close 50% + move SL to break-even) → SL Hit / TP2 Hit / Break-Even Close. Only terminal Stage-4 outcomes reach Trade History; Stage 1–3 invalidations are removed beforehand.
load_symbols ranks the MEXC perp universe by 24h quote turnover (amount24) via
/contract/ticker and keeps the top UNIVERSE_TOP_N, so BTC/ETH/SOL/XRP lead.
Tokenized equities/commodities/indices are excluded (UNIVERSE_EXCLUDE + the
UNIVERSE_EXCLUDE_CONTAINS="STOCK" substring rule for the xStock family).
# 1. credentials (never paste keys in chat — use the secure env flow)
cp .env.example .env # set TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID
# 2. local
bash assets/run_one_shot.sh
# 3. docker / Hugging Face Spaces (Docker SDK)
docker build -t fvg-delta assets/ && docker run -p 7860:7860 --env-file .env fvg-delta
Endpoints: / (dashboard), /health, /api/state, /api/chart.png?symbol=BTC_USDT.
Without Telegram creds the UI still runs; alerts are skipped and logged.
assets/VARIABLES_AND_SECRETS_GUIDE.txt (§14 covers every v6.0 variable).bars[-2] (last CLOSED candle); bars[-1] (forming) is never used.brotli package installed and send
Accept-Encoding: gzip, deflate.CFG (env override + default) over hard-coding, and
keep stage strictness intact (sequential, no skipping, close-through = invalidation).assets/)app.py (engine), Dockerfile, start.sh, run_one_shot.sh, preflight_check.py,
requirements.txt, AGENT.md (maintainer guide + v6.0 changelog),
STRATEGY_DETAILED_SPEC.txt, VARIABLES_AND_SECRETS_GUIDE.txt, README.md.
Read assets/AGENT.md before editing app.py.
tools
TQX (tqx.trade) HK/US stock quant workflow via tqx-cli: cross-sectional factor analysis, event-driven strategy backtests on the panda_backtest engine, and agent-driven automated paper trading. Use when the user wants to run factor IC/IR analysis, backtest a Python trading strategy on Hong Kong or US stocks, or set up agent-automated trading (e.g. "backtest a moving-average strategy on AAPL", "analyze a momentum factor on HK stocks", "let the agent trade my paper account").
tools
中学物理实验教学参赛方案套件。包含四个完整实验(单摆测g、声悬浮测声速、向心力定量演示仪、电磁阻尼定量研究),每套含固件源码、3D打印图纸、教学PPT、教学文稿、采购清单、调试手册、视频分镜脚本、模拟器。Use when a teacher/student needs a complete, classroom-ready physics experiment package for competition or teaching.
development
End-to-end blog management for AI agents. Write, import, build, preview, and publish articles using the blog template. Covers draft workflow, article import, SEO, OG images, and deployment.
development
ESP8266/ESP32 + 磁簧开关/霍尔传感器 单摆测重力加速度实验套件。 硬件搭建→固件烧录→数据采集→Web仪表盘→g值计算→教学文档,一站式完成。 Use when the user wants to build a pendulum g-measurement experiment, measure gravity with a micro-controller, or needs a complete physics experiment package with hardware + firmware + dashboard + teaching materials.