Create a trade plan named WEAK_IBS_TRADE_PLAN. Use a maximum holding period of 60 days and a universe containing only SPY. Enter when IBS is below 0.1 and exit when IBS is above 0.8.
Real Sessions
Browse complete strategy-research conversations, from the first natural-language request through validated artifacts, simulation, and analysis.
WEAK_IBS
A simple SPY mean-reversion hypothesis carried from natural-language rules to a twenty-year historical simulation.
I’ll create the requested trade plan with the exact name, universe, holding period, and IBS rules.
Created by WhaleRider.
Definition ID: 6aae9c9331249edb825f66a9
# ============================================================================== # WHALERIDER TRADE-PLAN CONFIGURATION # ============================================================================== # Artifact Name: WEAK_IBS_TRADE_PLAN # Purpose: Defines market scope, calculations, signals, and trading decisions. # Status: Generated configuration; validation is required before deployment. # Website: https://whalerider.org # WhaleRider © 2026 RockSoldi. All rights reserved. # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------ # TRADE-PLAN IDENTITY # ------------------------------------------------------------------------------ # Identifies this trade-plan definition using the required stable artifact name. NAME: WEAK_IBS_TRADE_PLAN # ------------------------------------------------------------------------------ # TRADE DIRECTION # ------------------------------------------------------------------------------ # Opens long positions when the daily internal bar strength condition is oversold. SIDE: LONG # ------------------------------------------------------------------------------ # RISK MANAGEMENT # ------------------------------------------------------------------------------ # Limits each position to a maximum holding period of sixty calendar days. # Existing positions are not replaced when capital is unavailable. RISK: HOLDING_MAX_PERIOD: 60D REPLACEMENT_MODE: NONE # ------------------------------------------------------------------------------ # MARKET UNIVERSE # ------------------------------------------------------------------------------ # Restricts all evaluation and trading activity to the SPY ticker. UNIVERSE: TICKERS: - SPY # ------------------------------------------------------------------------------ # INDICATORS # ------------------------------------------------------------------------------ # Captures daily closing, low, and high prices for internal bar strength. # IBS measures the close's location within the daily high-to-low price range. INDICATORS: - NAME: DAILY_CLOSE DOMAIN: CANDLE INTERVAL: DAY MEASUREMENT: Close - NAME: DAILY_LOW DOMAIN: CANDLE INTERVAL: DAY MEASUREMENT: Low - NAME: DAILY_HIGH DOMAIN: CANDLE INTERVAL: DAY MEASUREMENT: High - NAME: IBS DOMAIN: DERIVED MEASUREMENT: (DAILY_CLOSE - DAILY_LOW) / (DAILY_HIGH - DAILY_LOW + 0.0000001) # ------------------------------------------------------------------------------ # SIGNALS # ------------------------------------------------------------------------------ # Identifies an oversold IBS reading below 0.1 for entry. # Identifies an elevated IBS reading above 0.8 for the signal-based exit. SIGNALS: - NAME: IBS_OVERSOLD IS: IBS < 0.1 - NAME: IBS_OVERBOUGHT IS: IBS > 0.8 # ------------------------------------------------------------------------------ # TRADING CRITERIA # ------------------------------------------------------------------------------ # Enters when daily IBS is below 0.1 and exits when it exceeds 0.8. # The independent sixty-day maximum holding control remains active. CRITERIA: ENTER: IF: IBS_OVERSOLD EXIT: IF: IBS_OVERBOUGHT # ------------------------------------------------------------------------------ # LEGAL AND RISK NOTICE # ------------------------------------------------------------------------------ # This configuration is provided for technical and informational use only. # It is not investment, financial, legal, or tax advice and is not a # recommendation or solicitation to buy, sell, or hold any instrument. # Trading involves risk of loss. Margin and short selling may result in # losses exceeding the capital initially committed. # Historical, backtested, and simulated results do not guarantee future results. # ==============================================================================
Create a risk policy named WEAK_IBS_RISK_POLICY. Set maximum position risk and maximum allocation to 100% of equity.
I’ll create the requested risk policy with the exact allocation limits.
Created by WhaleRider.
Definition ID: 6aae9cdb31249edb825f66aa
# ============================================================================== # WHALERIDER RISK-POLICY CONFIGURATION # ============================================================================== # Artifact Name: WEAK_IBS_RISK_POLICY # Purpose: Defines reusable limits for position value and loss exposure. # Status: Generated configuration; validation is required before deployment. # Website: https://whalerider.org # WhaleRider © 2026 RockSoldi. All rights reserved. # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------ # POSITION LIMITS # ------------------------------------------------------------------------------ # Defines per-position value and risk limits as percentages of account equity. # This policy permits each new position to use up to the full current account # equity, subject to available buying power and strategy allocation capacity. NAME: WEAK_IBS_RISK_POLICY # Caps one new position at 100% of current account equity. MAX_POSITION_VALUE_PCT: 100 # Targets a maximum loss budget of 100% of current account equity per position. MAX_POSITION_RISK_PCT: 100 # ------------------------------------------------------------------------------ # LEGAL AND RISK NOTICE # ------------------------------------------------------------------------------ # This configuration is provided for technical and informational use only. # It is not investment, financial, legal, or tax advice and is not a # recommendation or solicitation to buy, sell, or hold any instrument. # Trading involves risk of loss. Margin and short selling may result in # losses exceeding the capital initially committed. # Historical, backtested, and simulated results do not guarantee future results. # ==============================================================================
Create a strategy from both definitions and call it WEAK_IBS_STRATEGY.
I’ll link the trade plan and risk policy into WEAK_IBS_STRATEGY.
Created by WhaleRider.
Definition ID: 6aae9d0b31249edb825f66ab
# ============================================================================== # WHALERIDER STRATEGY CONFIGURATION # ============================================================================== # Artifact Name: WEAK_IBS_STRATEGY # Purpose: Connects one deployed trade plan to one deployed risk policy. # Status: Generated configuration; validation is required before deployment. # Website: https://whalerider.org # WhaleRider © 2026 RockSoldi. All rights reserved. # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------ # DEPLOYED ARTIFACT REFERENCES # ------------------------------------------------------------------------------ # Binds the strategy to validated, deployed artifact identifiers. # Identifies this strategy artifact using the supplied stable definition name. NAME: WEAK_IBS_STRATEGY # References the supplied deployed trade plan that defines trading rules. TRADE_PLAN_ID: 6aae9c9331249edb825f66a9 # References the supplied deployed risk policy that defines risk limits. RISK_POLICY_ID: 6aae9cdb31249edb825f66aa # ------------------------------------------------------------------------------ # LEGAL AND RISK NOTICE # ------------------------------------------------------------------------------ # This configuration is provided for technical and informational use only. # It is not investment, financial, legal, or tax advice and is not a # recommendation or solicitation to buy, sell, or hold any instrument. # Trading involves risk of loss. Margin and short selling may result in # losses exceeding the capital initially committed. # Historical, backtested, and simulated results do not guarantee future results. # ==============================================================================
Create a simulation called WEAK_IBS_SIMULATION from 2006-01-01 to 2025-12-31, with initial cash of $100,000.
I’ll create the historical simulation using the strategy just created, for the requested date range and initial cash.
Created by WhaleRider.
Definition ID: 6aae9d3631249edb825f66ac
# ============================================================================== # WHALERIDER SIMULATION CONFIGURATION # ============================================================================== # Artifact Name: WEAK_IBS_SIMULATION # Purpose: Defines a historical multi-strategy simulation and account model. # Status: Generated configuration; validation is required before execution. # Website: https://whalerider.org # WhaleRider © 2026 RockSoldi. All rights reserved. # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------ # SIMULATION IDENTITY # ------------------------------------------------------------------------------ # Identifies this simulation artifact using its required stable definition name. NAME: WEAK_IBS_SIMULATION # ------------------------------------------------------------------------------ # STRATEGY ALLOCATION # ------------------------------------------------------------------------------ # Selects the deployed strategy for execution in the shared simulation account. # No strategy-specific gross-equity allocation cap is specified. STRATEGIES: - STRATEGY_ID: 6aae9d0b31249edb825f66ab # ------------------------------------------------------------------------------ # ACCOUNT ASSUMPTIONS # ------------------------------------------------------------------------------ # Sets starting cash and account equity in dollars. # Margin configuration is omitted, so no financing model is configured. INITIAL_CASH: 100000 # ------------------------------------------------------------------------------ # HISTORICAL DATE SCOPE # ------------------------------------------------------------------------------ # Defines the inclusive historical evaluation period using ISO calendar dates. FROM: 2006-01-01 TO: 2025-12-31 # ------------------------------------------------------------------------------ # LEGAL AND RISK NOTICE # ------------------------------------------------------------------------------ # This configuration is provided for technical and informational use only. # It is not investment, financial, legal, or tax advice and is not a # recommendation or solicitation to buy, sell, or hold any instrument. # Trading involves risk of loss. Margin and short selling may result in # losses exceeding the capital initially committed. # Historical, backtested, and simulated results do not guarantee future results. # ==============================================================================
Run the simulation and let me know when it has finished.
I started the simulation, waited for it to reach a terminal state, and checked the status after the service wait timed out.
The simulation finished successfully.
Simulation run ID: 6aae9d5431249edb825f66ad
Status: Completed
Show me a summary of the results.
Show me the annual returns and the equity curve.
Annual returns
2020 was strongest at 25.07%. The only negative years were 2011 and 2018.
Equity curve
Year-end view of the recorded annual results, ending at a 480.67% total return.
Show me the best trade and the worst trade.
| Ticker | Entered | Entry | Exited | Exit | Shares | P&L | Return | |
|---|---|---|---|---|---|---|---|---|
| Best trade | SPY | 2020-10-29 | $325.63 | 2020-11-17 | $359.23 | 1,061 | +$35,649.60 | +10.32% |
| Worst trade | SPY | 2018-12-13 | $266.40 | 2018-12-27 | $242.47 | 1,090 | −$26,083.70 | −8.98% |