Get Variants
Variants
Get Variants
Retrieve list of all available trading variants with their configuration
POST
Get Variants
Overview
Returns the complete list of available trading strategy variants, including their IDs, labels, descriptions, temperature settings, and UI colors. This endpoint provides the single source of truth for all variant definitions in the system.Request
Input Schema
Response
Output Schema
Array of variant configuration objects
Example Response
Variant Definitions
The system currently supports four trading strategy variants:Apex (Kelly Engine)
Apex (Kelly Engine)
Strategy: Aggressive momentum trader using 10x leverageKey Features:
- VWAP momentum validation
- Squeeze trading patterns
- Kelly criterion for position sizing
- High risk/reward ratio
#a855f7)Trendsurfer (Momentum)
Trendsurfer (Momentum)
Strategy: Classic trend following approachKey Features:
- ADX > 25 filter for strong trends
- Kijun-Sen trailing stops
- Momentum indicators
- Medium risk profile
#06b6d4)Contrarian (Reverter)
Contrarian (Reverter)
Strategy: Mean reversion in ranging marketsKey Features:
- ADX < 25 filter for range-bound conditions
- Fade to VWAP strategy
- Overbought/oversold signals
- Counter-trend entries
#e11d48)Sovereign (Adaptive)
Sovereign (Adaptive)
Strategy: Regime-adaptive hybrid approachKey Features:
- Blends trend and range strategies
- Dynamic allocation based on market conditions
- Higher temperature for creative decision-making
- Flexible risk management
#eab308)Usage
Implementation Details
Data Source
Variants are defined in the shared configuration module atsrc/core/shared/variants/index.ts:
Temperature Settings
The temperature values are retrieved from the prompt configuration (VARIANT_PROMPTS) which defines the AI model behavior for each variant:
- Lower temperature (0.5): More consistent, deterministic decisions
- Higher temperature (0.8): More creative, exploratory trading
Performance
- Cached: This endpoint returns static configuration and can be safely cached
- Response time: < 10ms (in-memory data)
- Monitoring: Tracked via Sentry span
variants.getVariants
Related Endpoints
Get Variant Stats
View aggregated performance statistics for each variant
Get Variant History
Retrieve historical portfolio data per variant
Notes
The variant list is static and defined at compile time. Adding new variants requires:
- Updating
VARIANT_IDSandVARIANT_CONFIGin the shared module - Creating corresponding prompt configurations
- Running database migrations to update the enum

