Novus Imperium / TRINITYLive Data
Valhalla Charts
A-001/A-002: endpoint inventory plus shared NI-palette Chart.js components for PnL, quant, conviction, risk, and execution.
Pair
Timeframe
Command Scope
Chart-Worthy Endpoint Inventory
A-001 inventory for the requested trading, conviction, risk, and execution surfaces, plus adjacent chart-worthy endpoints discovered during backend route scan.
10 rendered20 inventoried
Rendered NI Chart Surface
Endpoints already wired into the shared NI-palette chart components on this page.
TradingDaily bar + cumulative line
Rendered nowGET /api/valhalla/trading/pnl
Params: days, exchange
Measures: date, daily_pnl, cumulative_pnl, realized, unrealized
Note: Already emits chart_data in the API response; best baseline PnL chart.
TradingHorizontal ranking bars
Rendered nowGET /api/valhalla/trading/pnl/by-asset
Params: days
Measures: pair, total_pnl, trades, wins, losses, unrealized_pnl, total_exposure
Note: Two chart cuts: realized returns and open exposure by asset.
QuantPrice line + volume bars
Rendered nowGET /api/valhalla/quant/candles/{pair}/{timeframe}
Params: pair, timeframe, limit
Measures: ts, open, high, low, close, volume
Note: Chart.js core is present; this page uses close+volume instead of a candlestick plugin.
QuantEMA/BB overlays + oscillator lines
Rendered nowGET /api/valhalla/quant/indicators/{pair}/{timeframe}
Params: pair, timeframe, limit
Measures: bb_*, rsi_14, macd_line, ema_9/21/50, stochrsi_*, adx_14
Note: Indicator keys are sparse by pair/timeframe; charts degrade gracefully when series are absent.
ConvictionTop-score ranking bars
Rendered nowGET /api/valhalla/quant/conviction
Params: none
Measures: pair, conviction_score, direction, regime, signal_count, dimensions
Note: Best entry point for pair selection and leaderboard views.
ConvictionRadar dimension profile
Rendered nowGET /api/valhalla/quant/conviction/{pair}
Params: pair
Measures: conviction_score, dimensions.d1..d9, direction, signal_count, derived_confidence
Note: Pair-specific drilldown that powers the nine-dimension conviction radar.
ConvictionScore timeseries + driver overlays
Rendered nowGET /api/valhalla/quant/conviction/{pair}/history
Params: pair, hours, limit
Measures: ts, score, d1..d9, direction, regime
Note: Natural drilldown from the live conviction leaderboard.
StrategyAllocated vs current equity bars
Rendered nowGET /api/valhalla/quant/strategies
Params: none
Measures: strategy_code, display_name, current_equity, allocated_capital, win_rate, drawdown
Note: Pairs well with risk to show capital deployment against performance.
RiskDrawdown vs distance-to-kill bars
Rendered nowGET /api/valhalla/quant/risk
Params: none
Measures: max_drawdown_pct, distance_to_kill_pct, risk_level, portfolio totals
Note: Portfolio aggregate is useful for summary tiles; per-strategy fields chart cleanly.
ExecutionExecution-status doughnut
Rendered nowGET /api/valhalla/execution/status
Params: none
Measures: execution_mode, kill_switch, strategies[].status, pending_signals, risk_limits
Note: Operational chart, not performance chart; best for live mode / kill-switch readiness.
Adjacent Chart-Worthy Endpoints
Additional VALHALLA endpoints with clear chart payloads discovered during backend audit. These are inventoried for the next wiring pass but not rendered yet.
TradingPair contribution ranking
Inventory onlyGET /api/valhalla/trading/pnl/by-pair
Params: days
Measures: pair, total_pnl, realized_pnl, unrealized_pnl, trades
Note: Natural sibling to the asset breakdown and useful when pair aliases differ from asset buckets.
StrategySignal confidence timeline / type mix
Inventory onlyGET /api/valhalla/quant/strategies/{code}/signals
Params: code, limit
Measures: pair, timeframe, signal_type, confidence, created_at, status
Note: Best drilldown when a strategy card needs signal provenance behind current performance.
StrategyPnL scatter / trade distribution
Inventory onlyGET /api/valhalla/quant/strategies/{code}/trades
Params: code, limit, days
Measures: pair, pnl, pnl_pct, fees, duration_seconds, entry_at, exit_at
Note: Supports win/loss histograms, duration analysis, and recent-trade timelines per strategy.
StrategyDaily PnL curve + pair attribution
Inventory onlyGET /api/valhalla/strategy/{code}/analytics
Params: code
Measures: pnl_chart, pair_attribution, sharpe_ratio, sortino_ratio, max_drawdown_usd
Note: Already returns `pnl_chart`; this is the strongest next chart surface after the current dashboard.
ProductsProduct allocation doughnut / stacked weights
Inventory onlyGET /api/valhalla/products/allocation
Params: none
Measures: weights, base_weights, products[].weight_pct, ddq_floor, eligible_protocol_count
Note: Useful for NI product allocation visuals tied to live regime adjustments.
RiskPer-strategy risk heatmap / ranking bars
Inventory onlyGET /api/valhalla/risk-metrics
Params: none
Measures: drawdown_pct, distance_to_kill, exposure, var_95, daily_pnl, risk_level
Note: Broader ops-risk view than `/quant/risk`, with richer exposure and VaR fields.
RiskPortfolio gauges / KPI strip
Inventory onlyGET /api/valhalla/risk-metrics/summary
Params: none
Measures: open_positions, total_exposure, orders_24h, pnl_24h, total_equity, total_allocated
Note: Summary endpoint for compact chart cards or header-level operational gauges.
RegimeRegime confidence timeseries
Inventory onlyGET /api/valhalla/hmm-history
Params: pair, limit
Measures: pair, regime, confidence, signal_strength, transition_probs, created_at
Note: Good candidate for historical regime context alongside conviction and execution mode.
RegimeForecast confidence ranking
Inventory onlyGET /api/valhalla/forecasts
Params: pair, limit
Measures: pair, confidence, signal_strength, metadata, created_at
Note: Pairs well with conviction for cross-checking directional forecast confidence by pair.
MarketFunding / volume / trend leaderboards
Inventory onlyGET /api/valhalla/hyperliquid/top-movers
Params: limit
Measures: funding_rate_8h, avg_daily_volume_usd, trend_strength, symbol
Note: High-signal market snapshot endpoint if Valhalla charts expand past execution and strategy analytics.