Files
foxhunt/crates/ml/.sqlx/query-843f54679fefdc2fac88d4a80823b096db1b7689e39b3e70c8818f15886236d1.json
jgrusewski 9c3d741a08 refactor: restructure repo — crates/, bin/, testing/ layout
Move 17 library crates into crates/, CLI binary into bin/fxt,
consolidate 10 test crates into testing/, split config crate
from deployment config files.

Root directory reduced from 38+ to ~17 directories.
All Cargo.toml paths and build.rs proto refs updated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:56:00 +01:00

24 lines
1.4 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "\n INSERT INTO adaptive_strategy_metrics (\n symbol, regime, event_timestamp,\n position_multiplier, stop_loss_multiplier,\n regime_sharpe, risk_budget_utilization,\n total_trades, winning_trades, total_pnl\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)\n ON CONFLICT (symbol, event_timestamp, regime) DO UPDATE\n SET position_multiplier = EXCLUDED.position_multiplier,\n stop_loss_multiplier = EXCLUDED.stop_loss_multiplier,\n regime_sharpe = EXCLUDED.regime_sharpe,\n risk_budget_utilization = EXCLUDED.risk_budget_utilization,\n total_trades = adaptive_strategy_metrics.total_trades + EXCLUDED.total_trades,\n winning_trades = adaptive_strategy_metrics.winning_trades + EXCLUDED.winning_trades,\n total_pnl = adaptive_strategy_metrics.total_pnl + EXCLUDED.total_pnl\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Timestamptz",
"Float8",
"Float8",
"Float8",
"Float8",
"Int4",
"Int4",
"Int8"
]
},
"nullable": []
},
"hash": "843f54679fefdc2fac88d4a80823b096db1b7689e39b3e70c8818f15886236d1"
}