/* eslint-disable */
// Live trade data for the 8-driver War Room.
// Trade tuple: [time, verb, px, pts, type, why]
// type ∈ "open" | "watch" | "hold" | "win" | "lose" | "pit" | "flat" | "closed"

const WR_DRIVERS = [
  {
    code:"VL", name:"Velocity-Λ", no:1, est:"Mar 2025", color:"#FF9F1C",
    strat:"RSI回歸策略",
    desc:"元老車手 · 從第一天跑到現在 · 震盪盤主場，趨勢盤保守防守",
    side:"long", entry:"22,378", target:"22,430", unreal:"+40", realized:"+84", conf:78,
    trades:[
      ["14:30","▸ 做多 +2","22,378","-","open","RSI 23 超賣訊號 · 進場做多"],
      ["14:25","◆ 觀察中","22,388","-","watch","RSI 跌破 25 · 等下一根 K 確認"],
      ["14:00","▸ 平倉","22,346 → 22,392","+46","win","均值回歸達標 · 鎖利出場"],
      ["13:25","▸ 做多 +1","22,346","-","closed","BB 下軌反彈 · 加碼進場"],
      ["12:10","▸ 平倉","22,302 → 22,340","+38","win","短線目標達成 · 出場"],
      ["11:35","▸ 做多 +1","22,302","-","closed","RSI 25 反彈訊號 · 進場做多"],
    ],
  },
  {
    code:"DR", name:"Drift-Racer", no:2, est:"Apr 2025", color:"#5B8FFF",
    strat:"RSI回歸 · 實單",
    desc:"第一位取得真實下單資格的車手 · 經元大 API 實戰洗禮",
    side:"short", entry:"22,432", target:"22,395", unreal:"+14", realized:"+62", conf:71,
    trades:[
      ["14:22","▸ 做空 −1","22,432","-","open","RSI 71 高點放空"],
      ["13:48","▸ 平倉","22,380 → 22,422","+42","win","短線鎖利 · 出場"],
      ["12:55","▸ 做多 +1","22,380","-","closed","底部支撐反彈 · 進場做多"],
      ["11:20","▸ 停損","22,360 → 22,340","−20","lose","形態反轉 · 短停損"],
      ["10:08","▸ 平倉","22,302 → 22,342","+40","win","MR 目標達成 · 出場"],
    ],
  },
  {
    code:"NX", name:"NeuralX-7", no:3, est:"Apr 2025", color:"#A8E063",
    strat:"RSI回歸 + 趨勢過濾",
    desc:"RSI MR 加裝 ADX 趨勢過濾器 · 趨勢不明時主動進站不下單",
    side:"pit", entry:"—", target:"wait", unreal:"—", realized:"+18", conf:34,
    trades:[
      ["14:30","◆ 進站換胎","—","-","pit","ADX 18 · 趨勢過濾器擋下"],
      ["14:25","◆ 進站中","—","-","pit","繼續維修 · 等 ADX > 25"],
      ["14:20","◆ 進站中","—","-","pit","繼續維修"],
      ["14:15","◆ 進站中","—","-","pit","ADX 18 · 趨勢不明 · 不上場"],
      ["14:10","◆ 觀察中","22,402","-","watch","ADX 反彈 · 觀察是否破 20"],
      ["14:05","◆ 觀察中","22,395","-","watch","ADX 17 仍低"],
      ["14:00","◆ 持倉觀望","22,388","-","hold","觀望中"],
      ["13:55","◆ 持倉觀望","22,382","-","hold","觀望中"],
      ["13:50","◆ 持倉觀望","22,378","-","hold","觀望中"],
      ["13:00","▸ 平倉","22,360 → 22,380","+20","win","ADX 走弱 · 出場"],
      ["12:55","◆ 持倉觀望","22,378","-","hold","部位續抱 · ADX 25 OK"],
      ["12:40","◆ 持倉觀望","22,372","-","hold","部位續抱"],
      ["12:30","◆ 持倉觀望","22,368","-","hold","部位續抱"],
      ["12:20","▸ 做多 +1","22,360","-","closed","ADX 24 + RSI 28 · 進場"],
      ["12:15","◆ 觀察中","22,358","-","watch","ADX 突破 24"],
      ["11:30","◆ 進站中","—","-","pit","ADX 16 · 等趨勢"],
      ["09:42","▸ 停損","22,395 → 22,393","−2","lose","輕停損"],
    ],
  },
  {
    code:"QM", name:"Quantum-Mesh", no:4, est:"May 2025", color:"#FF6B9D",
    strat:"RSI回歸 · 對照組",
    desc:"NX 的 A/B 對照組 · 拿掉 ADX gate · 測試過濾器到底有沒有用",
    side:"long", entry:"22,381", target:"22,420", unreal:"+37", realized:"+47", conf:65,
    trades:[
      ["14:10","▸ 做多 +2","22,381","-","open","RSI 26 訊號 · 進場做多"],
      ["13:35","▸ 平倉","22,358 → 22,402","+44","win","上軌賣壓 · 鎖利出場"],
      ["12:42","▸ 做多 +1","22,358","-","closed","RSI 24 · 進場做多"],
      ["11:58","▸ 停損","22,338 → 22,320","−18","lose","假突破 · 短停損"],
      ["10:30","▸ 平倉","22,295 → 22,316","+21","win","短線達標 · 出場"],
    ],
  },
  {
    code:"SC", name:"Sundown-Cut", no:5, est:"May 2025", color:"#B388FF",
    strat:"研究團隊複合策略",
    desc:"Edge Research Pipeline 產物 · 因子分析組合複合信號進場",
    side:"long", entry:"22,388", target:"22,425", unreal:"+30", realized:"+56", conf:69,
    trades:[
      ["14:05","▸ 做多 +1","22,388","-","open","複合因子打分 +3.2 · 進場"],
      ["13:18","▸ 平倉","22,355 → 22,398","+43","win","因子收斂 · 鎖利出場"],
      ["12:30","▸ 做多 +1","22,355","-","closed","3 因子同時觸發 · 進場"],
      ["11:24","▸ 平倉","22,310 → 22,324","+14","win","短期目標 · 出場"],
      ["10:15","▸ 做多 +1","22,310","-","closed","momentum + reversal 共識 · 進場"],
    ],
  },
  {
    code:"PG", name:"Pit-Guardian", no:6, est:"May 2025", color:"#FFD27F",
    strat:"只做趨勢盤",
    desc:"只在趨勢盤進場 · 震盪盤全程進站 · A/B 驗證「只做趨勢」是否更乾淨",
    side:"flat", entry:"—", target:"wait trend", unreal:"—", realized:"+12", conf:28,
    trades:[
      ["14:30","— 不進場","22,418","-","flat","Regime: range · 不進場"],
      ["12:48","▸ 平倉","22,338 → 22,374","+36","win","趨勢盤獲利 · 出場"],
      ["12:08","▸ 做多 +1","22,338","-","closed","趨勢確認 · 進場"],
      ["11:30","— 不進場","22,328","-","flat","Regime gate 關閉"],
      ["09:18","▸ 停損","22,402 → 22,378","−24","lose","趨勢翻轉 · 停損"],
    ],
  },
  {
    code:"RC", name:"Range-Curve", no:7, est:"May 2025", color:"#5AC8E0",
    strat:"會自己判斷區間或趨勢",
    desc:"會自己讀盤型的車手 · 區間做回歸、趨勢跟單 · 適應力是它的招牌",
    side:"long", entry:"22,392", target:"AI dyn", unreal:"+26", realized:"+38", conf:82,
    trades:[
      ["14:18","▸ 做多 +1","22,392","-","open","判讀超賣反彈 信心 82%"],
      ["13:42","▸ 平倉","22,365 → 22,395","+30","win","判讀區間上緣 鎖利出場"],
      ["13:00","▸ 做多 +1","22,365","-","closed","超賣訊號 · 進場做多"],
      ["11:48","▸ 停損","22,355 → 22,340","−15","lose","判讀型態誤判 短停損"],
      ["10:36","▸ 平倉","22,310 → 22,333","+23","win","均值回歸完成 出場"],
    ],
  },
  {
    code:"FX", name:"Flux-X", no:8, est:"May 2025", color:"#FF6B9D",
    strat:"多因子趨勢評分",
    desc:"多因子趨勢評分模型 · 加權評分判斷市場方向強弱 · 中週期波段",
    side:"long", entry:"22,400", target:"22,440", unreal:"+18", realized:"+0", conf:54,
    trades:[
      ["14:25","▸ 做多 +2","22,400","-","open","趨勢評分 +6.8 / 10 · 進場"],
      ["12:38","▸ 平倉","22,348 → 22,372","+24","win","評分回落 · 鎖利出場"],
      ["12:02","▸ 做多 +1","22,348","-","closed","評分突破 +5.0 · 進場"],
      ["11:14","▸ 停損","22,332 → 22,308","−24","lose","評分逆轉 · 停損"],
    ],
  },
];

const SIDE_LABEL = {
  long:  "▸ 多單進場",
  short: "▸ 空單進場",
  flat:  "— 不進場",
  pit:   "◆ 進站中",
};

window.WR_DRIVERS    = WR_DRIVERS;
window.WR_SIDE_LABEL = SIDE_LABEL;
