"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
docs(readme): add 2026-08-31 news across six languages
Haozhe Wu1ee7df16af6e
diff --git a/README.md b/README.mdindex 5a945bbbf..014b7eb1f 100644--- a/README.md+++ b/README.md@@ -52,13 +52,15 @@> ⚠️ **Security warning:** The X account `VibeTrading_HKU`, Virtuals project `101845`, and token contract `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` are not official Vibe-Trading assets. We have never launched or endorsed any token or memecoin. Do not buy, connect a wallet, or sign anything. [Details](SECURITY.md#official-channels--impersonation).+- **2026-08-31** 🧮 **Yahoo booked every dividend as a loss, and the rebalance count you were shown had nothing to do with the fills**: both Yahoo paths served dividend-unadjusted OHLC while the rest of the chain served adjusted prices, so every ex-dividend gap read as a real drop in any US-equity backtest Yahoo won. OHLC now scales to Yahoo's `adjclose` and the yfinance path requests the adjusted series; volume stays raw on both ([#1287](https://github.com/HKUDS/Vibe-Trading/pull/1287)). Measuring the chain to verify that turned up something worth stating plainly: **sina and longbridge still serve fully unadjusted prices**, so which source you land on still changes the price caliber — that gap is now tracked in [#1301](https://github.com/HKUDS/Vibe-Trading/issues/1301). Separately, `rebalance_count` counted target-weight *changes*, not executions: a constant-target SPY/BND strategy reported one rebalance against 1,269 trades. Requested and executed are now separate metrics, the executed ones derived from immutable fill records ([#1281](https://github.com/HKUDS/Vibe-Trading/pull/1281), closes [#1275](https://github.com/HKUDS/Vibe-Trading/issues/1275)). **New:** `rebalance_mask` runs partial rebalancing on a calendar or on explicit dates instead of every bar ([#1277](https://github.com/HKUDS/Vibe-Trading/pull/1277), closes [#1273](https://github.com/HKUDS/Vibe-Trading/issues/1273)); the HTML alpha-bench report now carries the survivorship-bias disclosure the JSON already had, naming the constituent source and its as-of date ([#1289](https://github.com/HKUDS/Vibe-Trading/pull/1289)). **Fixed:** one unresolved symbol no longer strands the rest of its batch — the chain retries only the missing ones and provenance names the source each symbol actually came from ([#1288](https://github.com/HKUDS/Vibe-Trading/pull/1288)); a halt sweep could latch an episode it never swept, and two concurrent completions could lose each other's record ([#1254](https://github.com/HKUDS/Vibe-Trading/pull/1254)); a working Futu OpenD connection rendered as unavailable because its health report omitted `connection_state`; the desktop updater read a permission-denied process probe as "backend exited" ([#1284](https://github.com/HKUDS/Vibe-Trading/pull/1284)); and a session backgrounded mid-turn kept its sidebar spinner for the life of the tab ([#1257](https://github.com/HKUDS/Vibe-Trading/pull/1257), closes [#1256](https://github.com/HKUDS/Vibe-Trading/issues/1256)). Thanks [@he-yufeng](https://github.com/he-yufeng), [@cgycorey](https://github.com/cgycorey), [@thisisjun786](https://github.com/thisisjun786), [@bonyohana](https://github.com/bonyohana), [@lorenzozanee](https://github.com/lorenzozanee), and [@iagop03](https://github.com/iagop03)!+- **2026-08-30** 🇬🇧 **LSE equities arrive without turning pence into pounds, and closed markets stop firing live triggers**: `.L` symbols now work end to end through Yahoo → yfinance → local market-data fallback, stock profiles and financial statements, trade-journal and Shadow consumers, and GBP-settled backtests. The loader treats `.L` only as a venue marker: declared GBp/p prices are divided by 100, GBP passes unchanged, and USD, other, or unknown currencies are rejected before the statically GBP accounting layer. Per-symbol conversion provenance survives cache round trips, and the cache version was bumped so older unsafe entries cannot return; UK execution also uses whole shares and `slippage_uk` ([#1206](https://github.com/HKUDS/Vibe-Trading/pull/1206), closes [#1205](https://github.com/HKUDS/Vibe-Trading/issues/1205)). **Fixed:** market-triggered live ticks stop before broker reads while all attached markets are closed, while interval-only and event-driven channels remain ungated ([#1253](https://github.com/HKUDS/Vibe-Trading/pull/1253)); Run Detail scrolls and clamps long prompts, then collapses them again when switching runs ([#1258](https://github.com/HKUDS/Vibe-Trading/pull/1258)); non-backtest runs route to Studio instead of a blank dashboard, and an empty trade-artifact array no longer hides a populated `trade_log` ([#1259](https://github.com/HKUDS/Vibe-Trading/pull/1259)). Thanks [@cgycorey](https://github.com/cgycorey), [@he-yufeng](https://github.com/he-yufeng), and [@iagop03](https://github.com/iagop03)!- **2026-08-29** 🛑 **A kill switch that skipped its own action, and a crypto pair that resolved to a different coin**: when a halted channel's broker reads failed — the adapter returns an error envelope instead of raising, and the sweep iterated it as a list of orders — the sweep marked itself fired anyway. The cancel-and-flatten the kill switch exists to perform was silently skipped for that episode, and nothing retried it. It now latches only once a broker write has been attempted, claims each halt episode exclusively so two runners cannot duplicate a close, and no longer reads a broker rejection wrapped in a transport-level success as accepted ([#1244](https://github.com/HKUDS/Vibe-Trading/pull/1244)). Separately, asking for `ETH-USDT` returned `AETHUSDT-USD` — Aave Ethereum USDT, a different asset — because symbol search never covered exchange pairs and Yahoo's nearest string won. Exact pairs now resolve against the venue catalogs, which are public and need no broker account ([#1242](https://github.com/HKUDS/Vibe-Trading/pull/1242), closes [#1234](https://github.com/HKUDS/Vibe-Trading/issues/1234)). **New:** built-in connectors publish a machine-readable onboarding contract, so `vibe-trading connector setup` and the Portfolio connection center drive one generic flow, secrets kept per connection in the OS keyring ([#1250](https://github.com/HKUDS/Vibe-Trading/pull/1250)). **Fixed:** stream retries escalate and honour `Retry-After` ([#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208)); a sleeve whose target rounds below one lot is reported instead of silently trading zero times ([#1235](https://github.com/HKUDS/Vibe-Trading/issues/1235)); and an explicit benchmark is measured over the evaluated window, not the fetched one, so yesterday's warm-up boundary no longer compares two periods. Thanks [@cgycorey](https://github.com/cgycorey), [@pengpengyi92](https://github.com/pengpengyi92), [@lorenzozanee](https://github.com/lorenzozanee), [@goatyyc](https://github.com/goatyyc), [@ethanstoner](https://github.com/ethanstoner), [@QG8000](https://github.com/QG8000), and [@turtle696966969696](https://github.com/turtle696966969696)!-- **2026-08-28** 📏 **Backtests that crashed, and backtests that quietly graded a year you never asked for**: every cross-market backtest died on v0.1.14 — the runner deliberately passes `bars_per_year=None` for a basket spanning markets, and the new risk x-ray called `math.sqrt` on it. Two more consumers had the same gap; all four now resolve `None` through one shared span-derived factor ([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239), closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237)). The quieter one: a long-lookback strategy needs bars from *before* the period you asked about, so the agent moved `start_date` back a year to feed MA200 — and then graded that year. A run billed as ten years reported eleven, with the extra year's trades, CAGR and benchmark folded in, nothing raised, and the metrics internally consistent. `warmup_bars` (or `evaluation_start_date`) now separates the data window from the evaluation window: warm-up bars prime the indicators and reach nothing else ([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240)). **New:** `quantlib` gains Heston (1993) stochastic-volatility pricing, Hierarchical Risk Parity, Gaussian and Archimedean copulas, microstructure estimators (VPIN, Roll, Amihud, Kyle) and finite-difference barrier Greeks — 306 tested functions across 23 modules ([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198), [#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203)). **Fixed:** eight skill reference links pointed at paths `read_file` cannot open, so those documents silently failed to load. Thanks [@cgycorey](https://github.com/cgycorey), [@santhreal](https://github.com/santhreal), [@turtle696966969696](https://github.com/turtle696966969696), and [@wanderkiller](https://github.com/wanderkiller)!<details><summary>Earlier news</summary>+- **2026-08-28** 📏 **Backtests that crashed, and backtests that quietly graded a year you never asked for**: every cross-market backtest died on v0.1.14 — the runner deliberately passes `bars_per_year=None` for a basket spanning markets, and the new risk x-ray called `math.sqrt` on it. Two more consumers had the same gap; all four now resolve `None` through one shared span-derived factor ([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239), closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237)). The quieter one: a long-lookback strategy needs bars from *before* the period you asked about, so the agent moved `start_date` back a year to feed MA200 — and then graded that year. A run billed as ten years reported eleven, with the extra year's trades, CAGR and benchmark folded in, nothing raised, and the metrics internally consistent. `warmup_bars` (or `evaluation_start_date`) now separates the data window from the evaluation window: warm-up bars prime the indicators and reach nothing else ([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240)). **New:** `quantlib` gains Heston (1993) stochastic-volatility pricing, Hierarchical Risk Parity, Gaussian and Archimedean copulas, microstructure estimators (VPIN, Roll, Amihud, Kyle) and finite-difference barrier Greeks — 306 tested functions across 23 modules ([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198), [#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203)). **Fixed:** eight skill reference links pointed at paths `read_file` cannot open, so those documents silently failed to load. Thanks [@cgycorey](https://github.com/cgycorey), [@santhreal](https://github.com/santhreal), [@turtle696966969696](https://github.com/turtle696966969696), and [@wanderkiller](https://github.com/wanderkiller)!- **2026-08-27** 🛑 **The kill-switch sweep now survives restarts and stops trusting a flaky broker**: during a halt, the cancel-and-flatten sweep counted any broker response as success — but the MCP adapter turns a failed call into a `{"status": "error"}` envelope, so a dropped connection produced a compliant-looking audit trail while the resting order stayed live; error envelopes now fail closed in both passes ([#1232](https://github.com/HKUDS/Vibe-Trading/pull/1232)). The sweep's fired-once latch also lived only in memory: a restart with flatten orders still working replayed the whole sweep — a fresh market order per position, enough to flip a long book net short; the latch is now persisted next to the HALT sentinel and bound to its halt episode, so clearing and re-tripping still re-arms it ([#1233](https://github.com/HKUDS/Vibe-Trading/pull/1233)). **New:** every market's data-source fallback order is visible and reorderable in *Settings → Data Source Priority* — hot-applied, persisted per market (`MARKET_DATA_ORDER_*`), and strictly a reordering: adding or dropping sources is refused, and without an override the defaults are untouched ([#1231](https://github.com/HKUDS/Vibe-Trading/pull/1231)); Binance USD-M reconciliation results now land as tamper-evident drift evidence artifacts — strict JSON, fail-closed on incomplete or unsupported snapshots, no order surface ([#1230](https://github.com/HKUDS/Vibe-Trading/pull/1230), toward [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030)). Thanks [@he-yufeng](https://github.com/he-yufeng), [@sambazhu](https://github.com/sambazhu), and [@honginp](https://github.com/honginp)!- **2026-08-26** ♻️ **A live Alpaca order that loses its broker response stops being a mystery, and gold backtests stop being frictionless**: the order gate now durably owns every Alpaca submission before the broker write, recovers the outcome by exact `client_order_id` only, attributes fills against the signed position delta, and HALTs on any contradiction — recovery never resubmits ([#1213](https://github.com/HKUDS/Vibe-Trading/pull/1213), [#1221](https://github.com/HKUDS/Vibe-Trading/pull/1221), [#1222](https://github.com/HKUDS/Vibe-Trading/pull/1222)). **Fixed:** metals used FX pip/lot conventions, making gold's spread ~1,460× too cheap and rounding positions under 1,000 oz to zero ([#1226](https://github.com/HKUDS/Vibe-Trading/pull/1226)); Futu HKD holdings were valued as USD, overstated by roughly the USD/HKD rate ([#1228](https://github.com/HKUDS/Vibe-Trading/pull/1228)); Shadow Account read PnL keys the runner never emits, so every successful backtest reported PnL = 0.00 ([#1217](https://github.com/HKUDS/Vibe-Trading/pull/1217)); streamed LLM calls never requested usage, under-reporting swarm output tokens ~18–36× ([#1225](https://github.com/HKUDS/Vibe-Trading/pull/1225)). **New:** opt-in read-only Binance USD-M account snapshots — two allowlisted signed reads, no order surface ([#1229](https://github.com/HKUDS/Vibe-Trading/pull/1229), toward [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030)); portfolio OAuth reconnects run in a bounded subprocess that cannot strand the web process or the callback port ([#1211](https://github.com/HKUDS/Vibe-Trading/pull/1211)). Thanks [@Elfsa-Miranda](https://github.com/Elfsa-Miranda), [@P1Piyush](https://github.com/P1Piyush), [@JaxonHu1024](https://github.com/JaxonHu1024), [@he-yufeng](https://github.com/he-yufeng), [@honginp](https://github.com/honginp), and [@goatyyc](https://github.com/goatyyc)!- **2026-08-25** 🛡️ **Two live-gate fail-opens closed, and purged CV stops wiping the training set between test blocks**: Alpaca shorts booked as *positive* exposure (`qty` is a magnitude, direction lives in `side`), so selling more loosened `max_total_exposure_usd` instead of tightening it — quantity is now signed on both the TAP JSON and direct-SDK paths ([#1209](https://github.com/HKUDS/Vibe-Trading/pull/1209)); OKX/Futu reads flattened a rejected API call into "empty book, `status: ok`", letting the mandate gate evaluate limits against nothing — they now return the error envelope the gate fails closed on ([#1212](https://github.com/HKUDS/Vibe-Trading/pull/1212)). Both are Phase 0 of the audit roadmap in [#1207](https://github.com/HKUDS/Vibe-Trading/issues/1207). **Fixed:** combinatorial purged CV treated non-contiguous test blocks as one span, purging every training observation between them; segments now purge individually and an emptied fold raises ([#1204](https://github.com/HKUDS/Vibe-Trading/pull/1204)); the credit-risk functions refuse NaN/inf inputs instead of returning NaN scores or a "grey" verdict ([#1215](https://github.com/HKUDS/Vibe-Trading/pull/1215), closes [#1214](https://github.com/HKUDS/Vibe-Trading/issues/1214)). **New:** swarm workers retry with capped equal-jitter backoff ([#1210](https://github.com/HKUDS/Vibe-Trading/pull/1210), toward [#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208)), and `vibe-trading --swarm-retry <run_id>` / `/swarm retry` reruns a failed run, keeping completed tasks with `--resume` ([#1194](https://github.com/HKUDS/Vibe-Trading/pull/1194)). Thanks [@he-yufeng](https://github.com/he-yufeng), [@santhreal](https://github.com/santhreal), [@Robin1987China](https://github.com/Robin1987China), [@pengpengyi92](https://github.com/pengpengyi92), and [@SiMinus](https://github.com/SiMinus)!diff --git a/README_ar.md b/README_ar.mdindex 431e23995..120aed50b 100644--- a/README_ar.md+++ b/README_ar.md@@ -52,13 +52,15 @@> ⚠️ **تحذير أمني:** حساب X باسم `VibeTrading_HKU`، ومشروع Virtuals رقم `101845`، وعقد التوكن `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` كلّها غير رسمية ولا تتبع Vibe-Trading. لم نُطلق أو نؤيد مطلقًا أي توكن أو عملة ميم. لا تشترِ هذا التوكن، ولا تربط محفظتك، ولا توقّع أي شيء. [التفاصيل](SECURITY.md#official-channels--impersonation).+- **2026-08-31** 🧮 **كان Yahoo يسجّل كل توزيع أرباح كخسارة، ولم يكن عدد إعادات التوازن المعروض لك ذا صلة بالتنفيذات**: كان مسارا Yahoo يقدّمان OHLC غير معدّل للتوزيعات بينما تقدّم بقية السلسلة أسعارًا معدّلة، فكانت فجوة ما بعد التوزيع تُقرأ كهبوط حقيقي في أي اختبار رجعي لأسهم أمريكية يفوز فيه Yahoo. صار OHLC يُقاس الآن على `adjclose` من Yahoo، ويطلب مسار yfinance السلسلة المعدّلة؛ ويبقى حجم التداول خامًا في المسارين ([#1287](https://github.com/HKUDS/Vibe-Trading/pull/1287)). وقياس السلسلة للتحقق من ذلك أظهر أمرًا يستحق التصريح به: **ما زال sina وlongbridge يقدّمان أسعارًا غير معدّلة تمامًا**، فالمصدر الذي تصل إليه ما زال يغيّر معيار السعر — وتُتابَع هذه الفجوة الآن في [#1301](https://github.com/HKUDS/Vibe-Trading/issues/1301). وبشكل منفصل، كان `rebalance_count` يعدّ *تغيّرات* الوزن المستهدف لا التنفيذات: استراتيجية SPY/BND بهدف ثابت أبلغت عن إعادة توازن واحدة مقابل 1,269 صفقة. صار المطلوب والمنفَّذ مقياسين منفصلين، ويُشتق الثاني من سجلات تنفيذ غير قابلة للتغيير ([#1281](https://github.com/HKUDS/Vibe-Trading/pull/1281)، يغلق [#1275](https://github.com/HKUDS/Vibe-Trading/issues/1275)). **جديد:** يتيح `rebalance_mask` إعادة توازن جزئية وفق تقويم أو تواريخ صريحة بدل كل شمعة ([#1277](https://github.com/HKUDS/Vibe-Trading/pull/1277)، يغلق [#1273](https://github.com/HKUDS/Vibe-Trading/issues/1273))؛ ويحمل تقرير alpha bench بصيغة HTML الآن إفصاح تحيّز البقاء الذي كان في JSON، مع تسمية مصدر المكوّنات وتاريخ سريانه ([#1289](https://github.com/HKUDS/Vibe-Trading/pull/1289)). **إصلاحات:** لم يعد رمز واحد غير محلول يعطّل بقية دفعته — تعيد السلسلة المحاولة للمفقود فقط، ويسمّي سجل المصدر الجهة التي جاء منها كل رمز فعليًا ([#1288](https://github.com/HKUDS/Vibe-Trading/pull/1288))؛ وكان مسح الإيقاف قد يثبّت حلقة لم يمسحها قط، وقد يفقد إتمامان متزامنان سجل بعضهما ([#1254](https://github.com/HKUDS/Vibe-Trading/pull/1254))؛ وكان اتصال Futu OpenD العامل يظهر كغير متاح لأن تقرير سلامته أغفل `connection_state`؛ وكان محدّث سطح المكتب يقرأ فحص عملية مرفوض الصلاحية على أنه "إنهاء الخلفية" ([#1284](https://github.com/HKUDS/Vibe-Trading/pull/1284))؛ وكانت جلسة أُرسلت إلى الخلفية في منتصف الدور تبقي مؤشرها في الشريط الجانبي طوال عمر التبويب ([#1257](https://github.com/HKUDS/Vibe-Trading/pull/1257)، يغلق [#1256](https://github.com/HKUDS/Vibe-Trading/issues/1256)). شكرًا [@he-yufeng](https://github.com/he-yufeng), [@cgycorey](https://github.com/cgycorey), [@thisisjun786](https://github.com/thisisjun786), [@bonyohana](https://github.com/bonyohana), [@lorenzozanee](https://github.com/lorenzozanee), و [@iagop03](https://github.com/iagop03)!+- **2026-08-30** 🇬🇧 **وصل دعم أسهم LSE من دون تحويل البنس إلى جنيه، وتوقفت مشغّلات live عن العمل أثناء إغلاق السوق**: تعمل رموز `.L` الآن من البداية إلى النهاية عبر سلسلة تراجع بيانات السوق Yahoo → yfinance → local، وملفات الأسهم والقوائم المالية، ومستهلكي سجل التداول وShadow، والاختبارات الرجعية المسوّاة بالجنيه الإسترليني. يعامل Loader اللاحقة `.L` كعلامة لمكان التداول فقط: تُقسم الأسعار المعلنة بـ GBp/p على 100، ويمر GBP كما هو، وتُرفض عملات USD وغيرها والعملات المجهولة قبل بلوغ طبقة المحاسبة الثابتة بالجنيه. ويبقى مصدر التحويل لكل رمز عبر جولات التخزين المؤقت، ورُفع إصدار ذاكرة التخزين لكي لا تعود المدخلات القديمة غير الآمنة؛ كما يستخدم التنفيذ البريطاني أسهمًا صحيحة العدد و`slippage_uk` ([#1206](https://github.com/HKUDS/Vibe-Trading/pull/1206)، يغلق [#1205](https://github.com/HKUDS/Vibe-Trading/issues/1205)). **تم الإصلاح:** تتوقف market-triggered live ticks قبل قراءات الوسيط عندما تكون كل الأسواق المرتبطة مغلقة، بينما تظل القنوات ذات الفاصل الزمني فقط والمدفوعة بالأحداث خارج هذه البوابة ([#1253](https://github.com/HKUDS/Vibe-Trading/pull/1253))؛ يمكن الآن تمرير Run Detail واختصار المطالبات الطويلة، وتُطوى مجددًا عند الانتقال بين التشغيلات ([#1258](https://github.com/HKUDS/Vibe-Trading/pull/1258))؛ وتُوجّه التشغيلات غير الرجعية إلى Studio بدلًا من dashboard فارغ، ولا تحجب مصفوفة trade artifacts الفارغة `trade_log` مملوءًا بعد الآن ([#1259](https://github.com/HKUDS/Vibe-Trading/pull/1259)). شكرًا [@cgycorey](https://github.com/cgycorey) و[@he-yufeng](https://github.com/he-yufeng) و[@iagop03](https://github.com/iagop03)!- **2026-08-29** 🛑 **مفتاح إيقاف تخطّى إجراءه، وزوج عملات رقمية جرى تحليله إلى عملة أخرى**: عندما كانت قراءات الوسيط تفشل في قناة متوقفة — إذ يعيد المحوّل مغلّف خطأ بدل إطلاق استثناء، وكان المسح يمرّ عليه كأنه قائمة أوامر — كان المسح يسجّل نفسه على أنه نُفّذ رغم ذلك. أما الإلغاء وتصفية المراكز، وهو ما يوجد مفتاح الإيقاف لتنفيذه، فكان يُتخطّى بصمت في تلك الحادثة، ولم يكن أي شيء يعيد المحاولة. صار المسح الآن لا يُقفل إلا بعد محاولة كتابة فعلية لدى الوسيط، ويحجز كل حادثة إيقاف حصريًا كي لا يكرّر مُشغّلان الإغلاق نفسه، ولم يعد يقرأ رفض الوسيط المغلَّف داخل نجاح على مستوى النقل على أنه قبول ([#1244](https://github.com/HKUDS/Vibe-Trading/pull/1244)). وبمعزل عن ذلك، كان طلب `ETH-USDT` يعيد `AETHUSDT-USD` — أي Aave Ethereum USDT، وهو أصل مختلف تمامًا — لأن البحث عن الرموز لم يغطِّ أزواج المنصات قط، فكانت أقرب سلسلة نصية لدى Yahoo هي الفائزة. تُحلَّل الأزواج الدقيقة الآن مقابل كتالوجات المنصات، وهي عامة ولا تحتاج إلى حساب لدى وسيط ([#1242](https://github.com/HKUDS/Vibe-Trading/pull/1242)، يغلق [#1234](https://github.com/HKUDS/Vibe-Trading/issues/1234)). **جديد:** تنشر الموصّلات المدمجة عقد تهيئة قابلًا للقراءة آليًا، فيسير كل من `vibe-trading connector setup` ومركز الاتصالات في صفحة المحفظة على تدفّق عام واحد، مع حفظ الأسرار لكل اتصال في سلسلة مفاتيح نظام التشغيل ([#1250](https://github.com/HKUDS/Vibe-Trading/pull/1250)). **أُصلح:** صارت إعادات المحاولة في البثّ تتصاعد وتحترم `Retry-After` ([#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208))؛ والشريحة التي يُقرَّب هدفها إلى ما دون عقد واحد يجري الإبلاغ عنها بدل أن تُنفَّذ صفر مرات بصمت ([#1235](https://github.com/HKUDS/Vibe-Trading/issues/1235))؛ ويُقاس المؤشر المرجعي الصريح على نافذة التقييم لا على نافذة الجلب، فلم يعد حدّ الإحماء الذي صدر أمس يقارن فترتين مختلفتين. شكرًا [@cgycorey](https://github.com/cgycorey) و[@pengpengyi92](https://github.com/pengpengyi92) و[@lorenzozanee](https://github.com/lorenzozanee) و[@goatyyc](https://github.com/goatyyc) و[@ethanstoner](https://github.com/ethanstoner) و[@QG8000](https://github.com/QG8000) و[@turtle696966969696](https://github.com/turtle696966969696)!-- **2026-08-28** 📏 **اختبارات رجعية كانت تنهار، وأخرى كانت تقيّم بصمت سنةً لم تطلبها**: في v0.1.14 كان كل اختبار رجعي عابر للأسواق ينهار — إذ يمرّر المشغّل عمدًا `bars_per_year=None` لسلّة تمتد عبر أسواق، ثم يستدعي فحص المخاطر الجديد `math.sqrt` عليها. وُجدت الثغرة نفسها في موضعين آخرين؛ والمواضع الأربعة تحسم `None` الآن عبر معامل واحد مشتقّ من المدى ([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239)، closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237)). أمّا الأهدأ: استراتيجية ذات نظرة خلفية طويلة تحتاج شموعًا **قبل** الفترة التي طلبتها، فكان الوكيل يُرجِع `start_date` سنةً كاملة لتغذية MA200 — ثم يقيّم تلك السنة. تشغيل يُقدَّم على أنه عشر سنوات كان يُبلغ عن إحدى عشرة، وقد أُدخلت صفقات السنة الزائدة ومعدّل النمو السنوي والمؤشر المرجعي في الحساب، دون أي خطأ، ومع اتساق المقاييس فيما بينها. الآن يفصل `warmup_bars` (أو `evaluation_start_date`) نافذة البيانات عن نافذة التقييم: شموع الإحماء تُهيّئ المؤشرات ولا تصل إلى شيء آخر ([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240)). **جديد:** يكتسب `quantlib` تسعير التقلب العشوائي وفق Heston (1993)، وتكافؤ المخاطر الهرمي، وروابط غاوسية وأرخميدية، ومقدّرات البنية الدقيقة (VPIN وRoll وAmihud وKyle)، وحساسيات الحواجز بالفروق المنتهية — 306 دالة مختبَرة عبر 23 وحدة ([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198)، [#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203)). **إصلاح:** ثمانية روابط مرجعية في المهارات كانت تشير إلى مسارات لا يستطيع `read_file` فتحها، فكانت تلك المستندات تفشل في التحميل بصمت. شكرًا [@cgycorey](https://github.com/cgycorey) و[@santhreal](https://github.com/santhreal) و[@turtle696966969696](https://github.com/turtle696966969696) و[@wanderkiller](https://github.com/wanderkiller)!<details><summary>أخبار سابقة</summary>+- **2026-08-28** 📏 **اختبارات رجعية كانت تنهار، وأخرى كانت تقيّم بصمت سنةً لم تطلبها**: في v0.1.14 كان كل اختبار رجعي عابر للأسواق ينهار — إذ يمرّر المشغّل عمدًا `bars_per_year=None` لسلّة تمتد عبر أسواق، ثم يستدعي فحص المخاطر الجديد `math.sqrt` عليها. وُجدت الثغرة نفسها في موضعين آخرين؛ والمواضع الأربعة تحسم `None` الآن عبر معامل واحد مشتقّ من المدى ([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239)، closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237)). أمّا الأهدأ: استراتيجية ذات نظرة خلفية طويلة تحتاج شموعًا **قبل** الفترة التي طلبتها، فكان الوكيل يُرجِع `start_date` سنةً كاملة لتغذية MA200 — ثم يقيّم تلك السنة. تشغيل يُقدَّم على أنه عشر سنوات كان يُبلغ عن إحدى عشرة، وقد أُدخلت صفقات السنة الزائدة ومعدّل النمو السنوي والمؤشر المرجعي في الحساب، دون أي خطأ، ومع اتساق المقاييس فيما بينها. الآن يفصل `warmup_bars` (أو `evaluation_start_date`) نافذة البيانات عن نافذة التقييم: شموع الإحماء تُهيّئ المؤشرات ولا تصل إلى شيء آخر ([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240)). **جديد:** يكتسب `quantlib` تسعير التقلب العشوائي وفق Heston (1993)، وتكافؤ المخاطر الهرمي، وروابط غاوسية وأرخميدية، ومقدّرات البنية الدقيقة (VPIN وRoll وAmihud وKyle)، وحساسيات الحواجز بالفروق المنتهية — 306 دالة مختبَرة عبر 23 وحدة ([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198)، [#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203)). **إصلاح:** ثمانية روابط مرجعية في المهارات كانت تشير إلى مسارات لا يستطيع `read_file` فتحها، فكانت تلك المستندات تفشل في التحميل بصمت. شكرًا [@cgycorey](https://github.com/cgycorey) و[@santhreal](https://github.com/santhreal) و[@turtle696966969696](https://github.com/turtle696966969696) و[@wanderkiller](https://github.com/wanderkiller)!- **2026-08-27** 🛑 **مسح مفتاح الإيقاف يصمد أمام إعادة التشغيل ويتوقف عن الوثوق باتصال وسيط متقلّب**: أثناء الإيقاف، كان مسح الإلغاء والتسييل يعدّ أي ردّ من الوسيط نجاحًا — لكن محوّل MCP يحوّل الاستدعاء الفاشل إلى مغلّف `{"status": "error"}`، فكان انقطاع اتصال واحد يترك سجلّ تدقيق يبدو سليمًا بينما الأمر المعلّق ما يزال حيًّا؛ الآن تفشل المرحلتان بشكل مغلق عند مغلّف الخطأ ([#1232](https://github.com/HKUDS/Vibe-Trading/pull/1232)). كما كان مزلاج «الإطلاق مرة واحدة» في الذاكرة فقط: إعادة تشغيل وأوامر التسييل ما تزال قيد التنفيذ كانت تعيد المسح كاملًا — أمر سوق جديد لكل مركز، بما يكفي لقلب حساب شراءٍ إلى صافي بيع؛ المزلاج الآن مثبَّت بجوار حارس HALT ومربوط بحلقة الإيقاف نفسها، فإلغاء الإيقاف وإعادة إطلاقه يعيدان تسليحه ([#1233](https://github.com/HKUDS/Vibe-Trading/pull/1233)). **جديد**: ترتيب التراجع لمصادر بيانات كل سوق أصبح مرئيًا وقابلًا لإعادة الترتيب في *Settings → Data Source Priority* — تطبيق فوري، حفظ لكل سوق (`MARKET_DATA_ORDER_*`)، وإعادة ترتيب فقط: إضافة مصدر أو حذفه مرفوضة، وبدون تجاوز يبقى الترتيب الافتراضي كما هو ([#1231](https://github.com/HKUDS/Vibe-Trading/pull/1231))؛ ونتائج مطابقة Binance USD-M تُسجَّل الآن كأدلة انحراف مقاومة للتلاعب — JSON صارم، فشل مغلق عند اللقطات الناقصة أو غير المدعومة، بلا أي سطح أوامر ([#1230](https://github.com/HKUDS/Vibe-Trading/pull/1230)، باتجاه [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030)). شكرًا [@he-yufeng](https://github.com/he-yufeng) و[@sambazhu](https://github.com/sambazhu) و[@honginp](https://github.com/honginp)!- **2026-08-26** ♻️ **أمر Alpaca حي يفقد ردّ الوسيط لم يعد لغزًا، وتوقّفت اختبارات الذهب الرجعية عن كونها بلا احتكاك**: تسجّل بوابة الأوامر ملكية كل إرسال بشكل دائم قبل الكتابة إلى الوسيط، وتستعيد النتيجة عبر `client_order_id` الدقيق فقط، وتنسب التنفيذات إلى فرق المركز المُوقَّع، وتُفعِّل HALT عند أي تناقض — ومسار الاستعادة لا يعيد الإرسال أبدًا ([#1213](https://github.com/HKUDS/Vibe-Trading/pull/1213)، [#1221](https://github.com/HKUDS/Vibe-Trading/pull/1221)، [#1222](https://github.com/HKUDS/Vibe-Trading/pull/1222)). **إصلاحات:** كانت المعادن تتبع أعراف pip والعقود الخاصة بالفوركس فصارت كلفة سبريد الذهب أصغر بنحو 1,460 مرة وتُقرَّب المراكز دون 1,000 أونصة إلى الصفر ([#1226](https://github.com/HKUDS/Vibe-Trading/pull/1226))؛ وكانت حيازات Futu بدولار هونغ كونغ تُقيَّم كدولار أمريكي فتتضخم بنحو سعر صرف USD/HKD ([#1228](https://github.com/HKUDS/Vibe-Trading/pull/1228))؛ وكان Shadow Account يقرأ مفاتيح مقاييس لا يُصدرها المشغّل فيُبلغ كل اختبار ناجح عن PnL = 0.00 ([#1217](https://github.com/HKUDS/Vibe-Trading/pull/1217))؛ ولم تكن استدعاءات LLM المتدفقة تطلب بيانات الاستخدام فتُبخس توكنات إخراج الـ swarm بنحو 18–36 مرة ([#1225](https://github.com/HKUDS/Vibe-Trading/pull/1225)). **جديد:** لقطات حساب Binance USD-M للقراءة فقط (اختياريًا) — قراءتان موقَّعتان ضمن قائمة السماح فقط وبلا سطح أوامر ([#1229](https://github.com/HKUDS/Vibe-Trading/pull/1229)، باتجاه [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030))؛ وإعادة اتصال OAuth للمحفظة تعمل في عملية فرعية محدودة فلا تعطّل عملية الويب ولا تحتجز منفذ الاستدعاء ([#1211](https://github.com/HKUDS/Vibe-Trading/pull/1211)). شكرًا [@Elfsa-Miranda](https://github.com/Elfsa-Miranda) و[@P1Piyush](https://github.com/P1Piyush) و[@JaxonHu1024](https://github.com/JaxonHu1024) و[@he-yufeng](https://github.com/he-yufeng) و[@honginp](https://github.com/honginp) و[@goatyyc](https://github.com/goatyyc)!- **2026-08-25** 🛡️ **إغلاق حالتي fail-open في بوابات التداول الحي؛ وتوقُّف الـ purged CV عن مسح التدريب بين كتل الاختبار**: كان شورت Alpaca يُسجَّل كتعرُّض *موجب* (`qty` قيمة مطلقة والاتجاه في `side`) فكلما بعت أكثر ارتخى `max_total_exposure_usd` — أصبحت الكمية مُوقَّعة على مساري TAP JSON وSDK المباشر ([#1209](https://github.com/HKUDS/Vibe-Trading/pull/1209))؛ وكانت قراءات OKX/Futu تحوِّل استدعاء API مرفوضًا إلى «دفتر فارغ، `status: ok`» فتقيِّم بوابة التفويض الحدود على لا شيء — الآن تعيد مظروف خطأ صريحًا تُغلق البوابة عنده ([#1212](https://github.com/HKUDS/Vibe-Trading/pull/1212)). كلاهما ضمن المرحلة 0 من خارطة طريق التدقيق في [#1207](https://github.com/HKUDS/Vibe-Trading/issues/1207). **إصلاحات:** كان الـ purged CV التوافقي يعامل كتل الاختبار غير المتجاورة كامتداد واحد ويمسح كل مشاهدات التدريب بينها؛ الآن تُنقَّى المقاطع كلٌّ على حدة وترفع الطيّةُ الفارغةُ خطأً ([#1204](https://github.com/HKUDS/Vibe-Trading/pull/1204))؛ ودوال مخاطر الائتمان ترفض مدخلات NaN/inf بدل إعادة درجات NaN أو حكم «المنطقة الرمادية» ([#1215](https://github.com/HKUDS/Vibe-Trading/pull/1215)، يغلق [#1214](https://github.com/HKUDS/Vibe-Trading/issues/1214)). **جديد:** إعادة محاولة عمال swarm صارت بتراجع equal-jitter مسقوف ([#1210](https://github.com/HKUDS/Vibe-Trading/pull/1210)، باتجاه [#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208))؛ و`vibe-trading --swarm-retry <run_id>` / `/swarm retry` يعيد تشغيل تشغيلٍ فاشل مع الاحتفاظ بالمهام المكتملة عبر `--resume` ([#1194](https://github.com/HKUDS/Vibe-Trading/pull/1194)). شكرًا [@he-yufeng](https://github.com/he-yufeng) و[@santhreal](https://github.com/santhreal) و[@Robin1987China](https://github.com/Robin1987China) و[@pengpengyi92](https://github.com/pengpengyi92) و[@SiMinus](https://github.com/SiMinus)!diff --git a/README_es.md b/README_es.mdindex cf4472a64..56a8fb1ca 100644--- a/README_es.md+++ b/README_es.md@@ -52,13 +52,15 @@> ⚠️ **Advertencia de seguridad:** la cuenta de X `VibeTrading_HKU`, el proyecto de Virtuals `101845` y el contrato de token `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` no son activos oficiales de Vibe-Trading. Nunca hemos lanzado ni respaldado ningún token o memecoin. No compres, conectes una wallet ni firmes nada. [Detalles](SECURITY.md#official-channels--impersonation).+- **2026-08-31** 🧮 **Yahoo contabilizaba cada dividendo como una pérdida, y el recuento de rebalanceos que veías no tenía nada que ver con las ejecuciones**: ambas rutas de Yahoo servían OHLC sin ajustar por dividendos mientras el resto de la cadena servía precios ajustados, de modo que cada hueco ex-dividendo se leía como una caída real en cualquier backtest de renta variable estadounidense que ganara Yahoo. Ahora el OHLC se escala al `adjclose` de Yahoo y la ruta de yfinance pide la serie ajustada; el volumen sigue siendo bruto en ambas ([#1287](https://github.com/HKUDS/Vibe-Trading/pull/1287)). Medir la cadena para verificarlo sacó a la luz algo que conviene decir con claridad: **sina y longbridge siguen sirviendo precios totalmente sin ajustar**, así que la fuente en la que caigas todavía cambia el calibre del precio — esa brecha se rastrea ahora en [#1301](https://github.com/HKUDS/Vibe-Trading/issues/1301). Aparte, `rebalance_count` contaba *cambios* de peso objetivo, no ejecuciones: una estrategia SPY/BND con objetivo constante reportaba un rebalanceo frente a 1.269 operaciones. Solicitado y ejecutado son ahora métricas separadas, las de ejecución derivadas de registros de fills inmutables ([#1281](https://github.com/HKUDS/Vibe-Trading/pull/1281), cierra [#1275](https://github.com/HKUDS/Vibe-Trading/issues/1275)). **Nuevo:** `rebalance_mask` ejecuta rebalanceo parcial según un calendario o fechas explícitas en lugar de en cada barra ([#1277](https://github.com/HKUDS/Vibe-Trading/pull/1277), cierra [#1273](https://github.com/HKUDS/Vibe-Trading/issues/1273)); el informe HTML de alpha bench ya incluye la divulgación de sesgo de supervivencia que el JSON ya tenía, nombrando la fuente de constituyentes y su fecha de corte ([#1289](https://github.com/HKUDS/Vibe-Trading/pull/1289)). **Corregido:** un símbolo sin resolver ya no deja tirado al resto de su lote — la cadena reintenta solo los que faltan y la procedencia nombra la fuente de la que vino realmente cada símbolo ([#1288](https://github.com/HKUDS/Vibe-Trading/pull/1288)); un barrido de parada podía marcar un episodio que nunca barrió, y dos finalizaciones concurrentes podían perder el registro de la otra ([#1254](https://github.com/HKUDS/Vibe-Trading/pull/1254)); una conexión Futu OpenD operativa se mostraba como no disponible porque su informe de salud omitía `connection_state`; el actualizador de escritorio leía un sondeo de proceso con permiso denegado como "backend terminado" ([#1284](https://github.com/HKUDS/Vibe-Trading/pull/1284)); y una sesión enviada a segundo plano a mitad de turno mantenía su indicador en la barra lateral durante toda la vida de la pestaña ([#1257](https://github.com/HKUDS/Vibe-Trading/pull/1257), cierra [#1256](https://github.com/HKUDS/Vibe-Trading/issues/1256)). ¡Gracias [@he-yufeng](https://github.com/he-yufeng), [@cgycorey](https://github.com/cgycorey), [@thisisjun786](https://github.com/thisisjun786), [@bonyohana](https://github.com/bonyohana), [@lorenzozanee](https://github.com/lorenzozanee), y [@iagop03](https://github.com/iagop03)!+- **2026-08-30** 🇬🇧 **Las acciones de LSE llegan sin convertir peniques en libras, y los triggers live dejan de activarse con el mercado cerrado**: los símbolos `.L` funcionan ahora de extremo a extremo mediante el fallback de datos de mercado Yahoo → yfinance → local, perfiles de acciones y estados financieros, consumidores del diario de operaciones y Shadow, y backtests liquidados en GBP. El loader trata `.L` solo como marcador de mercado: los precios declarados en GBp/p se dividen por 100, GBP pasa sin cambios y USD, otras divisas o una divisa desconocida se rechazan antes de la capa contable estática en GBP. La procedencia de conversión por símbolo sobrevive a los ciclos de caché y se incrementó su versión para impedir que vuelvan entradas antiguas inseguras; la ejecución británica también usa acciones enteras y `slippage_uk` ([#1206](https://github.com/HKUDS/Vibe-Trading/pull/1206), cierra [#1205](https://github.com/HKUDS/Vibe-Trading/issues/1205)). **Corregido:** los market-triggered live ticks se detienen antes de leer el bróker cuando todos los mercados asociados están cerrados, mientras los canales solo por intervalo y por eventos quedan fuera de esta puerta ([#1253](https://github.com/HKUDS/Vibe-Trading/pull/1253)); Run Detail permite desplazarse, recorta prompts largos y vuelve a plegarlos al cambiar de run ([#1258](https://github.com/HKUDS/Vibe-Trading/pull/1258)); los runs que no son backtests van a Studio en vez de un dashboard vacío, y un array vacío de artefactos de operaciones ya no oculta un `trade_log` con datos ([#1259](https://github.com/HKUDS/Vibe-Trading/pull/1259)). ¡Gracias [@cgycorey](https://github.com/cgycorey), [@he-yufeng](https://github.com/he-yufeng) y [@iagop03](https://github.com/iagop03)!- **2026-08-29** 🛑 **Un interruptor de emergencia que se saltó su propia acción, y un par cripto que resolvía a otra moneda**: cuando fallaban las lecturas del bróker en un canal detenido —el adaptador devuelve un sobre de error en lugar de lanzar una excepción, y el barrido lo recorría como si fuera una lista de órdenes—, el barrido se marcaba igualmente como disparado. La cancelación y el cierre de posiciones que el interruptor existe para ejecutar se omitían en silencio en ese episodio, y nada lo reintentaba. Ahora solo se bloquea después de haber intentado realmente una escritura en el bróker, reclama cada episodio de parada en exclusiva para que dos ejecutores no dupliquen un cierre, y ya no interpreta como aceptado un rechazo del bróker envuelto en un éxito de la capa de transporte ([#1244](https://github.com/HKUDS/Vibe-Trading/pull/1244)). Aparte, pedir `ETH-USDT` devolvía `AETHUSDT-USD` —Aave Ethereum USDT, un activo distinto— porque la búsqueda de símbolos nunca cubrió los pares de exchange y ganaba la cadena más parecida de Yahoo. Los pares exactos se resuelven ahora contra los catálogos de los exchanges, que son públicos y no requieren cuenta de bróker ([#1242](https://github.com/HKUDS/Vibe-Trading/pull/1242), cierra [#1234](https://github.com/HKUDS/Vibe-Trading/issues/1234)). **Nuevo:** los conectores integrados publican un contrato de alta legible por máquina, de modo que `vibe-trading connector setup` y el centro de conexiones de Cartera usan un único flujo genérico, con los secretos guardados por conexión en el llavero del sistema operativo ([#1250](https://github.com/HKUDS/Vibe-Trading/pull/1250)). **Corregido:** los reintentos de streaming escalan y respetan `Retry-After` ([#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208)); una pata cuyo objetivo se redondea por debajo de un lote se informa en lugar de operar cero veces sin avisar ([#1235](https://github.com/HKUDS/Vibe-Trading/issues/1235)); y un índice de referencia explícito se mide sobre la ventana evaluada, no sobre la descargada, de modo que el límite de calentamiento de ayer ya no compara dos periodos distintos. ¡Gracias [@cgycorey](https://github.com/cgycorey), [@pengpengyi92](https://github.com/pengpengyi92), [@lorenzozanee](https://github.com/lorenzozanee), [@goatyyc](https://github.com/goatyyc), [@ethanstoner](https://github.com/ethanstoner), [@QG8000](https://github.com/QG8000) y [@turtle696966969696](https://github.com/turtle696966969696)!-- **2026-08-28** 📏 **Backtests que reventaban, y backtests que calificaban en silencio un año que nunca pediste**: en v0.1.14 todo backtest multi-mercado moría — el runner pasa deliberadamente `bars_per_year=None` para una cesta que abarca varios mercados, y la nueva radiografía de riesgo le aplicaba `math.sqrt`. Otros dos consumidores tenían el mismo hueco; los cuatro resuelven ahora `None` mediante un único factor derivado del período ([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239), closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237)). El más silencioso: una estrategia de lookback largo necesita barras *anteriores* al período que pediste, así que el agente retrasaba `start_date` un año para alimentar la MA200 — y luego calificaba ese año. Una ejecución presentada como diez años reportaba once, con las operaciones, el CAGR y el benchmark del año extra incluidos, sin error alguno y con métricas coherentes entre sí. Ahora `warmup_bars` (o `evaluation_start_date`) separa la ventana de datos de la ventana de evaluación: las barras de calentamiento ceban los indicadores y no llegan a nada más ([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240)). **Nuevo:** `quantlib` incorpora la valoración con volatilidad estocástica de Heston (1993), Paridad de Riesgo Jerárquica, cópulas gaussianas y arquimedianas, estimadores de microestructura (VPIN, Roll, Amihud, Kyle) y griegas de barrera por diferencias finitas — 306 funciones probadas en 23 módulos ([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198), [#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203)). **Corregido:** ocho enlaces de referencia de skills apuntaban a rutas que `read_file` no puede abrir, por lo que esos documentos fallaban en silencio al cargarse. ¡Gracias [@cgycorey](https://github.com/cgycorey), [@santhreal](https://github.com/santhreal), [@turtle696966969696](https://github.com/turtle696966969696) y [@wanderkiller](https://github.com/wanderkiller)!<details><summary>Noticias anteriores</summary>+- **2026-08-28** 📏 **Backtests que reventaban, y backtests que calificaban en silencio un año que nunca pediste**: en v0.1.14 todo backtest multi-mercado moría — el runner pasa deliberadamente `bars_per_year=None` para una cesta que abarca varios mercados, y la nueva radiografía de riesgo le aplicaba `math.sqrt`. Otros dos consumidores tenían el mismo hueco; los cuatro resuelven ahora `None` mediante un único factor derivado del período ([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239), closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237)). El más silencioso: una estrategia de lookback largo necesita barras *anteriores* al período que pediste, así que el agente retrasaba `start_date` un año para alimentar la MA200 — y luego calificaba ese año. Una ejecución presentada como diez años reportaba once, con las operaciones, el CAGR y el benchmark del año extra incluidos, sin error alguno y con métricas coherentes entre sí. Ahora `warmup_bars` (o `evaluation_start_date`) separa la ventana de datos de la ventana de evaluación: las barras de calentamiento ceban los indicadores y no llegan a nada más ([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240)). **Nuevo:** `quantlib` incorpora la valoración con volatilidad estocástica de Heston (1993), Paridad de Riesgo Jerárquica, cópulas gaussianas y arquimedianas, estimadores de microestructura (VPIN, Roll, Amihud, Kyle) y griegas de barrera por diferencias finitas — 306 funciones probadas en 23 módulos ([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198), [#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203)). **Corregido:** ocho enlaces de referencia de skills apuntaban a rutas que `read_file` no puede abrir, por lo que esos documentos fallaban en silencio al cargarse. ¡Gracias [@cgycorey](https://github.com/cgycorey), [@santhreal](https://github.com/santhreal), [@turtle696966969696](https://github.com/turtle696966969696) y [@wanderkiller](https://github.com/wanderkiller)!- **2026-08-27** 🛑 **El barrido del kill-switch sobrevive a los reinicios y deja de confiar en una conexión de bróker inestable**: durante un halt, el barrido de cancelación y cierre de posiciones contaba cualquier respuesta del bróker como éxito — pero el adaptador MCP convierte una llamada fallida en un sobre `{"status": "error"}`, de modo que una desconexión producía un rastro de auditoría de apariencia correcta mientras la orden pendiente seguía viva; los sobres de error ahora fallan cerrado en ambas fases ([#1232](https://github.com/HKUDS/Vibe-Trading/pull/1232)). El pestillo de "disparo único" del barrido además vivía solo en memoria: un reinicio con las órdenes de cierre aún en vuelo repetía el barrido entero — una orden a mercado nueva por posición, suficiente para convertir una cuenta larga en neta corta; el pestillo ahora se persiste junto al centinela HALT y queda ligado a ese episodio de halt, así que limpiar y volver a disparar lo rearma ([#1233](https://github.com/HKUDS/Vibe-Trading/pull/1233)). **Nuevo:** el orden de respaldo de las fuentes de datos de cada mercado es visible y reordenable en *Settings → Data Source Priority* — aplicación en caliente, persistido por mercado (`MARKET_DATA_ORDER_*`), y estrictamente una reordenación: añadir o quitar fuentes se rechaza, y sin override los valores por defecto quedan intactos ([#1231](https://github.com/HKUDS/Vibe-Trading/pull/1231)); los resultados de conciliación de Binance USD-M se registran como artefactos de evidencia de deriva a prueba de manipulación — JSON estricto, fallo cerrado ante instantáneas incompletas o no soportadas, sin superficie de órdenes ([#1230](https://github.com/HKUDS/Vibe-Trading/pull/1230), hacia [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030)). ¡Gracias [@he-yufeng](https://github.com/he-yufeng), [@sambazhu](https://github.com/sambazhu) y [@honginp](https://github.com/honginp)!- **2026-08-26** ♻️ **Una orden Alpaca en vivo que pierde la respuesta del bróker deja de ser un misterio, y los backtests de oro dejan de ser sin fricción**: la puerta de órdenes registra de forma duradera la propiedad de cada envío antes de escribir al bróker, recupera el desenlace solo por el `client_order_id` exacto, atribuye las ejecuciones contra el delta de posición con signo y dispara el HALT ante cualquier contradicción — la recuperación jamás reenvía ([#1213](https://github.com/HKUDS/Vibe-Trading/pull/1213), [#1221](https://github.com/HKUDS/Vibe-Trading/pull/1221), [#1222](https://github.com/HKUDS/Vibe-Trading/pull/1222)). **Corregido:** los metales usaban las convenciones FX de pip y lote, dejando el spread del oro ~1.460× más barato y redondeando a cero las posiciones bajo 1.000 oz ([#1226](https://github.com/HKUDS/Vibe-Trading/pull/1226)); las posiciones HKD de Futu se valoraban como USD, sobrestimadas por el tipo USD/HKD ([#1228](https://github.com/HKUDS/Vibe-Trading/pull/1228)); Shadow Account leía claves de métricas que el runner nunca emite y cada backtest exitoso reportaba PnL = 0.00 ([#1217](https://github.com/HKUDS/Vibe-Trading/pull/1217)); las llamadas LLM en streaming nunca pedían usage, infrarreportando los tokens de salida del swarm ~18–36× ([#1225](https://github.com/HKUDS/Vibe-Trading/pull/1225)). **Nuevo:** snapshots de cuenta Binance USD-M de solo lectura (opt-in) — solo dos lecturas firmadas en lista de permitidos, sin superficie de órdenes ([#1229](https://github.com/HKUDS/Vibe-Trading/pull/1229), hacia [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030)); las reconexiones OAuth de la cartera corren en un subproceso acotado que no puede colgar el proceso web ni retener el puerto de callback ([#1211](https://github.com/HKUDS/Vibe-Trading/pull/1211)). ¡Gracias [@Elfsa-Miranda](https://github.com/Elfsa-Miranda), [@P1Piyush](https://github.com/P1Piyush), [@JaxonHu1024](https://github.com/JaxonHu1024), [@he-yufeng](https://github.com/he-yufeng), [@honginp](https://github.com/honginp) y [@goatyyc](https://github.com/goatyyc)!- **2026-08-25** 🛡️ **Cerrados dos fail-open en las puertas de trading en vivo, y el purged CV deja de borrar el entrenamiento entre bloques de test**: Un corto de Alpaca se contabilizaba como exposición *positiva* (`qty` es magnitud y la dirección va en `side`), así que vender más aflojaba `max_total_exposure_usd` — la cantidad ahora lleva signo en las rutas TAP JSON y SDK directa ([#1209](https://github.com/HKUDS/Vibe-Trading/pull/1209)); las lecturas de OKX/Futu aplanaban una llamada API rechazada en «libro vacío, `status: ok`», dejando a la puerta de mandato evaluar límites contra nada — ahora devuelven el sobre de error con el que la puerta falla cerrada ([#1212](https://github.com/HKUDS/Vibe-Trading/pull/1212)). Ambos son la Fase 0 de la hoja de ruta de auditoría en [#1207](https://github.com/HKUDS/Vibe-Trading/issues/1207). **Corregido:** el purged CV combinatorio trataba bloques de test no contiguos como un solo tramo y purgaba todo el entrenamiento entre ellos; ahora cada segmento purga por separado y un fold vaciado lanza un error ([#1204](https://github.com/HKUDS/Vibe-Trading/pull/1204)); las funciones de riesgo de crédito rechazan entradas NaN/inf en lugar de devolver puntuaciones NaN o un veredicto de «zona gris» ([#1215](https://github.com/HKUDS/Vibe-Trading/pull/1215), cierra [#1214](https://github.com/HKUDS/Vibe-Trading/issues/1214)). **Nuevo:** los reintentos de los workers del swarm usan retroceso equal-jitter acotado ([#1210](https://github.com/HKUDS/Vibe-Trading/pull/1210), hacia [#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208)); y `vibe-trading --swarm-retry <run_id>` / `/swarm retry` relanza una ejecución fallida, conservando las tareas completadas con `--resume` ([#1194](https://github.com/HKUDS/Vibe-Trading/pull/1194)). ¡Gracias [@he-yufeng](https://github.com/he-yufeng), [@santhreal](https://github.com/santhreal), [@Robin1987China](https://github.com/Robin1987China), [@pengpengyi92](https://github.com/pengpengyi92) y [@SiMinus](https://github.com/SiMinus)!diff --git a/README_ja.md b/README_ja.mdindex f3ca69184..ebe3b7cb3 100644--- a/README_ja.md+++ b/README_ja.md@@ -52,13 +52,15 @@> ⚠️ **セキュリティ警告:** Xアカウント `VibeTrading_HKU`、Virtualsプロジェクト `101845`、およびトークンコントラクト `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` は、いずれもVibe-Trading公式のものではありません。Vibe-Tradingはこれまで、いかなるトークンやミームコインも発行・公認していません。購入、ウォレットの接続、署名は行わないでください。[詳細](SECURITY.md#official-channels--impersonation)+- **2026-08-31** 🧮 **Yahoo は配当をすべて損失として計上し、表示されていたリバランス回数は約定と無関係だった**:Yahoo の 2 経路はいずれも配当調整前の OHLC を返す一方、チェーン上の他のソースは調整済み価格を返していたため、Yahoo がチェーンを勝ち取った米国株バックテストでは配当落ちギャップがそのまま実際の下落として読まれていました。OHLC は Yahoo の `adjclose` に合わせてスケールされ、yfinance 経路は調整済み系列を要求します。出来高は両経路とも生値のままです([#1287](https://github.com/HKUDS/Vibe-Trading/pull/1287))。これを検証するためにチェーンを実測したところ、はっきり述べておくべきことが分かりました:**sina と longbridge は今なお完全に未調整の価格を返します**。どのソースに当たるかで価格の基準が変わる状態は続いており、このギャップは [#1301](https://github.com/HKUDS/Vibe-Trading/issues/1301) で追跡しています。また `rebalance_count` は執行回数ではなく目標ウェイトの*変更*回数を数えていました。目標一定の SPY/BND 戦略が 1,269 回の取引に対してリバランス 1 回と報告していたのです。「要求」と「執行」は独立した指標になり、後者は不変の約定記録から導出されます([#1281](https://github.com/HKUDS/Vibe-Trading/pull/1281)、[#1275](https://github.com/HKUDS/Vibe-Trading/issues/1275) をクローズ)。**新機能:** `rebalance_mask` により、毎バーではなくカレンダーまたは明示日付で部分リバランスを実行できます([#1277](https://github.com/HKUDS/Vibe-Trading/pull/1277)、[#1273](https://github.com/HKUDS/Vibe-Trading/issues/1273) をクローズ)。HTML 版 alpha bench レポートにも、JSON には既にあった生存者バイアスの開示が構成銘柄ソースと基準日付きで載るようになりました([#1289](https://github.com/HKUDS/Vibe-Trading/pull/1289))。**修正:** 解決できないシンボルが 1 つあっても同一バッチの残りが取り残されなくなりました。チェーンは欠けているものだけを再試行し、来歴には各シンボルが実際に取得されたソースが記録されます([#1288](https://github.com/HKUDS/Vibe-Trading/pull/1288))。停止時のスイープが実行していない episode をラッチする可能性、および 2 つの並行完了が互いの記録を失う可能性を修正([#1254](https://github.com/HKUDS/Vibe-Trading/pull/1254))。稼働中の富途 OpenD 接続が、ヘルスレポートに `connection_state` が欠けていたため利用不可と表示される問題。デスクトップ更新機能が権限不足のプロセス確認を「バックエンド終了」と読む問題([#1284](https://github.com/HKUDS/Vibe-Trading/pull/1284))。ターン途中でバックグラウンドに回したセッションのサイドバー表示がタブを閉じるまで回り続ける問題([#1257](https://github.com/HKUDS/Vibe-Trading/pull/1257)、[#1256](https://github.com/HKUDS/Vibe-Trading/issues/1256) をクローズ)。[@he-yufeng](https://github.com/he-yufeng), [@cgycorey](https://github.com/cgycorey), [@thisisjun786](https://github.com/thisisjun786), [@bonyohana](https://github.com/bonyohana), [@lorenzozanee](https://github.com/lorenzozanee), および [@iagop03](https://github.com/iagop03) に感謝します!+- **2026-08-30** 🇬🇧 **LSE 株式がペンスをポンドと誤認せず利用可能になり、閉場中の live trigger も停止**:`.L` シンボルは Yahoo → yfinance → local の市場データフォールバック、株式プロファイルと財務諸表、取引ジャーナルと Shadow の消費先、GBP 決済のバックテストまで end-to-end で動作します。Loader は `.L` を取引所マーカーとしてのみ扱います。通貨が GBp/p と明示された価格は 100 で割り、GBP は変換せず通し、USD・その他・不明の通貨は静的な GBP 会計層に入る前に拒否します。シンボルごとの変換 provenance はキャッシュの往復後も保持され、古い危険なエントリが戻らないようキャッシュ版も更新しました。UK 執行には整数株と `slippage_uk` を使います([#1206](https://github.com/HKUDS/Vibe-Trading/pull/1206)、[#1205](https://github.com/HKUDS/Vibe-Trading/issues/1205) をクローズ)。**修正:** 関連する全市場が閉場中の場合、market-triggered live tick はブローカー読み取り前に停止しますが、interval-only と event-driven のチャネルは引き続きゲート対象外です([#1253](https://github.com/HKUDS/Vibe-Trading/pull/1253))。Run Detail は長い prompt をスクロール・省略表示でき、run 切り替え時に再び折りたたみます([#1258](https://github.com/HKUDS/Vibe-Trading/pull/1258))。バックテスト以外の run は空の dashboard ではなく Studio へ移動し、空の trade artifact 配列がデータ入りの `trade_log` を隠さなくなりました([#1259](https://github.com/HKUDS/Vibe-Trading/pull/1259))。貢献に感謝します:[@cgycorey](https://github.com/cgycorey)、[@he-yufeng](https://github.com/he-yufeng)、[@iagop03](https://github.com/iagop03)。- **2026-08-29** 🛑 **自らのアクションを飛ばしたキルスイッチと、別のコインとして解決された暗号資産ペア**:停止中チャネルのブローカー読み取りが失敗したとき——アダプタは例外を投げずにエラー封筒を返し、スイープはそれを注文リストとして反復していました——スイープはそれでも自らを発火済みとして記録していました。キルスイッチが実行するはずの注文取り消しと建玉の手仕舞いが、そのエピソードでは静かに飛ばされ、何も再試行しませんでした。現在はブローカーへの書き込みを実際に試みた後にのみラッチし、2 つのランナーが決済を重複させないよう各停止エピソードを排他的に確保し、トランスポート層の成功に包まれたブローカー拒否を受理として読まなくなりました([#1244](https://github.com/HKUDS/Vibe-Trading/pull/1244))。また、`ETH-USDT` を尋ねると `AETHUSDT-USD`——Aave Ethereum USDT という別の資産——が返っていました。シンボル検索が取引所ペアを扱っておらず、Yahoo の最も近い文字列が勝っていたためです。現在、正確なペアは公開されていてブローカー口座を必要としない取引所カタログに対して解決されます([#1242](https://github.com/HKUDS/Vibe-Trading/pull/1242)、[#1234](https://github.com/HKUDS/Vibe-Trading/issues/1234) をクローズ)。**新規:** 組み込みコネクタが機械可読なオンボーディング契約を公開し、`vibe-trading connector setup` とポートフォリオの接続センターが同一の汎用フローを駆動します。シークレットは接続ごとに OS のキーリングに保管されます([#1250](https://github.com/HKUDS/Vibe-Trading/pull/1250))。**修正:** ストリーム再試行が段階的に延び、`Retry-After` を尊重するようになりました([#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208))。目標が 1 単元未満に丸められるスリーブは、一度も約定しないまま黙って消えるのではなく報告されます([#1235](https://github.com/HKUDS/Vibe-Trading/issues/1235))。明示的ベンチマークは取得ウィンドウではなく評価ウィンドウで測定され、昨日のウォームアップ境界が異なる 2 期間を比較しなくなりました。[@cgycorey](https://github.com/cgycorey)、[@pengpengyi92](https://github.com/pengpengyi92)、[@lorenzozanee](https://github.com/lorenzozanee)、[@goatyyc](https://github.com/goatyyc)、[@ethanstoner](https://github.com/ethanstoner)、[@QG8000](https://github.com/QG8000)、[@turtle696966969696](https://github.com/turtle696966969696) に感謝します!-- **2026-08-28** 📏 **クラッシュするバックテストと、頼んでいない 1 年分を黙って採点していたバックテスト**:v0.1.14 ではクロスマーケットのバックテストがすべて落ちていました——runner は複数市場にまたがるバスケットに対して意図的に `bars_per_year=None` を渡し、新しいリスク X 線がそれに `math.sqrt` を適用していたためです。同じ穴が他に 2 か所あり、4 か所すべてが期間から導出する共通の年率換算係数を使うようになりました([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239)、closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237))。より静かな方:長いルックバックの戦略は**要求した期間より前**のバーを必要とするため、エージェントは MA200 を満たそうと `start_date` を 1 年戻し——そしてその 1 年も採点していました。10 年と称する実行が 11 年を報告し、余分な 1 年の取引・CAGR・ベンチマークが混ざり、エラーは出ず、指標同士は整合していました。`warmup_bars`(または `evaluation_start_date`)がデータ期間と評価期間を分離します。ウォームアップのバーは指標を温めるだけで、他には一切届きません([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240))。**新機能:** `quantlib` に Heston (1993) 確率的ボラティリティ価格付け、階層的リスクパリティ、ガウス・アルキメデス型コピュラ、マイクロストラクチャ推定量(VPIN、Roll、Amihud、Kyle)、有限差分のバリアグリークスを追加——23 モジュール・306 個のテスト済み関数([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198)、[#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203))。**修正:** 8 本のスキル参照リンクが `read_file` では開けないパスを指しており、該当ドキュメントは黙って読み込みに失敗していました。[@cgycorey](https://github.com/cgycorey)、[@santhreal](https://github.com/santhreal)、[@turtle696966969696](https://github.com/turtle696966969696)、[@wanderkiller](https://github.com/wanderkiller) に感謝します!<details><summary>過去のニュース</summary>+- **2026-08-28** 📏 **クラッシュするバックテストと、頼んでいない 1 年分を黙って採点していたバックテスト**:v0.1.14 ではクロスマーケットのバックテストがすべて落ちていました——runner は複数市場にまたがるバスケットに対して意図的に `bars_per_year=None` を渡し、新しいリスク X 線がそれに `math.sqrt` を適用していたためです。同じ穴が他に 2 か所あり、4 か所すべてが期間から導出する共通の年率換算係数を使うようになりました([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239)、closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237))。より静かな方:長いルックバックの戦略は**要求した期間より前**のバーを必要とするため、エージェントは MA200 を満たそうと `start_date` を 1 年戻し——そしてその 1 年も採点していました。10 年と称する実行が 11 年を報告し、余分な 1 年の取引・CAGR・ベンチマークが混ざり、エラーは出ず、指標同士は整合していました。`warmup_bars`(または `evaluation_start_date`)がデータ期間と評価期間を分離します。ウォームアップのバーは指標を温めるだけで、他には一切届きません([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240))。**新機能:** `quantlib` に Heston (1993) 確率的ボラティリティ価格付け、階層的リスクパリティ、ガウス・アルキメデス型コピュラ、マイクロストラクチャ推定量(VPIN、Roll、Amihud、Kyle)、有限差分のバリアグリークスを追加——23 モジュール・306 個のテスト済み関数([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198)、[#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203))。**修正:** 8 本のスキル参照リンクが `read_file` では開けないパスを指しており、該当ドキュメントは黙って読み込みに失敗していました。[@cgycorey](https://github.com/cgycorey)、[@santhreal](https://github.com/santhreal)、[@turtle696966969696](https://github.com/turtle696966969696)、[@wanderkiller](https://github.com/wanderkiller) に感謝します!- **2026-08-27** 🛑 **キルスイッチの一括クローズスイープが再起動を乗り越え、不安定なブローカー接続を信用しなくなりました**:ホールト中、キャンセル+クローズのスイープはブローカーの応答なら何でも成功として扱っていました——しかし MCP アダプタは失敗した呼び出しを `{"status": "error"}` エンベロープに変換するため、一度の接続断で、注文が生きたままなのに監査記録上は問題なしに見えていました。エラーエンベロープは両パスで fail-closed になりました([#1232](https://github.com/HKUDS/Vibe-Trading/pull/1232))。また「一度だけ発火」のラッチはメモリ上にしかなく、クローズ注文が約定前のまま再起動するとスイープ全体が再実行され——ポジションごとに新たな成行注文が出て、ロングの口座がネットショートに反転しかねませんでした。ラッチは HALT センチネルの隣に永続化され、そのホールトのエピソードに紐づくため、解除して再トリップすれば再武装されます([#1233](https://github.com/HKUDS/Vibe-Trading/pull/1233))。**新機能**:各市場のデータソースのフォールバック順序が *Settings → Data Source Priority* で確認・並べ替え可能に——ホット適用、市場ごとに永続化(`MARKET_DATA_ORDER_*`)、かつ並べ替えのみ許可:ソースの追加や削除は拒否され、オーバーライドがなければデフォルト順序は一切変わりません([#1231](https://github.com/HKUDS/Vibe-Trading/pull/1231))。Binance USD-M の照合結果は改ざん検出可能なドリフト証拠アーティファクトとして記録されます——厳格な JSON、不完全または未対応のスナップショットには fail-closed、発注面は一切ありません([#1230](https://github.com/HKUDS/Vibe-Trading/pull/1230)、[#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030) に向けて)。ありがとう [@he-yufeng](https://github.com/he-yufeng)、[@sambazhu](https://github.com/sambazhu)、[@honginp](https://github.com/honginp)!- **2026-08-26** ♻️ **ブローカー応答を失ったライブ Alpaca 注文が謎でなくなり、ゴールドのバックテストが摩擦ゼロでなくなりました**:注文ゲートはブローカー書き込み前に送信の所有権を永続化し、正確な `client_order_id` のみで結果を復元、符号付きポジション差分で約定を帰属させ、矛盾があれば HALT——復元経路は決して再送信しません([#1213](https://github.com/HKUDS/Vibe-Trading/pull/1213)、[#1221](https://github.com/HKUDS/Vibe-Trading/pull/1221)、[#1222](https://github.com/HKUDS/Vibe-Trading/pull/1222))。**修正:** 貴金属が FX の pip・ロット規約を使い、ゴールドのスプレッドコストが約 1,460 分の 1 に、1,000 オンス未満のポジションは静かにゼロ化([#1226](https://github.com/HKUDS/Vibe-Trading/pull/1226));Futu の HKD 保有が USD として評価され、約 USD/HKD レート分過大([#1228](https://github.com/HKUDS/Vibe-Trading/pull/1228));Shadow Account がランナーの出力しないメトリクスキーを読み、成功したバックテストが常に PnL = 0.00([#1217](https://github.com/HKUDS/Vibe-Trading/pull/1217));ストリーミング LLM 呼び出しが usage を要求せず、swarm の出力トークンを約 18〜36 倍過少報告([#1225](https://github.com/HKUDS/Vibe-Trading/pull/1225))。**新機能:** 読み取り専用 Binance USD-M 口座スナップショット(オプトイン)——許可リスト化された署名付きリード 2 本のみ、注文面なし([#1229](https://github.com/HKUDS/Vibe-Trading/pull/1229)、[#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030) に向けて);ポートフォリオの OAuth 再接続は制限付きサブプロセスで実行され、Web プロセスやコールバックポートを塞ぎません([#1211](https://github.com/HKUDS/Vibe-Trading/pull/1211))。[@Elfsa-Miranda](https://github.com/Elfsa-Miranda)、[@P1Piyush](https://github.com/P1Piyush)、[@JaxonHu1024](https://github.com/JaxonHu1024)、[@he-yufeng](https://github.com/he-yufeng)、[@honginp](https://github.com/honginp)、[@goatyyc](https://github.com/goatyyc) の皆さん、ありがとうございます!- **2026-08-25** 🛡️ **ライブゲートの 2 件の fail-open を封鎖;purged CV がテストブロック間の訓練データを消す問題も修正**:Alpaca のショートが*プラス*のエクスポージャーとして計上され(`qty` は絶対値、方向は `side`)、売るほど `max_total_exposure_usd` が緩んでいた——数量は TAP JSON と直接 SDK の両経路で符号付きに([#1209](https://github.com/HKUDS/Vibe-Trading/pull/1209));OKX/Futu は拒否された API 呼び出しを「空の帳簿、`status: ok`」に平坦化し、マンデートゲートが何もない帳簿で上限を評価していた——今は明示的なエラー封筒を返し、ゲートは fail-closed する([#1212](https://github.com/HKUDS/Vibe-Trading/pull/1212))。いずれも [#1207](https://github.com/HKUDS/Vibe-Trading/issues/1207) 監査ロードマップの Phase 0。**修正:** 組合せ purged CV が非連続テストブロックを一つのスパンとして扱い、その間の訓練観測をすべて purge していた;今はセグメント単位で purge し、訓練データが空になった fold は例外を上げる([#1204](https://github.com/HKUDS/Vibe-Trading/pull/1204));信用リスク関数は NaN/inf 入力を拒否し、NaN スコアや「グレーゾーン」判定を返さない([#1215](https://github.com/HKUDS/Vibe-Trading/pull/1215)、[#1214](https://github.com/HKUDS/Vibe-Trading/issues/1214) をクローズ)。**新機能:** swarm ワーカーのリトライは上限付き equal-jitter バックオフに([#1210](https://github.com/HKUDS/Vibe-Trading/pull/1210)、[#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208) に向けて);`vibe-trading --swarm-retry <run_id>` / `/swarm retry` で失敗した実行を再実行、`--resume` で完了済みタスクを保持([#1194](https://github.com/HKUDS/Vibe-Trading/pull/1194))。[@he-yufeng](https://github.com/he-yufeng)、[@santhreal](https://github.com/santhreal)、[@Robin1987China](https://github.com/Robin1987China)、[@pengpengyi92](https://github.com/pengpengyi92)、[@SiMinus](https://github.com/SiMinus) の皆さん、ありがとうございます!diff --git a/README_ko.md b/README_ko.mdindex f4914a4cb..1ac15bca6 100644--- a/README_ko.md+++ b/README_ko.md@@ -52,13 +52,15 @@> ⚠️ **보안 경고:** X 계정 `VibeTrading_HKU`, Virtuals 프로젝트 `101845`, 토큰 컨트랙트 `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4`는 모두 Vibe-Trading 공식과 무관합니다. Vibe-Trading은 어떠한 토큰이나 밈코인도 발행하거나 공식적으로 지지한 적이 없습니다. 해당 토큰을 구매하거나 지갑을 연결하거나 어떠한 서명도 하지 마세요. [자세히 보기](SECURITY.md#official-channels--impersonation).+- **2026-08-31** 🧮 **Yahoo가 모든 배당을 손실로 기록했고, 표시되던 리밸런싱 횟수는 실제 체결과 무관했습니다**: Yahoo의 두 경로 모두 배당 미조정 OHLC를 제공한 반면 체인의 나머지 소스는 조정된 가격을 제공했기 때문에, Yahoo가 체인에서 선택된 미국 주식 백테스트에서는 배당락 갭이 실제 하락으로 읽혔습니다. 이제 OHLC는 Yahoo의 `adjclose`에 맞춰 스케일되고 yfinance 경로는 조정된 시리즈를 요청하며, 거래량은 양쪽 모두 원본을 유지합니다([#1287](https://github.com/HKUDS/Vibe-Trading/pull/1287)). 이를 검증하려고 체인을 실측하다가 분명히 밝혀 둘 사실이 나왔습니다: **sina와 longbridge는 여전히 완전히 미조정된 가격을 제공합니다**. 어느 소스에 걸리느냐에 따라 가격 기준이 달라지는 상태는 그대로이며, 이 간극은 [#1301](https://github.com/HKUDS/Vibe-Trading/issues/1301)에서 추적합니다. 한편 `rebalance_count`는 실행이 아니라 목표 비중의 *변경* 횟수를 세고 있었습니다. 목표가 고정된 SPY/BND 전략이 1,269건의 거래에 대해 리밸런싱 1회를 보고했습니다. 이제 요청과 실행은 별도 지표이며, 실행 쪽은 불변 체결 기록에서 도출됩니다([#1281](https://github.com/HKUDS/Vibe-Trading/pull/1281), [#1275](https://github.com/HKUDS/Vibe-Trading/issues/1275) 종료). **신규:** `rebalance_mask`로 매 바가 아니라 캘린더 또는 명시적 날짜에 부분 리밸런싱을 실행합니다([#1277](https://github.com/HKUDS/Vibe-Trading/pull/1277), [#1273](https://github.com/HKUDS/Vibe-Trading/issues/1273) 종료). HTML alpha bench 리포트에도 JSON에는 이미 있던 생존 편향 고지가 구성종목 소스와 기준일과 함께 실립니다([#1289](https://github.com/HKUDS/Vibe-Trading/pull/1289)). **수정:** 해석되지 않은 심볼 하나가 같은 배치의 나머지를 발목잡지 않습니다 — 체인은 누락된 것만 재시도하고, 출처에는 각 심볼이 실제로 온 소스가 기록됩니다([#1288](https://github.com/HKUDS/Vibe-Trading/pull/1288)). 중단 스윕이 실행하지 않은 episode를 래치할 수 있었고, 두 개의 동시 완료가 서로의 기록을 잃을 수 있었습니다([#1254](https://github.com/HKUDS/Vibe-Trading/pull/1254)). 정상 작동하는 Futu OpenD 연결이 헬스 리포트에 `connection_state`가 빠져 사용 불가로 표시되던 문제. 데스크톱 업데이터가 권한 거부된 프로세스 확인을 "백엔드 종료"로 읽던 문제([#1284](https://github.com/HKUDS/Vibe-Trading/pull/1284)). 턴 도중 백그라운드로 보낸 세션의 사이드바 표시가 탭이 닫힐 때까지 계속 돌던 문제([#1257](https://github.com/HKUDS/Vibe-Trading/pull/1257), [#1256](https://github.com/HKUDS/Vibe-Trading/issues/1256) 종료). [@he-yufeng](https://github.com/he-yufeng), [@cgycorey](https://github.com/cgycorey), [@thisisjun786](https://github.com/thisisjun786), [@bonyohana](https://github.com/bonyohana), [@lorenzozanee](https://github.com/lorenzozanee), 그리고 [@iagop03](https://github.com/iagop03) 님께 감사드립니다!+- **2026-08-30** 🇬🇧 **LSE 주식을 펜스를 파운드로 오인하지 않고 지원하며, 장 마감 중 live trigger도 멈춥니다**: `.L` 심볼은 이제 Yahoo → yfinance → local 시장 데이터 폴백, 주식 프로필과 재무제표, 거래 저널과 Shadow 소비자, GBP 결제 백테스트까지 end-to-end로 동작합니다. Loader는 `.L`을 거래소 표시로만 취급합니다. 통화가 GBp/p로 명시된 가격은 100으로 나누고, GBP는 그대로 통과시키며, USD·기타·미상 통화는 정적 GBP 회계 계층에 도달하기 전에 거부합니다. 심볼별 변환 provenance는 캐시 왕복 후에도 유지되고, 이전의 안전하지 않은 항목이 돌아오지 않도록 캐시 버전도 올렸습니다. UK 체결은 정수 주식 수량과 `slippage_uk`를 사용합니다([#1206](https://github.com/HKUDS/Vibe-Trading/pull/1206), [#1205](https://github.com/HKUDS/Vibe-Trading/issues/1205) 종료). **수정:** 연결된 모든 시장이 닫혀 있으면 market-triggered live tick은 브로커 조회 전에 멈추지만, interval-only 및 event-driven 채널은 계속 게이트 대상에서 제외됩니다([#1253](https://github.com/HKUDS/Vibe-Trading/pull/1253)). Run Detail은 긴 prompt를 스크롤·축약 표시하고 run을 바꾸면 다시 접습니다([#1258](https://github.com/HKUDS/Vibe-Trading/pull/1258)). 백테스트가 아닌 run은 빈 dashboard 대신 Studio로 이동하고, 빈 trade artifact 배열이 데이터가 있는 `trade_log`를 가리지 않습니다([#1259](https://github.com/HKUDS/Vibe-Trading/pull/1259)). [@cgycorey](https://github.com/cgycorey), [@he-yufeng](https://github.com/he-yufeng), [@iagop03](https://github.com/iagop03)님께 감사드립니다!- **2026-08-29** 🛑 **자기 동작을 건너뛴 킬 스위치, 그리고 다른 코인으로 해석된 암호화폐 페어**: 정지된 채널의 브로커 조회가 실패했을 때 — 어댑터가 예외를 던지는 대신 오류 봉투를 반환했고, 스윕은 그것을 주문 목록처럼 순회했습니다 — 스윕은 그래도 자신을 발동됨으로 기록했습니다. 킬 스위치가 수행해야 할 주문 취소와 포지션 청산이 그 에피소드에서 조용히 건너뛰어졌고, 무엇도 재시도하지 않았습니다. 이제는 브로커 쓰기를 실제로 시도한 뒤에만 래치하고, 두 러너가 청산을 중복하지 않도록 각 정지 에피소드를 배타적으로 점유하며, 전송 계층 성공에 감싸인 브로커 거부를 수락으로 읽지 않습니다([#1244](https://github.com/HKUDS/Vibe-Trading/pull/1244)). 별개로 `ETH-USDT`를 물으면 `AETHUSDT-USD` — Aave Ethereum USDT라는 전혀 다른 자산 — 가 돌아왔습니다. 심볼 검색이 거래소 페어를 다루지 않아 Yahoo의 가장 가까운 문자열이 이겼기 때문입니다. 이제 정확한 페어는 공개되어 있고 브로커 계정이 필요 없는 거래소 카탈로그를 상대로 해석됩니다([#1242](https://github.com/HKUDS/Vibe-Trading/pull/1242), [#1234](https://github.com/HKUDS/Vibe-Trading/issues/1234) 종료). **신규:** 내장 커넥터가 기계가 읽을 수 있는 온보딩 계약을 게시하므로 `vibe-trading connector setup`과 포트폴리오 연결 센터가 하나의 범용 흐름을 사용하고, 비밀 값은 연결별로 OS 키링에 보관됩니다([#1250](https://github.com/HKUDS/Vibe-Trading/pull/1250)). **수정:** 스트림 재시도가 단계적으로 늘어나며 `Retry-After`를 존중합니다([#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208)). 목표가 한 계약 미만으로 반올림되는 슬리브는 한 번도 체결되지 않은 채 조용히 사라지지 않고 보고됩니다([#1235](https://github.com/HKUDS/Vibe-Trading/issues/1235)). 명시적 벤치마크는 수집 구간이 아니라 평가 구간에서 측정되어, 어제의 워밍업 경계가 서로 다른 두 기간을 비교하지 않습니다. [@cgycorey](https://github.com/cgycorey), [@pengpengyi92](https://github.com/pengpengyi92), [@lorenzozanee](https://github.com/lorenzozanee), [@goatyyc](https://github.com/goatyyc), [@ethanstoner](https://github.com/ethanstoner), [@QG8000](https://github.com/QG8000), [@turtle696966969696](https://github.com/turtle696966969696) 님께 감사드립니다!-- **2026-08-28** 📏 **크래시가 나는 백테스트, 그리고 요청하지도 않은 1년을 조용히 채점하던 백테스트**: v0.1.14에서는 모든 크로스마켓 백테스트가 죽었습니다 — runner가 여러 시장에 걸친 바스켓에 의도적으로 `bars_per_year=None`을 넘기고, 새 리스크 엑스레이가 거기에 `math.sqrt`를 호출했기 때문입니다. 같은 구멍이 두 군데 더 있었고, 네 곳 모두 이제 기간에서 유도한 하나의 공통 연율화 계수를 사용합니다([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239), closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237)). 더 조용한 쪽: 룩백이 긴 전략은 **요청한 기간 이전**의 바가 필요하므로 에이전트가 MA200을 채우려 `start_date`를 1년 앞당겼고 — 그 1년까지 채점했습니다. 10년이라고 소개된 실행이 11년을 보고했고, 추가된 1년의 거래·CAGR·벤치마크가 섞여 들어갔으며, 오류는 없었고 지표들끼리는 일관됐습니다. 이제 `warmup_bars`(또는 `evaluation_start_date`)가 데이터 구간과 평가 구간을 분리합니다. 워밍업 바는 지표만 데우고 그 외에는 아무것도 건드리지 않습니다([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240)). **신규:** `quantlib`에 Heston(1993) 확률적 변동성 가격결정, 계층적 리스크 패리티, 가우시안 및 아르키메데스 코퓰러, 마이크로스트럭처 추정량(VPIN, Roll, Amihud, Kyle), 유한차분 배리어 그릭스 추가 — 23개 모듈 306개의 테스트된 함수([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198), [#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203)). **수정:** 스킬 참조 링크 8개가 `read_file`이 열 수 없는 경로를 가리켜, 해당 문서들이 조용히 로드에 실패하고 있었습니다. [@cgycorey](https://github.com/cgycorey), [@santhreal](https://github.com/santhreal), [@turtle696966969696](https://github.com/turtle696966969696), [@wanderkiller](https://github.com/wanderkiller) 님 감사합니다!<details><summary>이전 뉴스</summary>+- **2026-08-28** 📏 **크래시가 나는 백테스트, 그리고 요청하지도 않은 1년을 조용히 채점하던 백테스트**: v0.1.14에서는 모든 크로스마켓 백테스트가 죽었습니다 — runner가 여러 시장에 걸친 바스켓에 의도적으로 `bars_per_year=None`을 넘기고, 새 리스크 엑스레이가 거기에 `math.sqrt`를 호출했기 때문입니다. 같은 구멍이 두 군데 더 있었고, 네 곳 모두 이제 기간에서 유도한 하나의 공통 연율화 계수를 사용합니다([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239), closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237)). 더 조용한 쪽: 룩백이 긴 전략은 **요청한 기간 이전**의 바가 필요하므로 에이전트가 MA200을 채우려 `start_date`를 1년 앞당겼고 — 그 1년까지 채점했습니다. 10년이라고 소개된 실행이 11년을 보고했고, 추가된 1년의 거래·CAGR·벤치마크가 섞여 들어갔으며, 오류는 없었고 지표들끼리는 일관됐습니다. 이제 `warmup_bars`(또는 `evaluation_start_date`)가 데이터 구간과 평가 구간을 분리합니다. 워밍업 바는 지표만 데우고 그 외에는 아무것도 건드리지 않습니다([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240)). **신규:** `quantlib`에 Heston(1993) 확률적 변동성 가격결정, 계층적 리스크 패리티, 가우시안 및 아르키메데스 코퓰러, 마이크로스트럭처 추정량(VPIN, Roll, Amihud, Kyle), 유한차분 배리어 그릭스 추가 — 23개 모듈 306개의 테스트된 함수([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198), [#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203)). **수정:** 스킬 참조 링크 8개가 `read_file`이 열 수 없는 경로를 가리켜, 해당 문서들이 조용히 로드에 실패하고 있었습니다. [@cgycorey](https://github.com/cgycorey), [@santhreal](https://github.com/santhreal), [@turtle696966969696](https://github.com/turtle696966969696), [@wanderkiller](https://github.com/wanderkiller) 님 감사합니다!- **2026-08-27** 🛑 **킬 스위치 일괄 청산 스윕이 재시작을 견디고, 불안정한 브로커 연결을 더 이상 신뢰하지 않습니다**: 홀트 중 취소+청산 스윕은 브로커의 어떤 응답이든 성공으로 간주했습니다 — 그러나 MCP 어댑터는 실패한 호출을 `{"status": "error"}` 봉투로 변환하므로, 연결이 한 번 끊기면 대기 주문이 살아 있는데도 감사 기록은 정상처럼 보였습니다. 이제 두 단계 모두 오류 봉투에 대해 fail-closed입니다 ([#1232](https://github.com/HKUDS/Vibe-Trading/pull/1232)). 또한 "한 번만 실행" 래치는 메모리에만 있어서, 청산 주문이 체결되기 전에 재시작하면 스윕 전체가 재실행되어 — 포지션마다 새 시장가 주문이 나가 롱 계좌가 순숏으로 뒤집힐 수 있었습니다. 래치는 이제 HALT 센티널 옆에 영속화되고 해당 홀트 에피소드에 바인딩되며, 해제 후 다시 트립하면 재무장됩니다 ([#1233](https://github.com/HKUDS/Vibe-Trading/pull/1233)). **신규**: 각 시장의 데이터 소스 폴백 순서를 *Settings → Data Source Priority*에서 확인하고 재정렬할 수 있습니다 — 핫 적용, 시장별 영속화(`MARKET_DATA_ORDER_*`), 오직 재정렬만 허용: 소스 추가/삭제는 거부되며, 오버라이드가 없으면 기본 순서는 그대로입니다 ([#1231](https://github.com/HKUDS/Vibe-Trading/pull/1231)). Binance USD-M 대조 결과는 변조 감지 가능한 드리프트 증거 아티팩트로 기록됩니다 — 엄격한 JSON, 불완전하거나 지원되지 않는 스냅샷에는 fail-closed, 주문 표면 없음 ([#1230](https://github.com/HKUDS/Vibe-Trading/pull/1230), [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030)을 향해). 감사합니다 [@he-yufeng](https://github.com/he-yufeng), [@sambazhu](https://github.com/sambazhu), [@honginp](https://github.com/honginp)!- **2026-08-26** ♻️ **브로커 응답을 잃은 라이브 Alpaca 주문이 더 이상 미스터리가 아니며, 금 백테스트가 무마찰이기를 멈췄다**: 주문 게이트는 브로커 쓰기 전에 제출 소유권을 내구성 있게 기록하고, 정확한 `client_order_id`로만 결과를 복구하며, 부호 있는 포지션 델타로 체결을 귀속시키고, 모순이 있으면 HALT한다 — 복구 경로는 절대 재제출하지 않는다 ([#1213](https://github.com/HKUDS/Vibe-Trading/pull/1213), [#1221](https://github.com/HKUDS/Vibe-Trading/pull/1221), [#1222](https://github.com/HKUDS/Vibe-Trading/pull/1222)). **수정:** 귀금속이 FX pip·랏 규약을 써서 금 스프레드 비용이 약 1,460배 작아지고 1,000온스 미만 포지션이 조용히 0이 됐다 ([#1226](https://github.com/HKUDS/Vibe-Trading/pull/1226)); Futu HKD 보유가 USD로 평가되어 약 USD/HKD 환율만큼 과대계상됐다 ([#1228](https://github.com/HKUDS/Vibe-Trading/pull/1228)); Shadow Account가 러너가 내보내지 않는 메트릭 키를 읽어 성공한 백테스트마다 PnL = 0.00으로 보고했다 ([#1217](https://github.com/HKUDS/Vibe-Trading/pull/1217)); 스트리밍 LLM 호출이 usage를 요청하지 않아 swarm 출력 토큰이 약 18–36배 과소보고됐다 ([#1225](https://github.com/HKUDS/Vibe-Trading/pull/1225)). **신규:** 읽기 전용 Binance USD-M 계좌 스냅샷(옵트인) — 허용 목록의 서명 읽기 두 개뿐, 주문 표면 없음 ([#1229](https://github.com/HKUDS/Vibe-Trading/pull/1229), [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030)을 향해); 포트폴리오 OAuth 재연결이 제한된 서브프로세스에서 실행되어 웹 프로세스나 콜백 포트를 붙잡지 못한다 ([#1211](https://github.com/HKUDS/Vibe-Trading/pull/1211)). [@Elfsa-Miranda](https://github.com/Elfsa-Miranda), [@P1Piyush](https://github.com/P1Piyush), [@JaxonHu1024](https://github.com/JaxonHu1024), [@he-yufeng](https://github.com/he-yufeng), [@honginp](https://github.com/honginp), [@goatyyc](https://github.com/goatyyc) 님들께 감사드립니다!- **2026-08-25** 🛡️ **라이브 게이트의 fail-open 두 건 차단; purged CV가 테스트 블록 사이 훈련 데이터를 지우던 문제 수정**: Alpaca 숏이 *양수* 익스포저로 기록되어(`qty`는 절댓값, 방향은 `side`) 팔수록 `max_total_exposure_usd`가 느슨해졌다 — 이제 TAP JSON과 직접 SDK 두 경로 모두 수량에 부호가 붙는다 ([#1209](https://github.com/HKUDS/Vibe-Trading/pull/1209)); OKX/Futu는 거부된 API 호출을 "빈 장부, `status: ok`"로 뭉개 위임 게이트가 빈 장부에 대고 한도를 평가했다 — 이제 명시적 오류 봉투를 반환하고 게이트는 fail-closed 한다 ([#1212](https://github.com/HKUDS/Vibe-Trading/pull/1212)). 둘 다 [#1207](https://github.com/HKUDS/Vibe-Trading/issues/1207) 감사 로드맵의 Phase 0. **수정:** 조합형 purged CV가 비연속 테스트 블록을 한 구간으로 취급해 그 사이 훈련 관측치를 전부 purge했다; 이제 세그먼트별로 purge하고 훈련 데이터가 빈 fold는 예외를 던진다 ([#1204](https://github.com/HKUDS/Vibe-Trading/pull/1204)); 신용리스크 함수는 NaN/inf 입력을 거부하며 NaN 점수나 "회색 지대" 판정을 반환하지 않는다 ([#1215](https://github.com/HKUDS/Vibe-Trading/pull/1215), [#1214](https://github.com/HKUDS/Vibe-Trading/issues/1214) 닫음). **신규:** swarm 워커 재시도가 상한 있는 equal-jitter 백오프로 바뀌었다 ([#1210](https://github.com/HKUDS/Vibe-Trading/pull/1210), [#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208)을 향해); `vibe-trading --swarm-retry <run_id>` / `/swarm retry`로 실패한 실행을 다시 돌리고 `--resume`으로 완료된 태스크를 유지한다 ([#1194](https://github.com/HKUDS/Vibe-Trading/pull/1194)). [@he-yufeng](https://github.com/he-yufeng)、[@santhreal](https://github.com/santhreal)、[@Robin1987China](https://github.com/Robin1987China)、[@pengpengyi92](https://github.com/pengpengyi92)、[@SiMinus](https://github.com/SiMinus) 님들께 감사드립니다!diff --git a/README_zh.md b/README_zh.mdindex 7664f2639..9cce1f23f 100644--- a/README_zh.md+++ b/README_zh.md@@ -52,13 +52,15 @@> ⚠️ **安全警告:** X 账号 `VibeTrading_HKU`、Virtuals 项目 `101845` 及代币合约 `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` 均非 Vibe-Trading 官方。我们从未发行或背书任何代币或 meme 币。请勿购买、连接钱包或签名。[详细说明](SECURITY.md#official-channels--impersonation)。+- **2026-08-31** 🧮 **Yahoo 把每一次分红都记成了亏损,而你看到的再平衡次数和实际成交毫无关系**:Yahoo 的两条路径都提供未做分红复权的 OHLC,而链上其余数据源给的是复权价,于是只要 Yahoo 赢下这条链,任何美股回测里的除息缺口都会被读成真实下跌。现在 OHLC 按 Yahoo 的 `adjclose` 缩放,yfinance 路径直接请求复权序列;两边的成交量都保持原始值([#1287](https://github.com/HKUDS/Vibe-Trading/pull/1287))。为核实这一点而实测整条链时,有个结论值得直说:**sina 和 longbridge 至今仍提供完全未复权的价格**,所以你落在哪个源上仍然会改变价格口径——这个缺口现由 [#1301](https://github.com/HKUDS/Vibe-Trading/issues/1301) 追踪。另外,`rebalance_count` 数的是目标权重的*变化*而非执行次数:一个目标恒定的 SPY/BND 策略在 1,269 笔交易的情况下只报告了 1 次再平衡。现在「请求」与「执行」是两组独立指标,后者从不可变的成交记录推导([#1281](https://github.com/HKUDS/Vibe-Trading/pull/1281),关闭 [#1275](https://github.com/HKUDS/Vibe-Trading/issues/1275))。**新增:** `rebalance_mask` 支持按日历或指定日期做部分再平衡,不必每根 bar 都调([#1277](https://github.com/HKUDS/Vibe-Trading/pull/1277),关闭 [#1273](https://github.com/HKUDS/Vibe-Trading/issues/1273));HTML 版 alpha bench 报告现在也带上了 JSON 早就有的幸存者偏差披露,并注明成分股来源与其数据截止日([#1289](https://github.com/HKUDS/Vibe-Trading/pull/1289))。**修复:** 一个符号解析失败不再拖累同批其余符号——回退链现在只重试缺失的那些,且来源信息标注每个符号实际来自哪个源([#1288](https://github.com/HKUDS/Vibe-Trading/pull/1288));紧急停止的清仓扫描可能锁定一个它从未扫过的 episode,两个并发完成也可能互相覆盖记录([#1254](https://github.com/HKUDS/Vibe-Trading/pull/1254));可用的富途 OpenD 连接因健康报告缺少 `connection_state` 而被显示为不可用;桌面端更新器把「权限不足」的进程探测读成了「后端已退出」([#1284](https://github.com/HKUDS/Vibe-Trading/pull/1284));以及会话在回合中途被切到后台后,侧边栏的思考指示器会一直转到标签页关闭为止([#1257](https://github.com/HKUDS/Vibe-Trading/pull/1257),关闭 [#1256](https://github.com/HKUDS/Vibe-Trading/issues/1256))。感谢 [@he-yufeng](https://github.com/he-yufeng), [@cgycorey](https://github.com/cgycorey), [@thisisjun786](https://github.com/thisisjun786), [@bonyohana](https://github.com/bonyohana), [@lorenzozanee](https://github.com/lorenzozanee), 和 [@iagop03](https://github.com/iagop03)!+- **2026-08-30** 🇬🇧 **LSE 英股上线,不再把便士当英镑;闭市时 live trigger 也不再触发**:`.L` 符号现在端到端打通 Yahoo → yfinance → local 行情 fallback、股票档案与财务报表、交易日志与 Shadow 消费端,以及英镑结算回测。Loader 只把 `.L` 当作交易所标识:明确标为 GBp/p 的价格除以 100,GBP 原样通过,USD、其他币种或未知币种在进入静态英镑记账层之前即被拒绝。每个符号的换算来源可完整穿过缓存往返,缓存版本也已提升,旧的不安全条目不会回流;英股执行同时采用整股数量和 `slippage_uk`([#1206](https://github.com/HKUDS/Vibe-Trading/pull/1206),关闭 [#1205](https://github.com/HKUDS/Vibe-Trading/issues/1205))。**修复:** 当所有关联市场都处于闭市时,市场触发的 live tick 会在读取券商之前停止,而仅间隔和事件驱动的通道不受此门控([#1253](https://github.com/HKUDS/Vibe-Trading/pull/1253));Run Detail 可滚动并截断过长 prompt,切换 run 后会重新折叠([#1258](https://github.com/HKUDS/Vibe-Trading/pull/1258));非回测 run 会转到 Studio 而不是空白 dashboard,空的交易产物数组也不再遮住有内容的 `trade_log`([#1259](https://github.com/HKUDS/Vibe-Trading/pull/1259))。感谢 [@cgycorey](https://github.com/cgycorey)、[@he-yufeng](https://github.com/he-yufeng) 和 [@iagop03](https://github.com/iagop03)!- **2026-08-29** 🛑 **跳过了自己动作的紧急停止开关,以及解析成另一个币的加密货币交易对**:当已停机通道的券商读取失败时——适配器返回的是错误信封而不是抛异常,清仓流程把它当成订单列表来遍历——清仓流程仍然把自己标记为已触发。紧急停止开关本该执行的撤单与平仓,在那次事件里被静默跳过,也没有任何机制重试。现在只有在真正尝试过券商写入之后才会上锁,每次停机事件都会独占声明以免两个 runner 重复平仓,并且不再把包在传输层成功里的券商拒绝当作已接受([#1244](https://github.com/HKUDS/Vibe-Trading/pull/1244))。另外,查询 `ETH-USDT` 会返回 `AETHUSDT-USD`——Aave Ethereum USDT,一个完全不同的资产——因为符号搜索从未覆盖交易所交易对,最终由 Yahoo 的最近似字符串胜出。现在精确交易对会对着交易所目录解析,这些目录是公开的、不需要券商账号([#1242](https://github.com/HKUDS/Vibe-Trading/pull/1242),关闭 [#1234](https://github.com/HKUDS/Vibe-Trading/issues/1234))。**新增:** 内置连接器会公布机器可读的接入合同,因此 `vibe-trading connector setup` 和持仓页的连接中心共用同一套通用流程,密钥按连接分别存放在操作系统钥匙串中([#1250](https://github.com/HKUDS/Vibe-Trading/pull/1250))。**修复:** 流式重试现在会逐次升级并遵守 `Retry-After`([#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208));目标仓位不足一手而被取整为零的腿,现在会被报告出来,而不是一次都不成交却毫无提示([#1235](https://github.com/HKUDS/Vibe-Trading/issues/1235));显式基准现在按评估窗口而不是抓取窗口计算,昨天的预热边界不再拿两段不同的时间作比较。感谢 [@cgycorey](https://github.com/cgycorey)、[@pengpengyi92](https://github.com/pengpengyi92)、[@lorenzozanee](https://github.com/lorenzozanee)、[@goatyyc](https://github.com/goatyyc)、[@ethanstoner](https://github.com/ethanstoner)、[@QG8000](https://github.com/QG8000) 和 [@turtle696966969696](https://github.com/turtle696966969696)!-- **2026-08-28** 📏 **崩掉的回测,和悄悄多算了一年的回测**:v0.1.14 上每一个跨市场回测都会崩——runner 对跨市场篮子刻意传 `bars_per_year=None`,而新的风险 X 光直接对它调用 `math.sqrt`。另有两处消费者存在同样的缺口;四处现在统一走同一个按跨度推导的年化因子([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239),closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237))。更安静的那个:长回看策略需要**你所要求区间之前**的 K 线,于是 agent 把 `start_date` 前移一年来喂 MA200——然后把这一年也算进了业绩。号称十年的回测实际报了十一年,多出那一年的成交、CAGR 和基准全被折算进去,不报错,指标之间还自洽。现在 `warmup_bars`(或 `evaluation_start_date`)把数据窗口和评估窗口分开:预热 K 线只用来喂指标,其余一概不碰([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240))。**新增:** `quantlib` 增加 Heston (1993) 随机波动率定价、分层风险平价、高斯与阿基米德 Copula、微观结构估计量(VPIN、Roll、Amihud、Kyle)和有限差分障碍期权 Greeks——23 个模块共 306 个经测试的函数([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198)、[#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203))。**修复:** 8 条 skill 参考链接指向 `read_file` 打不开的路径,这些文档对 agent 一直在静默加载失败。感谢 [@cgycorey](https://github.com/cgycorey)、[@santhreal](https://github.com/santhreal)、[@turtle696966969696](https://github.com/turtle696966969696) 和 [@wanderkiller](https://github.com/wanderkiller)!<details><summary>更早的新闻</summary>+- **2026-08-28** 📏 **崩掉的回测,和悄悄多算了一年的回测**:v0.1.14 上每一个跨市场回测都会崩——runner 对跨市场篮子刻意传 `bars_per_year=None`,而新的风险 X 光直接对它调用 `math.sqrt`。另有两处消费者存在同样的缺口;四处现在统一走同一个按跨度推导的年化因子([#1239](https://github.com/HKUDS/Vibe-Trading/pull/1239),closes [#1237](https://github.com/HKUDS/Vibe-Trading/issues/1237))。更安静的那个:长回看策略需要**你所要求区间之前**的 K 线,于是 agent 把 `start_date` 前移一年来喂 MA200——然后把这一年也算进了业绩。号称十年的回测实际报了十一年,多出那一年的成交、CAGR 和基准全被折算进去,不报错,指标之间还自洽。现在 `warmup_bars`(或 `evaluation_start_date`)把数据窗口和评估窗口分开:预热 K 线只用来喂指标,其余一概不碰([#1240](https://github.com/HKUDS/Vibe-Trading/issues/1240))。**新增:** `quantlib` 增加 Heston (1993) 随机波动率定价、分层风险平价、高斯与阿基米德 Copula、微观结构估计量(VPIN、Roll、Amihud、Kyle)和有限差分障碍期权 Greeks——23 个模块共 306 个经测试的函数([#1195](https://github.com/HKUDS/Vibe-Trading/pull/1195)–[#1198](https://github.com/HKUDS/Vibe-Trading/pull/1198)、[#1203](https://github.com/HKUDS/Vibe-Trading/pull/1203))。**修复:** 8 条 skill 参考链接指向 `read_file` 打不开的路径,这些文档对 agent 一直在静默加载失败。感谢 [@cgycorey](https://github.com/cgycorey)、[@santhreal](https://github.com/santhreal)、[@turtle696966969696](https://github.com/turtle696966969696) 和 [@wanderkiller](https://github.com/wanderkiller)!- **2026-08-27** 🛑 **kill-switch 清仓扫单挺过重启,也不再轻信不稳的券商连接**:halt 期间,撤单+平仓扫单把券商的任何响应都当成功——但 MCP 适配层会把失败调用转成 `{"status": "error"}` 信封,于是一次断线就能留下一份看起来合规的审计记录,而挂单其实还活着;现在两个阶段都对错误信封 fail-closed([#1232](https://github.com/HKUDS/Vibe-Trading/pull/1232))。扫单的「只发一次」闩锁原先只在内存里:平仓单还在飞时重启进程,会把整轮扫单重放一遍——每个持仓再来一张市价单,足以把多头账户打成净空头;闩锁现在持久化在 HALT 哨兵旁并绑定该次 halt,清除后再触发仍会重新武装([#1233](https://github.com/HKUDS/Vibe-Trading/pull/1233))。**新增**:每个市场的数据源回退顺序在 *Settings → Data Source Priority* 里可见、可重排——热生效、按市场持久化(`MARKET_DATA_ORDER_*`),且只允许重排:增删数据源一律拒绝,不设覆盖时默认顺序分毫不动([#1231](https://github.com/HKUDS/Vibe-Trading/pull/1231));Binance USD-M 对账结果落为防篡改的漂移证据产物——严格 JSON,快照不完整或来源不支持即 fail-closed,无任何下单面([#1230](https://github.com/HKUDS/Vibe-Trading/pull/1230),推进 [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030))。感谢 [@he-yufeng](https://github.com/he-yufeng)、[@sambazhu](https://github.com/sambazhu)、[@honginp](https://github.com/honginp)!- **2026-08-26** ♻️ **实盘 Alpaca 下单丢失券商响应不再是悬案;黄金回测不再零摩擦**:下单闸门在写 broker 前先持久化这笔提交的所有权,恢复只认精确 `client_order_id`,成交按带符号仓位增量归因,任何矛盾直接 HALT——恢复路径绝不重发([#1213](https://github.com/HKUDS/Vibe-Trading/pull/1213)、[#1221](https://github.com/HKUDS/Vibe-Trading/pull/1221)、[#1222](https://github.com/HKUDS/Vibe-Trading/pull/1222))。**修复:** 贵金属沿用外汇 pip/手数约定,黄金点差成本小了约 1460 倍、1000 盎司以下仓位被静默归零([#1226](https://github.com/HKUDS/Vibe-Trading/pull/1226));富途 HKD 持仓被当成 USD 估值,虚高约一个 USD/HKD 汇率([#1228](https://github.com/HKUDS/Vibe-Trading/pull/1228));Shadow Account 读的是 runner 从不产出的指标键,成功回测一律报 PnL = 0.00([#1217](https://github.com/HKUDS/Vibe-Trading/pull/1217));流式 LLM 调用从不请求用量,swarm 输出 token 少报约 18–36 倍([#1225](https://github.com/HKUDS/Vibe-Trading/pull/1225))。**新增:** Binance 只读 USD-M 账户快照(可选开启)——仅两个白名单签名读端点、无任何下单面([#1229](https://github.com/HKUDS/Vibe-Trading/pull/1229),朝向 [#1030](https://github.com/HKUDS/Vibe-Trading/issues/1030));组合页 OAuth 重连改在受限子进程运行,不再卡死 Web 进程或占住回调端口([#1211](https://github.com/HKUDS/Vibe-Trading/pull/1211))。感谢 [@Elfsa-Miranda](https://github.com/Elfsa-Miranda)、[@P1Piyush](https://github.com/P1Piyush)、[@JaxonHu1024](https://github.com/JaxonHu1024)、[@he-yufeng](https://github.com/he-yufeng)、[@honginp](https://github.com/honginp)、[@goatyyc](https://github.com/goatyyc)!- **2026-08-25** 🛡️ **堵上实盘闸门的两个 fail-open;purged CV 不再清空测试块之间的训练集**:Alpaca 空头被记成*正*敞口(`qty` 恒为绝对值、方向在 `side`),越卖 `max_total_exposure_usd` 反而越松——现在 TAP JSON 与直连 SDK 两条路径的数量都带符号([#1209](https://github.com/HKUDS/Vibe-Trading/pull/1209));OKX/Futu 会把被拒绝的 API 调用压平成「空账本,`status: ok`」,让授权闸门对着空仓评估限额——现在返回明确错误信封,闸门据此 fail-closed([#1212](https://github.com/HKUDS/Vibe-Trading/pull/1212))。两者同属 [#1207](https://github.com/HKUDS/Vibe-Trading/issues/1207) 审计路线图的 Phase 0。**修复:** 组合式 purged CV 把非连续测试块当成一整段、清掉它们之间的全部训练观测;现在按段独立 purge,训练集被清空的折直接抛错([#1204](https://github.com/HKUDS/Vibe-Trading/pull/1204));信用风险函数拒绝 NaN/inf 输入,不再返回 NaN 分数或「灰色地带」结论([#1215](https://github.com/HKUDS/Vibe-Trading/pull/1215),关闭 [#1214](https://github.com/HKUDS/Vibe-Trading/issues/1214))。**新增:** swarm worker 重试改为封顶 equal-jitter 退避([#1210](https://github.com/HKUDS/Vibe-Trading/pull/1210),朝向 [#1208](https://github.com/HKUDS/Vibe-Trading/issues/1208));`vibe-trading --swarm-retry <run_id>` / `/swarm retry` 可重跑失败运行,`--resume` 保留已完成任务([#1194](https://github.com/HKUDS/Vibe-Trading/pull/1194))。感谢 [@he-yufeng](https://github.com/he-yufeng)、[@santhreal](https://github.com/santhreal)、[@Robin1987China](https://github.com/Robin1987China)、[@pengpengyi92](https://github.com/pengpengyi92)、[@SiMinus](https://github.com/SiMinus)!