Put Trend Score (pure K-line quant model)
Runs a deterministic, 12-factor technical model over daily OHLCV bars to produce three scores:
trend (UP/DOWN/SIDEWAYS + strength), sellPut (0-100 suitability for opening a new short put),
and rollPut (0-100 risk score for an existing short put — higher = more reason to roll/exit).
The model uses only price and volume — no implied volatility, Greeks, strike, or expiration.
Treat its output as one technical input, never as an assignment probability or standalone
trade recommendation. User-facing output language: Chinese (matches this user's communication
preference), unless the user asks otherwise.
Runtime constraint — read before touching the script
This sandbox's node only executes a single CommonJS-style script with builtin require().
It does not support ESM import/export or require() of local sibling files. All model
logic is already bundled into one file: scripts/run.js. Do not split it back into modules and
do not try to import it — always invoke it as a single script per the Usage section below.
Finding the script — never guess or hardcode the install path
This skill can be installed in different ways (store, user workspace, etc.), and each install
location puts it at a different absolute path on disk. There is no fixed path that works for
every install — do not assume or hardcode any path pattern, and never reuse a path you recall from
a prior session or from this document's own examples.
The only reliable source of this skill's actual root directory is the result of the loadSkil