initial: import DOLPHIN baseline 2026-04-21 from dolphinng5_predict working tree
Includes core prod + GREEN/BLUE subsystems: - prod/ (BLUE harness, configs, scripts, docs) - nautilus_dolphin/ (GREEN Nautilus-native impl + dvae/ preserved) - adaptive_exit/ (AEM engine + models/bucket_assignments.pkl) - Observability/ (EsoF advisor, TUI, dashboards) - external_factors/ (EsoF producer) - mc_forewarning_qlabs_fork/ (MC regime/envelope) Excludes runtime caches, logs, backups, and reproducible artifacts per .gitignore.
This commit is contained in:
50
prod/configs/blue.yml
Executable file
50
prod/configs/blue.yml
Executable file
@@ -0,0 +1,50 @@
|
||||
# BLUE — Champion SHORT (production-frozen config)
|
||||
strategy_name: blue
|
||||
direction: short_only
|
||||
|
||||
engine:
|
||||
boost_mode: d_liq # GOLD engine: LiquidationGuardEngine (8x/9x + liq guard)
|
||||
vel_div_threshold: -0.02
|
||||
vel_div_extreme: -0.05
|
||||
min_leverage: 0.5
|
||||
max_leverage: 5.0 # NOTE: ignored by d_liq mode — actual soft cap = 8.0 (D_LIQ_SOFT_CAP)
|
||||
abs_max_leverage: 6.0 # NOTE: ignored by d_liq mode — actual hard cap = 9.0 (D_LIQ_ABS_CAP)
|
||||
leverage_convexity: 3.0
|
||||
fraction: 0.20
|
||||
fixed_tp_pct: 0.0095 # updated from 0.0099 — TP sweep 2026-03-06: 95bps best (ΔROI=+12.30%)
|
||||
stop_pct: 1.0
|
||||
max_hold_bars: 120
|
||||
use_direction_confirm: true
|
||||
dc_lookback_bars: 7
|
||||
dc_min_magnitude_bps: 0.75
|
||||
dc_skip_contradicts: true
|
||||
dc_leverage_boost: 1.0
|
||||
dc_leverage_reduce: 0.5
|
||||
use_asset_selection: true
|
||||
min_irp_alignment: 0.45
|
||||
use_sp_fees: true
|
||||
use_sp_slippage: true
|
||||
sp_maker_entry_rate: 0.62
|
||||
sp_maker_exit_rate: 0.50
|
||||
use_ob_edge: true
|
||||
ob_edge_bps: 5.0
|
||||
ob_confirm_rate: 0.40
|
||||
lookback: 100
|
||||
use_alpha_layers: true
|
||||
use_dynamic_leverage: true
|
||||
seed: 42
|
||||
# V7 exit engine — active SL (exit_reason tagged V7_MAE_SL_VOL_NORM / V7_COMPOSITE_PRESSURE)
|
||||
# Rollback: set use_exit_v7: false (restores pure TP/MAX_HOLD, no restart needed after config reload)
|
||||
use_exit_v7: true
|
||||
v6_bar_duration_sec: 11.0 # eigenscan cadence
|
||||
bounce_model_path: /mnt/dolphinng5_predict/prod/models/bounce_detector_v3.pkl
|
||||
|
||||
paper_trade:
|
||||
initial_capital: 25000.0
|
||||
data_source: live_arrow_scans # reads from eigenvalues/ as they're written
|
||||
log_dir: paper_logs/blue
|
||||
vol_p60: 0.00009868 # CANONICAL gold static threshold — 2-file seg calibration (Dec31-Jan1)
|
||||
|
||||
hazelcast:
|
||||
imap_state: DOLPHIN_STATE_BLUE
|
||||
imap_pnl: DOLPHIN_PNL_BLUE
|
||||
45
prod/configs/blue.yml.pre_v7_bak
Executable file
45
prod/configs/blue.yml.pre_v7_bak
Executable file
@@ -0,0 +1,45 @@
|
||||
# BLUE — Champion SHORT (production-frozen config)
|
||||
strategy_name: blue
|
||||
direction: short_only
|
||||
|
||||
engine:
|
||||
boost_mode: d_liq # GOLD engine: LiquidationGuardEngine (8x/9x + liq guard)
|
||||
vel_div_threshold: -0.02
|
||||
vel_div_extreme: -0.05
|
||||
min_leverage: 0.5
|
||||
max_leverage: 5.0 # NOTE: ignored by d_liq mode — actual soft cap = 8.0 (D_LIQ_SOFT_CAP)
|
||||
abs_max_leverage: 6.0 # NOTE: ignored by d_liq mode — actual hard cap = 9.0 (D_LIQ_ABS_CAP)
|
||||
leverage_convexity: 3.0
|
||||
fraction: 0.20
|
||||
fixed_tp_pct: 0.0095 # updated from 0.0099 — TP sweep 2026-03-06: 95bps best (ΔROI=+12.30%)
|
||||
stop_pct: 1.0
|
||||
max_hold_bars: 120
|
||||
use_direction_confirm: true
|
||||
dc_lookback_bars: 7
|
||||
dc_min_magnitude_bps: 0.75
|
||||
dc_skip_contradicts: true
|
||||
dc_leverage_boost: 1.0
|
||||
dc_leverage_reduce: 0.5
|
||||
use_asset_selection: true
|
||||
min_irp_alignment: 0.45
|
||||
use_sp_fees: true
|
||||
use_sp_slippage: true
|
||||
sp_maker_entry_rate: 0.62
|
||||
sp_maker_exit_rate: 0.50
|
||||
use_ob_edge: true
|
||||
ob_edge_bps: 5.0
|
||||
ob_confirm_rate: 0.40
|
||||
lookback: 100
|
||||
use_alpha_layers: true
|
||||
use_dynamic_leverage: true
|
||||
seed: 42
|
||||
|
||||
paper_trade:
|
||||
initial_capital: 25000.0
|
||||
data_source: live_arrow_scans # reads from eigenvalues/ as they're written
|
||||
log_dir: paper_logs/blue
|
||||
vol_p60: 0.00009868 # CANONICAL gold static threshold — 2-file seg calibration (Dec31-Jan1)
|
||||
|
||||
hazelcast:
|
||||
imap_state: DOLPHIN_STATE_BLUE
|
||||
imap_pnl: DOLPHIN_PNL_BLUE
|
||||
68
prod/configs/green.yml
Executable file
68
prod/configs/green.yml
Executable file
@@ -0,0 +1,68 @@
|
||||
# GREEN — SHORT-only mirror of BLUE + V7 RT exit engine (experimental staging)
|
||||
#
|
||||
# BLUE compliance (2026-04-13):
|
||||
# direction : short_only (was: long)
|
||||
# boost_mode : d_liq (NEW — matches BLUE's create_d_liq_engine)
|
||||
# max_hold_bars : 250 (matches BLUE live; OB cascade halves to ~125)
|
||||
# min_irp_alignment : 0.0 (was: 0.45 — matches BLUE's ENGINE_KWARGS)
|
||||
# max_leverage : 8.0 (D_LIQ soft cap; informational)
|
||||
# abs_max_leverage: 9.0 (D_LIQ hard cap; informational)
|
||||
# vol_p60 : 0.00009868 (gold canonical — matches BLUE)
|
||||
# hazelcast.state_map: DOLPHIN_STATE_GREEN
|
||||
#
|
||||
# V7 additions (GREEN only):
|
||||
# use_exit_v7 : true (V7 = vol-normalized MAE + bounce_score/risk ML)
|
||||
# v6_bar_duration_sec : 5.0 (eigenscan cadence; swap to 1.0 when NT runs 1s bars)
|
||||
# bounce_model_path : path to bounce_detector_v3.pkl
|
||||
# Rollback: set use_exit_v7: false, use_exit_v6: true to revert to pure V6
|
||||
|
||||
strategy_name: green
|
||||
direction: short_only
|
||||
|
||||
engine:
|
||||
boost_mode: d_liq # BLUE compliance: D_LIQ engine (LiquidationGuardEngine)
|
||||
vel_div_threshold: -0.02
|
||||
vel_div_extreme: -0.05
|
||||
min_leverage: 0.5
|
||||
max_leverage: 8.0 # D_LIQ soft cap (informational — d_liq ignores this)
|
||||
abs_max_leverage: 9.0 # D_LIQ hard cap (informational — d_liq ignores this)
|
||||
leverage_convexity: 3.0
|
||||
fraction: 0.20
|
||||
fixed_tp_pct: 0.0095
|
||||
stop_pct: 1.0
|
||||
max_hold_bars: 250 # BLUE compliance; OB cascade halves to ~125 at runtime
|
||||
use_direction_confirm: true
|
||||
dc_lookback_bars: 7
|
||||
dc_min_magnitude_bps: 0.75
|
||||
dc_skip_contradicts: true
|
||||
dc_leverage_boost: 1.0
|
||||
dc_leverage_reduce: 0.5
|
||||
use_asset_selection: true
|
||||
min_irp_alignment: 0.0 # BLUE compliance (was 0.45)
|
||||
use_sp_fees: true
|
||||
use_sp_slippage: true
|
||||
sp_maker_entry_rate: 0.62
|
||||
sp_maker_exit_rate: 0.50
|
||||
use_ob_edge: true
|
||||
ob_edge_bps: 5.0
|
||||
ob_confirm_rate: 0.40
|
||||
lookback: 100
|
||||
use_alpha_layers: true
|
||||
use_dynamic_leverage: true
|
||||
seed: 42
|
||||
# V7 RT exit engine (GREEN only — observer mode; not present in BLUE config)
|
||||
use_exit_v7: true # V7: vol-normalized MAE + bounce_score/risk ML injection
|
||||
use_exit_v6: false # V6 fallback — set true here + false above to roll back
|
||||
v6_bar_duration_sec: 5.0 # scan cadence; set 1.0 when NT runs 1-second bars
|
||||
bounce_model_path: /mnt/dolphinng5_predict/prod/models/bounce_detector_v3.pkl
|
||||
|
||||
paper_trade:
|
||||
initial_capital: 25000.0
|
||||
data_source: live_arrow_scans
|
||||
log_dir: paper_logs/green
|
||||
vol_p60: 0.00009868 # gold canonical (was 0.000099)
|
||||
|
||||
hazelcast:
|
||||
imap_pnl: DOLPHIN_PNL_GREEN
|
||||
imap_state: DOLPHIN_STATE_GREEN
|
||||
state_map: DOLPHIN_STATE_GREEN # capital persistence map (was defaulting to BLUE)
|
||||
64
prod/configs/green.yml.pre_v7_bak
Executable file
64
prod/configs/green.yml.pre_v7_bak
Executable file
@@ -0,0 +1,64 @@
|
||||
# GREEN — SHORT-only mirror of BLUE + V6 RT exit engine (experimental staging)
|
||||
#
|
||||
# BLUE compliance (2026-04-13):
|
||||
# direction : short_only (was: long)
|
||||
# boost_mode : d_liq (NEW — matches BLUE's create_d_liq_engine)
|
||||
# max_hold_bars : 250 (matches BLUE live; OB cascade halves to ~125)
|
||||
# min_irp_alignment : 0.0 (was: 0.45 — matches BLUE's ENGINE_KWARGS)
|
||||
# max_leverage : 8.0 (D_LIQ soft cap; informational)
|
||||
# abs_max_leverage: 9.0 (D_LIQ hard cap; informational)
|
||||
# vol_p60 : 0.00009868 (gold canonical — matches BLUE)
|
||||
# hazelcast.state_map: DOLPHIN_STATE_GREEN
|
||||
#
|
||||
# V6 additions (GREEN only):
|
||||
# use_exit_v6 : true
|
||||
# v6_bar_duration_sec: 5.0 (eigenscan cadence; swap to 1.0 when NT runs 1s bars)
|
||||
|
||||
strategy_name: green
|
||||
direction: short_only
|
||||
|
||||
engine:
|
||||
boost_mode: d_liq # BLUE compliance: D_LIQ engine (LiquidationGuardEngine)
|
||||
vel_div_threshold: -0.02
|
||||
vel_div_extreme: -0.05
|
||||
min_leverage: 0.5
|
||||
max_leverage: 8.0 # D_LIQ soft cap (informational — d_liq ignores this)
|
||||
abs_max_leverage: 9.0 # D_LIQ hard cap (informational — d_liq ignores this)
|
||||
leverage_convexity: 3.0
|
||||
fraction: 0.20
|
||||
fixed_tp_pct: 0.0095
|
||||
stop_pct: 1.0
|
||||
max_hold_bars: 250 # BLUE compliance; OB cascade halves to ~125 at runtime
|
||||
use_direction_confirm: true
|
||||
dc_lookback_bars: 7
|
||||
dc_min_magnitude_bps: 0.75
|
||||
dc_skip_contradicts: true
|
||||
dc_leverage_boost: 1.0
|
||||
dc_leverage_reduce: 0.5
|
||||
use_asset_selection: true
|
||||
min_irp_alignment: 0.0 # BLUE compliance (was 0.45)
|
||||
use_sp_fees: true
|
||||
use_sp_slippage: true
|
||||
sp_maker_entry_rate: 0.62
|
||||
sp_maker_exit_rate: 0.50
|
||||
use_ob_edge: true
|
||||
ob_edge_bps: 5.0
|
||||
ob_confirm_rate: 0.40
|
||||
lookback: 100
|
||||
use_alpha_layers: true
|
||||
use_dynamic_leverage: true
|
||||
seed: 42
|
||||
# V6 RT exit engine (GREEN experimental — not present in BLUE config)
|
||||
use_exit_v6: true
|
||||
v6_bar_duration_sec: 5.0 # eigenscan cadence; set 1.0 when NT runs 1-second bars
|
||||
|
||||
paper_trade:
|
||||
initial_capital: 25000.0
|
||||
data_source: live_arrow_scans
|
||||
log_dir: paper_logs/green
|
||||
vol_p60: 0.00009868 # gold canonical (was 0.000099)
|
||||
|
||||
hazelcast:
|
||||
imap_pnl: DOLPHIN_PNL_GREEN
|
||||
imap_state: DOLPHIN_STATE_GREEN
|
||||
state_map: DOLPHIN_STATE_GREEN # capital persistence map (was defaulting to BLUE)
|
||||
Reference in New Issue
Block a user