Individual skill
pybroker-rotational-trading
Build ranked-signal and rotational PyBroker strategies using the bundled PyBroker wiki references generated from the local docs. Use when an agent needs to rank symbols with ctx.long_score or ctx.short_score, cap positions with Strategy.set_max_long_positions or set_max_short_positions, rotate a portfolio into its top-ranked symbols with Strategy.enable_rotation and a worst_rank_held hold band, write a custom rotation sizer over RotationContext long_ranks and short_ranks, choose between ranked-cap prioritization and full rotation, carry stops and fill prices into rotation orders, handle unrankable NaN scores or long/short overlap, screen a dynamic universe with a SymbolSelector before ranking, search position caps or worst_rank_held as hyperparams, migrate deprecated StrategyConfig.max_long_positions code, or debug rotation errors such as worst_rank_held below a position cap or a sizer without rotation enabled.
skills/pybroker-rotational-trading/SKILL.md
Source commit 01f11fdd42b76ef564a7f550c247a3dfce81330e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 2, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,679
- Repository last updated
- Nov 7, 2026
- License
- NOASSERTION
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- algotrading Repository topic
- backtesting Repository topic
- machine-learning Repository topic
- python Repository topic
- trading Repository topic
- quantitative-finance Repository topic
- stocks Repository topic
- framework Repository topic
- investment Repository topic
- ai Repository topic
- docs Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 13,696 bytesSKILL.mdcore · 13,696 bytesSKILL.mdcore · 13,696 bytesagents/openai.yamlasset · 306 bytesassets/rotation_template.pyruns · 4,327 bytesreferences/api-public-surface.mddoc · 87,110 bytesreferences/pybroker_context.pyiasset · 12,325 bytesreferences/pybroker_model.pyiasset · 12,873 bytesreferences/pybroker_strategy.pyiasset · 9,216 bytesreferences/pybroker_types.pyiasset · 14,697 bytesreferences/rotational-patterns.mddoc · 19,097 bytesreferences/wiki-04-ranking-long-and-short-signals.mddoc · 3,127 bytesreferences/wiki-10-rotational-trading.mddoc · 3,997 bytesreferences/wiki-18-dynamic-symbol-selection.mddoc · 3,652 bytesreferences/wiki-index.mddoc · 2,543 bytes
No licensed excerpt is available. You can inspect the pinned source.