5322/fvg-engine/SKILL.md
--- name: "@5322/fvg-engine" version: 1.0.0 --- # FVG-Delta Crypto Signal Engine v6.0 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. ## The strategy — five lo
npx skillsauth add starchild-ai-agent/community-skills @5322/fvg-engineInstall 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.
development
--- name: "@5326/fvg-delta-forex-engine" version: 6.0.0 --- # FVG-Delta Forex Signal Engine v6.0 A production FastAPI service that scans the global forex market on **15-minute candles**, runs a strict lock-forward Smart-Money-Concept (SMC) staged state machine, and alerts on the late stages. It is the forex evolution of the FVG-Delta crypto engine — **identical strategy**, refined for forex speed and mechanics. ## What it scans A curated, liquidity-screened universe (no illiquid exotics, no
development
Builds and app/bot to print Crypto Futures Signals based on a Strategy.
development
--- name: "@5312/delta-strategy" version: 1.0.0 --- # FVG-Delta Crypto Signal Engine — Agent / Maintainer Guide (v5.5) This is the single source of truth for any AI agent or engineer taking over this project. Read it fully before touching `app.py`. It explains the strategy, the code workflow, every bug that was fixed in this revision, the current state, and the rules for updating the app and its docs safely. --- ## 1. What the app is A production-style FastAPI service that scans **MEXC UST-
tools
Turn a low QuoteSim trust score into a real validated $/day number with zero CLI for the user. When the user wants to "validate" an asset, "get a real number", "make it trustworthy", or asks how to run the shadow logger, this skill sets up real-tape collection + scoring as scheduled tasks and reports back automatically when the readiness gate clears.