Stock Strategy Development
Specify stock strategy rules, inspect Python signals and test distinct research mechanisms on explicit inputs.
22 guides
- A 12-minus-1 stock momentum strategy with monthly ranking
Rebuild a US-stock twelve-minus-one momentum ranking, twenty-name monthly baskets, skipped-month checks and replacement costs on synthetic data.
- Hand-check rolling calculations in AI-generated stock strategy code
Hand-check rolling stock means, return endpoints, sample versus population deviation and strict-threshold signals with explicit tolerances.
- A stock insider cluster-buying strategy using public Form 4 timestamps
Screen reviewed Form 4 common-share purchases into independent-person clusters, public entry timestamps and a complete losing stock account.
- A monthly low-volatility stock selection backtest
Reproduce monthly low-volatility stock selection with sixty-three returns, stale-price exclusions, twenty-name rebalances and terminal cash checks.
- A long-only US stock residual reversal research strategy
Use lagged twenty-observation stock-market regression residuals for a long-only reversal, with recovery, expiry and exact account checks.
- Turn a stock strategy idea into a backtestable specification
Convert one stock strategy sentence into explicit data, window, holding-state, risk-priority and next-open rules with executable acceptance paths.
- A post-earnings announcement drift stock strategy research pack
Freeze historical earnings expectations and public timestamps before scheduling a twenty-session stock holding and checking exact net cash.
- Validate cross-sectional stock selection in multi-symbol strategy code
Verify same-time cross-sectional stock ranking with aligned prices, changing membership, missing history and input-order invariance.
- How to write a Python stock backtest strategy interface
Validate a Python stock strategy contract, then test real pandas inputs, keyed Series outputs, index alignment and declared signal semantics.
- A five-day loser stock reversal strategy with fixed holding exits
Reproduce a five-session loser stock basket with liquidity screening, fixed batch exits, overlapping-signal priority and a net cash ledger.
- Check generated stock strategies for hidden runtime inputs
Isolate hidden runtime inputs in fixed-rule stock functions with targeted dependency blocking, controlled clock changes and seeded local draws.
- Test generated stock signals on sparse and incomplete input bars
Test stock signals on sparse bars, invalid prices and zero volume with explicit waiting, reset and recovery behavior rather than fabricated fills.
- Trace stock strategy parameters from specification to effective code
Trace stock strategy settings from requested values to effective class constants, using explicit adapter and ignored-field counterexamples.
- Diagnose generated stock strategy import and construction failures
Locate pre-signal Python failures by parsing, importing, discovering and constructing a stock strategy class before calling its generator.
- Check stock strategy data and execution requirements
Adjudicate stock strategy data and execution requirements before coding, with actual local matcher rejections and an explicitly revised contract.
- A long-only stock trend-following backtest rule pack
Reproduce a fixed 120-session stock trend rule, next-open fills, persistent holdings and a missing-open counterexample with synthetic cash ledgers.
- A stock breakout strategy with volume confirmation and expiry
Reproduce full-window stock breakouts, volume confirmation, failure and expiry exits, and blocked fills through explicit synthetic account paths.
- Test stock strategy code for look-ahead with truncated price data
Compare stock signals across truncated histories and future-value changes to expose negative shifts, global normalization and centered windows.
- Test stock strategy holding states separately from entry conditions
Separate stock entry triggers, holding states, exit priority and cooldown boundaries using an executable eleven-session state-path fixture.
- A turn-of-the-month stock basket strategy with calendar-only entries
Schedule a fixed stock basket around month end using provided NYSE sessions, then separate calendar exits from missing-price execution.
- A US stock free-cash-flow value strategy using available filings
Build a quarterly free-cash-flow stock ranking from dated four-quarter inputs, explicit capex signs and a twenty-stock cash ledger.
- A US stock quality strategy with cash conversion rules
Combine gross-profit-to-assets ranking with positive income and cash coverage, then trace quarterly eligibility changes into net stock cash.