Brighter
Browse, backtest and write rule-based portfolios of tokenized US stocks.
- 1.0.0
- Version
- remote
- Transport
- 11
- Tools
Security review
Review passedReviewed Jan 1, 2000.
- tools: 11 tools scanned
- metadata: scanned
No findings.
Tools (11)
list_strategies
List the strategies published on brighter.fi, newest or best-performing first. Each carries its rebalance cadence, the assets it can hold, and its return over the chosen period against its benchmark. Strategies that can hold leveraged or inverse funds are excluded unless asked for.
get_strategy
One strategy in full: what its rule does, the parameters you can tune with their ranges and defaults, every asset it can hold, and its benchmark. Use the parameter keys with backtest_strategy.
backtest_strategy
Run a published strategy over real market history with parameters of your choosing. Returns its figures against its benchmark. Values outside a parameter's range are snapped into it. This is a real backtest, so make each one count.
get_allocation
What a published strategy's rule holds right now, in basis points of the portfolio. This is the live target, computed from the latest close.
find_assets
Search the assets a Brighter strategy can hold — tokenized US stocks, ETFs and T-bills. A rule may only name a ticker that appears here.
asset_history
Daily closing prices for one asset over a calendar year, for checking a rule's premise against what actually happened.
dsl_reference
How to write a Brighter strategy: the language's blocks, indentation rules, indicators and limits. Read this before writing any rule — the language is small and specific, and guessing its syntax wastes a turn.
strategy_schema
The JSON schema for a strategy as an object, for when you would rather build the rule tree than write the text. check_strategy and backtest_code both accept text, which is usually easier.
check_strategy
Check a strategy written in Brighter's language: syntax, semantics, and whether every ticker it names is one Brighter can actually trade. Returns the faults with their line and column. Costs nothing and calls nothing upstream — check before you backtest.
format_strategy
Rewrite a strategy in the language's canonical form — the spelling Studio's editor shows. Useful for checking that what you wrote means what you think it means.
backtest_code
Run a strategy you have written against real market history and return its figures. This is a real backtest against real prices — not a simulation and not cached per call — so run it deliberately, after check_strategy passes. Returns metrics only, never the curve.