{"id":68251,"plugin_id":"plugin_asdk_app_6ad081dc0b8c8191827e799b0d067207","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-10-28T13:13:17.768Z","digest":"7024dd4d6259987f18c9b210fa22c6411f3f1c2f72a43f0c95225bd8c6a3caf6","against":null,"payload":{"description":"Turn an investing or trading strategy the user describes in plain English into explicit Shadowfolio rules, ask for any missing specifics (what to trade, when to buy, when to sell, how often to rebalance, how to size positions), backtest it over the last 12 months against a benchmark, and offer to save it for daily forward tracking. Use when the user wants to test, backtest, paper-trade or track a strategy of their own. Not for picking investments.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":445}],"name":"test-a-strategy","skill_md_contents":"---\nname: test-a-strategy\ndescription: Turn an investing or trading strategy the user describes in plain English into explicit Shadowfolio rules, ask for any missing specifics (what to trade, when to buy, when to sell, how often to rebalance, how to size positions), backtest it over the last 12 months against a benchmark, and offer to save it for daily forward tracking. Use when the user wants to test, backtest, paper-trade or track a strategy of their own. Not for picking investments.\n---\n\nUse this skill when the user describes a strategy of their own and wants to know how it would have done, or wants to track it from today. The user's explicit instructions always come first.\n\n## Inputs\n\nThe strategy in the user's words. The `strategy` fields of the Shadowfolio tools hold what the user said:\n\n- **What to trade:** their tickers (`universe.symbols`, up to 50), `universe.preset` `sp500` (optionally one `sector`) or `popular_etfs`.\n- **When to buy:** `entry` rules, all of which must hold: price against an N-day average, a fast and a slow average, RSI, return over N days, distance from an N-day high. A rule can look at another ticker with `symbol`, for example \"only while SPY is above its 200-day average\". `rank` chooses among many (\"the 5 with the best 6-month return\": `rank` by `return`, 126 days, `highest`, `max_positions` 5).\n- **When to sell:** `exit` rules (any one sells), `stop_loss_pct`, `take_profit_pct`, `max_hold_days`. An empty `exit` list means \"sell what no longer qualifies at the next rebalance\".\n- **How often:** `rebalance` daily, weekly, monthly or quarterly.\n- **How to size:** `sizing` equal, inverse_volatility or fixed_weights (with `weights` in percent), and `max_positions`.\n- Optional: `cash_symbol` (where idle money sits), `benchmark` (SPY unless named), `cost_bps`.\n\nMonths are 21 trading days (3 months = 63, 6 months = 126, 1 year = 252).\n\n## Flow\n\n1. When any of the five specifics is missing, `draft_strategy` takes what the user said and returns the open questions, each with its default, short enough to ask in one message. Tickers, numbers and rules come from the user, or from those defaults.\n2. Once the user answers, or accepts the defaults, `run_backtest` takes the rules (the `rules` from `draft_strategy`, updated with the answers).\n3. The result ends with a summary suitable to show the user: return, benchmark return, max drawdown, Sharpe ratio, trades and win rate, and that the results are hypothetical.\n4. When the user wants to keep it, `save_strategy` takes the same rules. Shadowfolio tracks it daily from the latest close.\n5. Later, `list_my_strategies` shows how each saved strategy is doing, and `show_strategy` shows one in detail. `create_share_link` makes a public link when the user asks for one.\n\n## Scope\n\n- Shadowfolio doesn't recommend, pick or rank securities, funds or strategies, and its results don't say whether a strategy is good, will work or should be followed.\n- Backtest and tracking figures come from the tools' results, computed on stored daily closes.\n- Shadowfolio can't trade, connect to a broker or move money.\n- A tool result with a `problem` (an unknown ticker, prices still loading) has a sentence for the user that says what happened.\n- A question about what to buy is investment advice, which Shadowfolio doesn't give; it can test a rule the user describes.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}