1363/position-snapshot/SKILL.md
Generate OHLC candlestick charts with position overlays — entry price, open limit orders, PnL, and liquidity zones. Use when the user wants a visual snapshot of their current trading position on a price chart.
npx skillsauth add starchild-ai-agent/community-skills @1363/position-snapshotInstall 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.
Generate OHLC candlestick charts overlaid with live position data — entries, limit orders, PnL, and custom zones.
hl_account() (or orderly_positions()) to get current position: entry price, size, side, uPnL, leverage, liquidation pricehl_open_orders() to get resting limit ordershl_candles(coin=ASSET, interval="4h", lookback=336) for 14 days of 4H candles (adjust interval/lookback to user preference)scripts/render_position_chart.pyoutput/ directorypython skills/position-snapshot/scripts/render_position_chart.py \
--coin BTC \
--side short \
--entry 72837 \
--size 0.01286 \
--leverage 10 \
--pnl 21.73 \
--roe 23.2 \
--current-price 71231 \
--liq-price 132641 \
--candles candles.json \
--orders orders.json \
--zones '{"External Range Liq": [72600, 75300]}' \
--output output/position_snapshot.png
| Param | Required | Description |
|-------|----------|-------------|
| --coin | ✅ | Asset symbol (BTC, ETH, etc.) |
| --side | ✅ | Position side: long or short |
| --entry | ✅ | Entry price |
| --size | ✅ | Position size in base asset |
| --leverage | ✅ | Leverage multiplier |
| --pnl | ✅ | Unrealized PnL in USD |
| --roe | ✅ | Return on equity % |
| --current-price | ✅ | Current mark price |
| --liq-price | No | Liquidation price (shown if provided) |
| --candles | ✅ | Path to JSON file with OHLC candle data (array of {t, o, h, l, c}) |
| --orders | No | Path to JSON file with open orders (array of {price, size, side}) |
| --zones | No | JSON string of named price zones: {"name": [low, high]} |
| --output | No | Output path (default: output/position_snapshot.png) |
| --interval | No | Label for candle interval (default: 4H) |
| --title | No | Custom chart title |
[{"t": 1772740800, "o": 70875.5, "h": 71530.4, "l": 70805.9, "c": 71231.2}, ...]
[{"price": 73800, "size": 0.00235, "side": "sell"}, ...]
{t, o, h, l, c} formathl_candles() use this format nativelytools
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.