Rime

How it works

Methodology

The rules are fixed. The AI advises. Nothing is hidden.

Investment universe

The portfolio invests exclusively in stocks listed on Oslo Børs. The eligible universe is maintained in a database table and can be updated without code changes. The universe currently covers 15 liquid large-cap stocks across seven sectors.

No stock is hardcoded. If a stock is delisted or marked inactive, it is excluded from the next rebalance automatically.

Strategies

Three strategies run in parallel from the same starting capital, scoring the same universe with the same AI call each day. They differ only in how they translate scores into a target allocation.

AI MomentumScore-weighted — positions sized proportionally to each stock's AI score. Higher scores get larger allocations, subject to the position-size caps.
AI Equal WeightThe same top-ranked stocks as Momentum, but every position receives an equal share of capital. Scores determine which stocks are included, not how much of each.
AI ConcentratedThe five highest-scoring stocks only, score-weighted. Higher conviction, higher single-stock risk.

Portfolio constraints

These limits are enforced by the construction algorithm and cannot be overridden — not even by the AI. The position count limit varies by strategy.

Starting capital1,000,000 NOK per strategy
Number of positions8–15 (Momentum & Equal Weight) / 5 (Concentrated)
Max position size20% of portfolio
Min position size3% of portfolio
Max sector exposure40% of portfolio
Max cash (post ramp-up)30% of portfolio

Execution model

The portfolio is reviewed once per day. Any rebalancing decision made at the end of day T is executed at the open of day T+1. There is no intraday trading.

Rebalancing is minimal by design — the algorithm only generates trades when the current allocation differs meaningfully from the target, to avoid unnecessary churn.

Cost model

All trades carry a realistic cost load to make the simulation credible. Costs are stored explicitly on each trade so historical reconstruction is exact regardless of future config changes.

Transaction cost0.05% of gross trade value
Slippage0.10% of gross trade value
Total per trade0.15% of gross trade value

The AI's role

The AI is strictly advisory. It scores each stock in the universe from 0 to 100 and provides a short thesis. Those scores are one input into the construction algorithm — nothing more.

The AI cannot directly allocate capital, execute trades, or override any constraint listed above. If the AI gives a high score to a stock that would breach the sector cap, the algorithm simply allocates less of it (or none).

AI can doScore stocks 0–100, write a short thesis, generate daily commentary
AI cannot doAllocate capital, execute trades, bypass any hard constraint
ModelClaude (Anthropic) — scores refreshed daily before market open

Portfolio construction

Each day the algorithm runs in this order:

  1. Fetch the current stock universe and today's AI scores.
  2. Rank stocks by score, highest first.
  3. Select the top candidates that fit within the strategy's position limit.
  4. Allocate capital according to the strategy mode: proportional to score (Momentum & Concentrated) or equally weighted (Equal Weight).
  5. Enforce all hard constraints (position size, sector cap, cash floor).
  6. Compare target allocation to current holdings.
  7. Generate the minimal set of buy and sell trades to rebalance.
  8. Record the new snapshot, trades, and AI log.

Benchmark

Performance is measured against the Oslo Børs All Share Index (OSEAX), fetched daily from Yahoo Finance. Daily values are stored alongside portfolio snapshots so the comparison remains accurate over time.

This portfolio is entirely fictional. No real money is invested. Nothing on this site constitutes financial advice.