{
  "system": {
    "engine_name": "JackpotNanosecondEngine",
    "version": "1.1.0",
    "git_commit": "v1.1.0-zero-trust-multi-index",
    "environment": "LIVE_PRODUCTION",
    "hot_reload_enabled": true,
    "hot_reload_interval_ms": 100,
    "control_websocket_port": 8765
  },
  "asset_universe": {
    "supported_indices": [
      "NIFTY",
      "BANKNIFTY",
      "FINNIFTY"
    ],
    "strike_selection_mode": "ATM_AND_OTM_1",
    "min_option_premium": 60.0,
    "max_option_premium": 280.0,
    "opening_blackout_seconds": 600,
    "min_oi_volume_ratio": 2.5
  },
  "capital": {
    "auto_fetch_live_balance": true,
    "upstox_funds_endpoint": "https://api.upstox.com/v2/user/get-funds-and-margin?segment=SEC",
    "initial_cash": 26274.12,
    "current_cash": 26274.12,
    "margin_allocation_pct": 0.75,
    "safety_cushion_pct": 0.25,
    "max_trade_margin": 19705.59,
    "idle_cash_reserve": 6568.53,
    "max_concurrent_positions": 1,
    "max_daily_loss_cap_pct": 0.05,
    "max_daily_loss_cap_rupees": 1313.71,
    "circuit_breaker_active": false,
    "circuit_breaker_manual_reset_enabled": true,
    "max_executions_per_day": 10,
    "batch_review_interval": 5,
    "batch_win_probability_threshold": 0.7,
    "max_daily_loss_cap": 1313.71,
    "max_daily_trades": 10
  },
  "zero_trust_verification": {
    "required_consecutive_samples": 3,
    "sample_interval_us": 250,
    "max_sample_spread_divergence_pts": 0.05,
    "spoof_cancellation_threshold_ms": 10,
    "full_depth_ratio_levels": 5,
    "min_full_depth_ratio": 1.6,
    "require_cross_market_confirmation": true
  },
  "charges_and_taxes": {
    "statutory_roundtrip_base": 63.0,
    "brokerage_per_order": 20.0,
    "stt_rate_sell": 0.001,
    "turnover_rate_nse_fo": 0.000505,
    "gst_rate": 0.18,
    "sebi_turnover_per_crore": 10.0,
    "stamp_duty_rate_buy": 3e-05,
    "slippage_buffer_per_unit": 0.15,
    "guaranteed_net_cash_floor_b": 50.0,
    "min_net_cash_floor_b": 30.0,
    "max_net_cash_floor_b": 200.0
  },
  "strategy_thresholds": {
    "pre_trade_min_tick_velocity": 12,
    "pre_trade_min_bid_ask_ratio": 1.8,
    "pre_trade_min_depth_multiplier": 5.0,
    "max_bid_ask_spread_points": 0.4,
    "max_bid_ask_spread_rupees": 250.0,
    "stall_check_interval_sec": 6.0,
    "grace_extension_sec": 6.0,
    "micro_cut_points": 6.0,
    "trailing_profit_ignition_pts": 6.0,
    "trailing_ratchet_step_pts": 2.5,
    "catastrophic_gtt_stop_pct": 0.12
  },
  "sniper_mode": {
    "trigger_consecutive_losses": 2,
    "required_tick_velocity": 22,
    "required_cvd_multiplier": 2.5,
    "required_leader_unanimity_count": 4,
    "enforce_day_high_breakout_only": true
  },
  "deployment_and_remote_control": {
    "ec2_instance_id": "i-0165d4a9b17fb86de",
    "primary_elastic_ip": "3.111.10.146",
    "parallel_elastic_ip": "13.234.131.247",
    "ec2_control_port": 8765,
    "s3_release_bucket": "upstox-hft-releases-837873138765",
    "s3_release_prefix": "releases/v1",
    "allow_remote_parameter_patching": true
  },
  "websockets": {
    "ws1_order_execution": "wss://api.upstox.com/v2/order-stream",
    "ws2_market_depth": "wss://api.upstox.com/v2/feed/market-data-feed",
    "ws3_analysis_stream": "in_memory_shm_channel",
    "ws4_local_to_ec2_control": "ws://127.0.0.1:8765",
    "ws5_hot_backup_watchdog": "wss://api.upstox.com/v2/feed/market-data-feed/backup",
    "watchdog_timeout_ms": 1500,
    "tick_staleness_threshold_ms": 150
  },
  "time_gates": {
    "market_open_time": "09:15:00",
    "trading_start_time": "09:25:00",
    "midday_deadzone_start": "11:30:00",
    "midday_deadzone_end": "13:00:00",
    "mandatory_eod_squareoff_time": "15:20:00",
    "market_close_time": "15:30:00"
  }
}