wu/docs
← Home
Getting Started

Configuration

A single wu.toml at the root of every strategy declares data sources, risk caps, and broker routing.

Example wu.toml

wu.toml
[strategy]
name    = "momentum-15m"
version = "0.1.0"

[data]
provider = "robinhood"
fallback = ["polygon", "yfinance"]

[risk]
max_nav_per_position = 0.01
max_concurrent       = 5
day_loss_halt        = 0.03
kill_switch          = true

[broker.robinhood]
mode     = "paper"     # paper | live
account  = "primary"
session  = "vault://robinhood/primary"

Environment

WU_BOT_TOKEN=...          # control plane token
LOVABLE_API_KEY=...       # optional: LLM gateway
ROBINHOOD_MFA_SEED=...    # stored in the vault, never in .env