Skip to content

Strategies

A strategy is a firm’s target mix: lines of investments and cash, each with a target weight. Portfolios follow a strategy; IDEALX measures how far each one has drifted and works out the trades that bring it back.

Field Meaning
id, name, objective Identity and what it is for
riskLevel 1 (lowest) to 7 (highest)
currency The currency it is measured in
benchmark The listing it is compared with, chosen by the firm (none by default)
minInvestment Optional minimum, { amount, currency }
rebalance { "kind": "drift" }, or { "kind": "calendar", "every": "monthly" | "quarterly" | "half_yearly" | "yearly" }
status draft, active or retired
currentVersion The version portfolios move to by default
items The lines of the current version

Each line is { "kind": "instrument" | "cash", "refId", "weightBp", "bandBp"? }. Weights are basis points: 2500 is 25%; a version’s weights add up to 10,000. bandBp is how far the line may drift before it counts as outside its band.

Changing a strategy’s lines or its saved checks makes a new version; earlier versions are kept, and each follower records the version it follows. GET …/strategies/{strategyId}/versions/diff?from=1&to=2 compares two versions. A version can carry saved checks (constraints): the most in one line, the most or least in a kind or a region, the most in a sector, the highest fee, the lowest yield, the most that is hard to sell.

GET /v1/firms/{firmId}/strategies/{strategyId} returns the strategy with its versions and its followers: each portfolio’s assignmentId, accountId, portfolioId, account name, version, total, driftBp and outside. On the account side, GET /v1/accounts/{id}/strategies returns, for each portfolio following a strategy, every line (targetBp, currentBp, driftBp, bandBp, outside, value, the change needed and its direction) and the trades that would rebalance it, trimmed so no saved check is pushed past (capped says which).

Strategies are built, versioned and assigned to portfolios in Console’s strategy cockpit. The Console API reads them and lets you turn drift into a proposal: see Rebalance from drift.