"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
docs: add the 2026-08-19 news entry to all six READMEs
Haozhe Wu87b28dc2af3c
diff --git a/README.md b/README.mdindex a4067e798..1922f2a90 100644--- a/README.md+++ b/README.md@@ -52,11 +52,12 @@> ⚠️ **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-19** 🔌 **Stalled runs, a per-task connection leak, and Intel Macs that could not install**: A silent provider used to freeze a run — `VIBE_TRADING_LLM_TIMEOUT_SECONDS` (default 300s) now bounds the call, and tool-call markup is never released as a final answer ([#1105](https://github.com/HKUDS/Vibe-Trading/pull/1105)). Every swarm task leaked a pooled HTTP connection ([#1145](https://github.com/HKUDS/Vibe-Trading/pull/1145), closes [#1141](https://github.com/HKUDS/Vibe-Trading/issues/1141)). Also fixed: `vibe-trading show <run_id>` crashing ([#1147](https://github.com/HKUDS/Vibe-Trading/pull/1147), closes [#1146](https://github.com/HKUDS/Vibe-Trading/issues/1146)), overwritten in-flight deliveries ([#1140](https://github.com/HKUDS/Vibe-Trading/pull/1140)), dropped backtest validation evidence ([#1139](https://github.com/HKUDS/Vibe-Trading/pull/1139)), MCP paging ([#1137](https://github.com/HKUDS/Vibe-Trading/pull/1137), [#1138](https://github.com/HKUDS/Vibe-Trading/pull/1138)), and non-finite prediction-market fields ([#1136](https://github.com/HKUDS/Vibe-Trading/pull/1136)). **New:** seven read-only Futu endpoints ([#1135](https://github.com/HKUDS/Vibe-Trading/pull/1135)) and an explicit `Inferred` chip on guessed strategy titles ([#1134](https://github.com/HKUDS/Vibe-Trading/pull/1134)). **Install:** `smartmoneyconcepts` is now the `[smc]` extra — the `llvmlite` it pulled in ships no macOS x86_64 wheel, turning every Intel Mac install into a cmake source build ([#1035](https://github.com/HKUDS/Vibe-Trading/discussions/1035)); the `<3.14` cap goes with it. Thanks [@wiliao](https://github.com/wiliao), [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua), [@Echoandelementwebsites](https://github.com/Echoandelementwebsites), [@549236606-oss](https://github.com/549236606-oss), and [@fixXxerTech](https://github.com/fixXxerTech)!- **2026-08-18** 🈶 **Correct reports stopped being refused, and backtests stopped trading noise**: `\b` is Unicode-aware, so `最` counts as a word character and `(2026-07-14最低)` had no boundary after the day — the date survived the mask and `2026`, `7` and `14` reached the OHLC check as prices no observed range can contain ([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132), closes [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122)). Four refusals of the same family went with it: a dash-form trading day (`08-10(一)`), a level stated as a range leaving `-20` behind, a GTC line (`100 @ $3.50`) read as two observed quotes, and a report-style date cell that matched no evidence row at all. **Backtests:** `position_adjustment="hold"` dropped a requested resize in silence, and `"rebalance"` had no drift band — measured, a 0.01% daily move re-pinned a position on 19 of 30 bars, so a strategy with its own `rebalance_freq` traded every bar regardless. Dropped requests are now reported, and `rebalance_tolerance` is the band practitioners mean by "rebalance when weights move more than X", defaulting to `0.0` so no existing run changes. Nineteen industry-neutralized alpha101 alphas had been skipped on every SP500 bench run for want of a sector tag that was already in the table the constituents come from. **New:** a Market Watch monitor can push its briefing to an IM channel once the run finishes, through a persisted outbox that a restart cannot lose and a concurrent sweep cannot double-send ([#942](https://github.com/HKUDS/Vibe-Trading/issues/942)); **German is the seventh UI language** ([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117)); `run_dcf` refuses non-finite inputs instead of returning a plausible negative share price ([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121), closes [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120)); the MCP `get_market_data` response carries the `_provenance` its own docstring promised ([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)); a tool module that fails to import is named rather than quietly shrinking the registry ([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129), closes [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124)); and offline USD-M account reconciliation compares local risk state with an exchange observation without opening a connection ([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). **Also:** importing `backtest.runner` no longer loads a `.env` into the process, which had made a local full-suite run untrustworthy on any machine that has one ([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123)). Thanks [@Robin1987China](https://github.com/Robin1987China), [@newgo](https://github.com/newgo), [@er-s-an](https://github.com/er-s-an), [@Shizoqua](https://github.com/Shizoqua), [@1psconstructor](https://github.com/1psconstructor), [@honginp](https://github.com/honginp), [@cgycorey](https://github.com/cgycorey), [@alinv0](https://github.com/alinv0), and [@jelech](https://github.com/jelech)!- **2026-08-17** 🔒 **The test suite stopped writing into your real config root — including the live audit ledger**: Running the project's own suite appended fabricated `order_rejected` records to `~/.vibe-trading/live/audit.jsonl`, an append-only, hash-chained ledger whose entire value is that its entries cannot be manufactured, and on Windows left a corrupted chain file behind. `conftest.py` had no config-root sandbox at all, so every module that baked `Path.home() / ".vibe-trading"` at import time resolved against the real home on **any** platform — Windows was worse only because `Path.home()` reads `%USERPROFILE%` there and ignores `$HOME`, leaving the isolation idiom the suite had been using inert. Home is now redirected before collection, the sandbox owns a single knob so per-test isolation still wins, and session end asserts the real ledgers are byte-identical instead of merely checking that the redirect was installed ([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118), closes [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116)). Also: `xirr` and `money_weighted_return` raised `ZeroDivisionError` on horizons past ~51 years, where the discount factor underflows to zero — exactly the long, irregular streams XIRR exists for ([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119)); and a backtest archived into an active run merged with the previous one's artifacts, so a single report could describe two different backtests while `/runs/{id}` listed the leftovers as its own ([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094)). Thanks [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), and [@pengpengyi92](https://github.com/pengpengyi92)!-- **2026-08-16** 🔧 **Anthropic runs no longer die on recovery, and symbol search stops reporting empty results as healthy**: Recovery paths appended mid-conversation `system` messages that the Anthropic API rejects, killing the run — recovery steering now travels as user messages with inline `<system>` tags ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112), closes [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109)). `search_symbol` returned zero candidates with both sources reporting `ok` for ticker+name queries, so identity never locked and every data tool refused; the Yahoo path now reports such queries `skipped` instead of a misleading `ok` ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114), closes [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108)). Also: `LANGCHAIN_REASONING_EFFORT` is now honored on the Anthropic branch through a model allowlist ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115)); the Tencent loader recovers from `CERTIFICATE_VERIFY_FAILED` via the certifi CA bundle ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113)); the `revenue - cogs` gross-profit fallback is no longer dead code ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111)); and swarm workers use the shared truncation helper, so sub-agents always see the cut notice ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). Thanks [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey), and [@Shizoqua](https://github.com/Shizoqua)!<details><summary>Earlier news</summary>+- **2026-08-16** 🔧 **Anthropic runs no longer die on recovery, and symbol search stops reporting empty results as healthy**: Recovery paths appended mid-conversation `system` messages that the Anthropic API rejects, killing the run — recovery steering now travels as user messages with inline `<system>` tags ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112), closes [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109)). `search_symbol` returned zero candidates with both sources reporting `ok` for ticker+name queries, so identity never locked and every data tool refused; the Yahoo path now reports such queries `skipped` instead of a misleading `ok` ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114), closes [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108)). Also: `LANGCHAIN_REASONING_EFFORT` is now honored on the Anthropic branch through a model allowlist ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115)); the Tencent loader recovers from `CERTIFICATE_VERIFY_FAILED` via the certifi CA bundle ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113)); the `revenue - cogs` gross-profit fallback is no longer dead code ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111)); and swarm workers use the shared truncation helper, so sub-agents always see the cut notice ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). Thanks [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey), and [@Shizoqua](https://github.com/Shizoqua)!- **2026-08-15** 🛡️ **Safer desktop updates, reliable Windows packaging, and factor research in Run Detail**: The dormant updater boundary now retains owned-process evidence for cleanup retries, probes TCP listeners instead of HTTP health, reserves recovery journals atomically, binds Authenticode and hashes to the same staged bytes, and rechecks immediately before launch ([#1101](https://github.com/HKUDS/Vibe-Trading/pull/1101)). Windows packaging now owns bounded, checksum-verified Electron downloads and extracts the pinned GTK asset as data through 7-Zip instead of executing its flaky legacy installer; native Windows CI covers exit codes, timeouts, runtime assembly, NSIS, and packaged startup ([#1104](https://github.com/HKUDS/Vibe-Trading/pull/1104), closes [#1093](https://github.com/HKUDS/Vibe-Trading/issues/1093)). Run Detail gains IC series and statistics, quantile equity, and IC correlation with bounded artifact traversal and finite JSON payloads ([#1099](https://github.com/HKUDS/Vibe-Trading/pull/1099), closes [#1100](https://github.com/HKUDS/Vibe-Trading/issues/1100)); universal hash locks are verified natively on Linux, macOS ARM64, and Windows ([#1102](https://github.com/HKUDS/Vibe-Trading/pull/1102), closes [#1089](https://github.com/HKUDS/Vibe-Trading/issues/1089)). Thanks [@QCYTSN](https://github.com/QCYTSN) and [@shadowinlife](https://github.com/shadowinlife)!- **2026-08-14** ⚙️ **A reasoning setting that did nothing, and runs that stopped while they could still recover**: `LANGCHAIN_REASONING_EFFORT` was silently a no-op for almost every provider — only direct OpenAI ever received it, so setting `high` on DeepSeek changed nothing and said so nowhere. Effort now reaches both transports through each adapter's own field: Chat Completions by default, the Responses API when `LANGCHAIN_USE_RESPONSES_API=true`. The providers given a top-level `reasoning_effort` are a verified allowlist rather than everything that speaks the OpenAI wire format — an endpoint that validates its request body strictly rejects an unknown key and fails the call, so the cost of guessing wrong is every request, not a missing setting ([#1025](https://github.com/HKUDS/Vibe-Trading/pull/1025)). The grounding gate also stops handing back "confirm and continue" while a deterministic read-only recovery is still available: an unresolved instrument now drives `search_symbol` → `get_market_data` on its own bounded budget instead of spending the run's iterations and failing closed ([#1092](https://github.com/HKUDS/Vibe-Trading/pull/1092), closes [#1081](https://github.com/HKUDS/Vibe-Trading/issues/1081)). **New:** an **Options Lab** page — multi-leg payoff diagram, spot × IV scenario matrix, portfolio Greeks and a live chain, computed by the existing payoff tool and `quantlib` rather than a second implementation of the math ([#1096](https://github.com/HKUDS/Vibe-Trading/pull/1096)); a **backtest tearsheet** tab with a monthly-returns heatmap, annual returns and top-N drawdown episodes ([#1091](https://github.com/HKUDS/Vibe-Trading/pull/1091)); **tickerall** as the 25th market-data source — hosted MetaTrader 5 forex/metals bars with no local terminal on any OS, explicit-only so a broker key is never a silent fallback target, and a truncated history window is an error rather than a quietly short series ([#968](https://github.com/HKUDS/Vibe-Trading/pull/968), closes [#897](https://github.com/HKUDS/Vibe-Trading/issues/897)); and **Novita AI** plus **GitHub Copilot** as built-in providers ([#1059](https://github.com/HKUDS/Vibe-Trading/pull/1059), [#990](https://github.com/HKUDS/Vibe-Trading/pull/990)). eToro gains asset-class browsing by instrument type, and copy trading now refuses a demo account with a stated reason instead of failing obscurely ([#1070](https://github.com/HKUDS/Vibe-Trading/pull/1070)). Thanks [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua), [@shadowinlife](https://github.com/shadowinlife), [@miguelangelo78](https://github.com/miguelangelo78), [@jax-novita](https://github.com/jax-novita), [@sykuang](https://github.com/sykuang), and [@ofeksh-tr](https://github.com/ofeksh-tr).- **2026-08-13** 🎯 **Backtest reports show the book that actually filled**: `positions.csv` held the optimiser's *target* weights, so a report could claim 80% exposure while lot rounding, fees, or a blocked order left the portfolio near 20% — and those targets also fed the invested-weight metrics and the risk x-ray. Fills now go to `positions.csv`, requests to `target_positions.csv` ([#1082](https://github.com/HKUDS/Vibe-Trading/pull/1082)). Run Detail gains a **research dashboard** at `?view=dashboard` ([#1084](https://github.com/HKUDS/Vibe-Trading/pull/1084)), and **Spanish is the sixth UI language** ([#1087](https://github.com/HKUDS/Vibe-Trading/pull/1087)). Also: `get_research_reports` was returning HTTP 400 for every A-share symbol ([#1077](https://github.com/HKUDS/Vibe-Trading/pull/1077)); IBKR quotes separate the tier requested from the one applied ([#1075](https://github.com/HKUDS/Vibe-Trading/pull/1075)); `.env.partial` is written atomically ([#1086](https://github.com/HKUDS/Vibe-Trading/pull/1086)); the Docker workflow pins actions to commits and hash-locks channel SDKs ([#1088](https://github.com/HKUDS/Vibe-Trading/pull/1088)); and the grounding gate stops reading support/resistance ladders and all-time highs as observed prices ([#1060](https://github.com/HKUDS/Vibe-Trading/pull/1060)). Thanks [@AndyLongest](https://github.com/AndyLongest), [@daviddaco1](https://github.com/daviddaco1), [@zzz607](https://github.com/zzz607), [@jay79-boop](https://github.com/jay79-boop), [@lukiod](https://github.com/lukiod), [@birdxs](https://github.com/birdxs), and [@wiliao](https://github.com/wiliao).diff --git a/README_ar.md b/README_ar.mdindex b4355b7fa..c6a2eced2 100644--- a/README_ar.md+++ b/README_ar.md@@ -52,11 +52,12 @@> ⚠️ **تحذير أمني:** حساب X باسم `VibeTrading_HKU`، ومشروع Virtuals رقم `101845`، وعقد التوكن `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` كلّها غير رسمية ولا تتبع Vibe-Trading. لم نُطلق أو نؤيد مطلقًا أي توكن أو عملة ميم. لا تشترِ هذا التوكن، ولا تربط محفظتك، ولا توقّع أي شيء. [التفاصيل](SECURITY.md#official-channels--impersonation).+- **2026-08-19** 🔌 **عمليات تشغيل متجمّدة، وتسريب اتصال لكل مهمة، وأجهزة Intel Mac يتعذّر التثبيت عليها**: كان صمت المزوّد يجمّد التشغيل إلى ما لا نهاية — والآن يحدّ `VIBE_TRADING_LLM_TIMEOUT_SECONDS` (الافتراضي 300s) من الاستدعاء، ولم تعد صيغة tool-call تُنشر كإجابة نهائية ([#1105](https://github.com/HKUDS/Vibe-Trading/pull/1105)). كانت كل مهمة في swarm تسرّب اتصال HTTP واحدًا من التجمّع ([#1145](https://github.com/HKUDS/Vibe-Trading/pull/1145)، يغلق [#1141](https://github.com/HKUDS/Vibe-Trading/issues/1141)). وأُصلح أيضًا: تعطّل `vibe-trading show <run_id>` ([#1147](https://github.com/HKUDS/Vibe-Trading/pull/1147)، يغلق [#1146](https://github.com/HKUDS/Vibe-Trading/issues/1146))، والكتابة فوق تسليم قيد التنفيذ ([#1140](https://github.com/HKUDS/Vibe-Trading/pull/1140))، وفقدان أدلة التحقق من الاختبار الخلفي ([#1139](https://github.com/HKUDS/Vibe-Trading/pull/1139))، وترقيم صفحات MCP ([#1137](https://github.com/HKUDS/Vibe-Trading/pull/1137)، [#1138](https://github.com/HKUDS/Vibe-Trading/pull/1138))، والقيم غير المنتهية في أسواق التنبؤ ([#1136](https://github.com/HKUDS/Vibe-Trading/pull/1136)). **جديد:** سبع نقاط نهاية للقراءة فقط من Futu ([#1135](https://github.com/HKUDS/Vibe-Trading/pull/1135))، وشارة `Inferred` صريحة على أسماء الاستراتيجيات المستنتجة ([#1134](https://github.com/HKUDS/Vibe-Trading/pull/1134)). **التثبيت:** أصبح `smartmoneyconcepts` إضافة `[smc]` — إذ إن `llvmlite` الذي يجرّه لا ينشر wheel لـ macOS x86_64، ما كان يحوّل كل تثبيت على Intel Mac إلى بناء من المصدر عبر cmake ([#1035](https://github.com/HKUDS/Vibe-Trading/discussions/1035))؛ ويزول معه الحد `<3.14`. شكرًا [@wiliao](https://github.com/wiliao)، [@cgycorey](https://github.com/cgycorey)، [@Shizoqua](https://github.com/Shizoqua)، [@Echoandelementwebsites](https://github.com/Echoandelementwebsites)، [@549236606-oss](https://github.com/549236606-oss)، و[@fixXxerTech](https://github.com/fixXxerTech)!- **2026-08-18** 🈶 **لم تعد التقارير الصحيحة تُرفض، ولم تعد الاختبارات الرجعية تتداول الضجيج**: `\b` يراعي Unicode، فيُحتسب `最` حرفًا ضمن الكلمة، ومن ثم لا توجد حدود بعد اليوم في `(2026-07-14最低)`: نجا التاريخ من الإخفاء ووصلت `2026` و`7` و`14` إلى فحص OHLC كأسعار لا يمكن لأي نطاق مرصود أن يحتويها ([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132)، يغلق [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122)). ومعه عولجت أربع حالات رفض من العائلة نفسها: يوم تداول بصيغة الشرطة (`08-10(一)`)، ومستوى مكتوب كنطاق يترك `-20` خلفه، وسطر أمر GTC (`100 @ $3.50`) يُقرأ كتسعيرتين مرصودتين، وخلية تاريخ بصيغة التقارير لا تطابق أي صف أدلة. **الاختبارات الرجعية:** كان `position_adjustment="hold"` يُسقط بصمت أي تعديل مطلوب على الحجم، ولم يكن لدى `"rebalance"` أي نطاق انحراف على الإطلاق: بالقياس، حركة يومية بنسبة 0.01% أعادت تثبيت المركز في 19 شمعة من 30، أي أن استراتيجية لها `rebalance_freq` خاص بها كانت تتداول في كل شمعة رغم ذلك. صارت الطلبات المُسقطة تُبلَّغ، و`rebalance_tolerance` هو النطاق الذي يعنيه الممارسون بعبارة «أعد التوازن عندما تتحرك الأوزان أكثر من X»، وقيمته الافتراضية `0.0` فلا يتغير أي تشغيل قائم. كما كانت تسع عشرة صيغة alpha101 محايدة قطاعيًا تُتخطى في كل اختبار SP500 بسبب غياب وسم القطاع، وهو موجود أصلًا في الجدول الذي تأتي منه المكوّنات. **جديد:** يمكن لمراقب Market Watch إرسال ملخصه إلى قناة مراسلة فور انتهاء التشغيل، عبر صندوق صادر مُخزَّن لا تفقده إعادة التشغيل ولا يُكرِّره مسحٌ متزامن ([#942](https://github.com/HKUDS/Vibe-Trading/issues/942))؛ **الألمانية هي لغة الواجهة السابعة** ([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117))؛ و`run_dcf` يرفض المدخلات غير المنتهية بدل إعادة سعر سهم سالب يبدو معقولًا ([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121)، يغلق [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120))؛ وتحمل استجابة `get_market_data` في MCP حقل `_provenance` الذي وعد به توثيقها ([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131))؛ ووحدة أدوات يفشل استيرادها تُذكر بالاسم بدل تقليص السجل بصمت ([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129)، يغلق [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124))؛ وتسوية حساب USD-M دون اتصال تقارن حالة المخاطر المحلية برصدٍ من المنصة دون فتح أي اتصال ([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). **وأيضًا:** لم يعد استيراد `backtest.runner` يحمّل ملف `.env` إلى العملية، وهو ما كان يجعل تشغيل مجموعة الاختبارات محليًا غير جدير بالثقة على أي جهاز يملك واحدًا ([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123)). شكرًا [@Robin1987China](https://github.com/Robin1987China) و[@newgo](https://github.com/newgo) و[@er-s-an](https://github.com/er-s-an) و[@Shizoqua](https://github.com/Shizoqua) و[@1psconstructor](https://github.com/1psconstructor) و[@honginp](https://github.com/honginp) و[@cgycorey](https://github.com/cgycorey) و[@alinv0](https://github.com/alinv0) و[@jelech](https://github.com/jelech)!- **2026-08-17** 🔒 **لم تعد مجموعة الاختبارات تكتب في جذر الإعدادات الحقيقي — بما فيه سجل التدقيق المباشر**: كان تشغيل مجموعة اختبارات المشروع يُلحق سجلات `order_rejected` مُصطنعة بـ `~/.vibe-trading/live/audit.jsonl`، وهو سجل للإضافة فقط ومترابط بالتجزئة وقيمته كلها في أن مدخلاته لا يمكن اصطناعها؛ وعلى Windows كان يترك ملف سلسلة تالفاً. لم يكن في `conftest.py` أي عزل لجذر الإعدادات، فكل وحدة تُثبّت `Path.home() / ".vibe-trading"` وقت الاستيراد كانت تحلّ إلى المنزل الحقيقي على **أي** نظام؛ وكان Windows أسوأ فقط لأن `Path.home()` هناك يقرأ `%USERPROFILE%` ويتجاهل `$HOME`، ما جعل أسلوب العزل الذي كانت المجموعة تستخدمه بلا أثر. صار المنزل يُحوَّل قبل الجمع، وتملك البيئة المعزولة مفتاحاً واحداً فقط ليبقى عزل كل اختبار هو الغالب، ويتحقق نهاية الجلسة من أن السجلات الحقيقية مطابقة بايت ببايت بدل الاكتفاء بفحص وجود التحويل ([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118)، يغلق [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116)). كذلك: كان `xirr` و`money_weighted_return` يرفعان `ZeroDivisionError` على المدى الذي يتجاوز نحو 51 سنة حيث يهبط معامل الخصم إلى الصفر — وهي بالضبط التدفقات الطويلة غير المنتظمة التي وُجد XIRR من أجلها ([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119))؛ وكانت نتائج الاختبار الخلفي المؤرشفة في تشغيل نشط تندمج مع مخرجات التشغيل السابق، فيصير تقرير واحد قادراً على وصف اختبارين مختلفين، ويعرض `/runs/{id}` البقايا وكأنها مخرجاته ([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094)). شكراً [@lorenzozanee](https://github.com/lorenzozanee)، [@straun-repo](https://github.com/straun-repo)، و [@pengpengyi92](https://github.com/pengpengyi92)!-- **2026-08-16** 🔧 **لم تعد عمليات Anthropic تموت في مسارات التعافي، ولم يعد بحث الرموز يبلّغ عن نتائج فارغة وكأنها سليمة**: رسائل `system` التي تُلحقها مسارات التعافي في منتصف المحادثة ترفضها واجهة Anthropic فتُنهي التشغيل؛ صار توجيه التعافي يسري الآن كرسائل مستخدم بوسوم `<system>` مضمّنة ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112)، يغلق [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109)). وكان `search_symbol` يعيد صفر مرشحين لاستعلامات "رمز + اسم" بينما يبلّغ المصدران عن `ok`، فلا تنقفل الهوية وترفض كل أدوات البيانات الطلب؛ أصبح مسار Yahoo يعلّم هذه الاستعلامات بـ `skipped` بدل `ok` مضلل ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114)، يغلق [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108)). كذلك: صار `LANGCHAIN_REASONING_EFFORT` يُفعَّل في فرع Anthropic عبر قائمة سماح للنماذج ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115))، ويتعافى محمّل Tencent من `CERTIFICATE_VERIFY_FAILED` بحزمة شهادات certifi ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113))، ولم يعد اشتقاق `revenue - cogs` لإجمالي الربح كوداً ميتاً ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111))، ويقصّ عمال السرب النتائج بالمساعد المشترك فيرى الوكيل الفرعي إشعار القص دائماً ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). شكراً [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey), و [@Shizoqua](https://github.com/Shizoqua)!<details><summary>أخبار سابقة</summary>+- **2026-08-16** 🔧 **لم تعد عمليات Anthropic تموت في مسارات التعافي، ولم يعد بحث الرموز يبلّغ عن نتائج فارغة وكأنها سليمة**: رسائل `system` التي تُلحقها مسارات التعافي في منتصف المحادثة ترفضها واجهة Anthropic فتُنهي التشغيل؛ صار توجيه التعافي يسري الآن كرسائل مستخدم بوسوم `<system>` مضمّنة ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112)، يغلق [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109)). وكان `search_symbol` يعيد صفر مرشحين لاستعلامات "رمز + اسم" بينما يبلّغ المصدران عن `ok`، فلا تنقفل الهوية وترفض كل أدوات البيانات الطلب؛ أصبح مسار Yahoo يعلّم هذه الاستعلامات بـ `skipped` بدل `ok` مضلل ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114)، يغلق [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108)). كذلك: صار `LANGCHAIN_REASONING_EFFORT` يُفعَّل في فرع Anthropic عبر قائمة سماح للنماذج ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115))، ويتعافى محمّل Tencent من `CERTIFICATE_VERIFY_FAILED` بحزمة شهادات certifi ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113))، ولم يعد اشتقاق `revenue - cogs` لإجمالي الربح كوداً ميتاً ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111))، ويقصّ عمال السرب النتائج بالمساعد المشترك فيرى الوكيل الفرعي إشعار القص دائماً ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). شكراً [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey), و [@Shizoqua](https://github.com/Shizoqua)!- **2026-08-15** 🛡️ **تحديثات سطح مكتب أكثر أمانًا، وحزم Windows أكثر موثوقية، وبحث العوامل في Run Detail**: تحتفظ حدود updater الخامل الآن بأدلة العمليات المملوكة لإعادة محاولة التنظيف، وتفحص مستمعي TCP بدلًا من HTTP health، وتحجز recovery journal ذريًا، وتربط Authenticode والتجزئات بالبايتات المرحّلة نفسها، ثم تعيد التحقق قبل التشغيل مباشرةً ([#1101](https://github.com/HKUDS/Vibe-Trading/pull/1101)). تتولى حزم Windows تنزيل Electron ضمن حدود ومع تحقق من checksum، وتستخرج أصل GTK المثبّت كبيانات عبر 7-Zip بدل تشغيل المثبّت القديم غير المستقر؛ وتغطي CI الأصلية على Windows رموز الخروج والمهل وتجميع runtime وNSIS وتشغيل الحزمة ([#1104](https://github.com/HKUDS/Vibe-Trading/pull/1104)، ويغلق [#1093](https://github.com/HKUDS/Vibe-Trading/issues/1093)). أضاف Run Detail سلسلة IC وإحصاءاتها وquantile equity وارتباط IC مع اجتياز محدود للـ artifacts وقيم JSON منتهية ([#1099](https://github.com/HKUDS/Vibe-Trading/pull/1099)، ويغلق [#1100](https://github.com/HKUDS/Vibe-Trading/issues/1100))؛ كما جرى التحقق أصليًا من universal hash locks على Linux وmacOS ARM64 وWindows ([#1102](https://github.com/HKUDS/Vibe-Trading/pull/1102)، ويغلق [#1089](https://github.com/HKUDS/Vibe-Trading/issues/1089)). شكرًا [@QCYTSN](https://github.com/QCYTSN) و[@shadowinlife](https://github.com/shadowinlife)!- **2026-08-14** ⚙️ **إعداد استدلال لم يكن يفعل شيئاً، وعمليات تشغيل كانت تتوقف بينما لا يزال بإمكانها التعافي**: كان `LANGCHAIN_REASONING_EFFORT` بلا أثر صامت لدى جميع المزوّدين تقريباً — لم يكن يصل إلا إلى OpenAI المباشر، فضبطه على `high` مع DeepSeek لم يكن يغيّر شيئاً ولم يكن يُعلن ذلك في أي مكان. صار هذا الإعداد يصل الآن عبر كلا المسارين من خلال الحقل الخاص بكل مُهايئ: Chat Completions افتراضياً، وواجهة Responses عندما تكون `LANGCHAIN_USE_RESPONSES_API=true`. والمزوّدون الذين يتلقّون حقل `reasoning_effort` في المستوى الأعلى هم **قائمة سماح مُتحقَّق منها** لا "كل ما يتحدث بصيغة OpenAI" — فأي نقطة نهاية تتحقق من جسم الطلب بصرامة ترفض المفتاح غير المعروف وتُفشل الاستدعاء بأكمله، فتكون كلفة التخمين الخاطئ كل طلب لا مجرد إعداد لا يعمل ([#1025](https://github.com/HKUDS/Vibe-Trading/pull/1025)). كذلك لم تعد بوابة الإسناد تُعيد "أكّد وتابع" بينما لا يزال التعافي الحتمي للقراءة فقط متاحاً: الأداة غير المحلولة تُشغّل الآن `search_symbol` ثم `get_market_data` ضمن ميزانية محدودة خاصة بها بدل استهلاك تكرارات التشغيل والفشل المغلق ([#1092](https://github.com/HKUDS/Vibe-Trading/pull/1092)، يغلق [#1081](https://github.com/HKUDS/Vibe-Trading/issues/1081)). **جديد:** صفحة **Options Lab** — مخطط عوائد متعدد الأرجل، ومصفوفة سيناريوهات السعر الفوري × التقلب الضمني، وإغريق المحفظة، وسلسلة خيارات حيّة، يحسبها أداة العوائد القائمة و`quantlib` بدل تنفيذ ثانٍ للرياضيات ([#1096](https://github.com/HKUDS/Vibe-Trading/pull/1096))؛ وتبويب **tearsheet** للاختبار الرجعي بخريطة حرارية للعوائد الشهرية والعوائد السنوية وأكبر N من فترات التراجع ([#1091](https://github.com/HKUDS/Vibe-Trading/pull/1091))؛ و**tickerall** كمصدر بيانات السوق الخامس والعشرين — شموع فوركس/معادن من MetaTrader 5 مُستضاف دون طرفية محلية على أي نظام تشغيل، ولا يعمل إلا بطلب صريح فلا يصبح مفتاح الوسيط هدف تراجع صامت، والنافذة التاريخية المبتورة خطأ لا سلسلة قصيرة بصمت ([#968](https://github.com/HKUDS/Vibe-Trading/pull/968)، يغلق [#897](https://github.com/HKUDS/Vibe-Trading/issues/897))؛ و**Novita AI** و**GitHub Copilot** كمزوّدَين مدمجَين ([#1059](https://github.com/HKUDS/Vibe-Trading/pull/1059)، [#990](https://github.com/HKUDS/Vibe-Trading/pull/990)). كما حصل eToro على تصفح فئات الأصول حسب نوع الأداة، وصار التداول بالنسخ يرفض الحساب التجريبي بسبب مُعلَن بدل الفشل الغامض ([#1070](https://github.com/HKUDS/Vibe-Trading/pull/1070)). شكراً [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua), [@shadowinlife](https://github.com/shadowinlife), [@miguelangelo78](https://github.com/miguelangelo78), [@jax-novita](https://github.com/jax-novita), [@sykuang](https://github.com/sykuang), و [@ofeksh-tr](https://github.com/ofeksh-tr).- **2026-08-13** 🎯 **تقارير الاختبار الرجعي تعرض المحفظة التي نُفِّذت فعلاً**: كان `positions.csv` يحتوي على الأوزان **المستهدفة** من المُحسِّن، فقد يزعم التقرير تعرضاً بنسبة 80% بينما تترك تقريبات الحصص أو الرسوم أو أمرٌ مرفوض المحفظة قرب 20% — وكانت الأوزان المستهدفة نفسها تُغذّي مقاييس الوزن المستثمر وأشعة المخاطر. تُكتب التنفيذات الآن في `positions.csv` والطلبات في `target_positions.csv` ([#1082](https://github.com/HKUDS/Vibe-Trading/pull/1082)). أُضيفت **لوحة البحث** إلى صفحة التشغيل عبر `?view=dashboard` ([#1084](https://github.com/HKUDS/Vibe-Trading/pull/1084))، و**أصبحت الإسبانية سادس لغة للواجهة** ([#1087](https://github.com/HKUDS/Vibe-Trading/pull/1087)). كذلك: كان `get_research_reports` يُعيد HTTP 400 لكل رمز في سوق الأسهم الصينية ([#1077](https://github.com/HKUDS/Vibe-Trading/pull/1077))؛ تفصل عروض IBKR بين مستوى البيانات المطلوب والمستوى المُطبَّق فعلاً ([#1075](https://github.com/HKUDS/Vibe-Trading/pull/1075))؛ يُكتب `.env.partial` بشكل ذرّي ([#1086](https://github.com/HKUDS/Vibe-Trading/pull/1086))؛ تُثبَّت إجراءات سير عمل Docker على عمليات إيداع محددة وتُثبَّت حزم القنوات بالتجزئة ([#1088](https://github.com/HKUDS/Vibe-Trading/pull/1088))؛ ولم تعد بوابة الإسناد تقرأ مستويات الدعم/المقاومة والقمم التاريخية كأسعار مرصودة ([#1060](https://github.com/HKUDS/Vibe-Trading/pull/1060)). Thanks [@AndyLongest](https://github.com/AndyLongest)، [@daviddaco1](https://github.com/daviddaco1)، [@zzz607](https://github.com/zzz607)، [@jay79-boop](https://github.com/jay79-boop)، [@lukiod](https://github.com/lukiod)، [@birdxs](https://github.com/birdxs)، [@wiliao](https://github.com/wiliao).diff --git a/README_es.md b/README_es.mdindex c9fb9018b..8bbb3534c 100644--- a/README_es.md+++ b/README_es.md@@ -52,11 +52,12 @@> ⚠️ **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-19** 🔌 **Ejecuciones congeladas, una conexión filtrada por tarea y Macs Intel que no podían instalar**: un proveedor que se quedaba en silencio congelaba la ejecución indefinidamente; el nuevo `VIBE_TRADING_LLM_TIMEOUT_SECONDS` (300s por defecto) acota la llamada, y el marcado de tool-call nunca se publica como respuesta final ([#1105](https://github.com/HKUDS/Vibe-Trading/pull/1105)). Cada tarea del swarm filtraba una conexión HTTP del pool ([#1145](https://github.com/HKUDS/Vibe-Trading/pull/1145), cierra [#1141](https://github.com/HKUDS/Vibe-Trading/issues/1141)). También corregido: el fallo de `vibe-trading show <run_id>` ([#1147](https://github.com/HKUDS/Vibe-Trading/pull/1147), cierra [#1146](https://github.com/HKUDS/Vibe-Trading/issues/1146)), la sobrescritura de entregas en curso ([#1140](https://github.com/HKUDS/Vibe-Trading/pull/1140)), la pérdida de evidencia de validación del backtest ([#1139](https://github.com/HKUDS/Vibe-Trading/pull/1139)), la paginación MCP ([#1137](https://github.com/HKUDS/Vibe-Trading/pull/1137), [#1138](https://github.com/HKUDS/Vibe-Trading/pull/1138)) y los valores no finitos en mercados de predicción ([#1136](https://github.com/HKUDS/Vibe-Trading/pull/1136)). **Nuevo:** siete endpoints de solo lectura de Futu ([#1135](https://github.com/HKUDS/Vibe-Trading/pull/1135)) y un chip explícito `Inferred` en los títulos de estrategia inferidos ([#1134](https://github.com/HKUDS/Vibe-Trading/pull/1134)). **Instalación:** `smartmoneyconcepts` pasa a ser el extra `[smc]` — el `llvmlite` que arrastraba no publica wheel para macOS x86_64, así que cada instalación en un Mac Intel se convertía en una compilación desde fuente con cmake ([#1035](https://github.com/HKUDS/Vibe-Trading/discussions/1035)); el tope `<3.14` desaparece con él. Gracias [@wiliao](https://github.com/wiliao), [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua), [@Echoandelementwebsites](https://github.com/Echoandelementwebsites), [@549236606-oss](https://github.com/549236606-oss) y [@fixXxerTech](https://github.com/fixXxerTech).- **2026-08-18** 🈶 **Los informes correctos dejaron de rechazarse, y los backtests dejaron de operar ruido**: `\b` reconoce Unicode, así que `最` cuenta como carácter de palabra y `(2026-07-14最低)` no tenía frontera después del día: la fecha sobrevivía al enmascarado y `2026`, `7` y `14` llegaban a la verificación OHLC como precios que ningún rango observado puede contener ([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132), cierra [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122)). Con él se fueron otros cuatro rechazos de la misma familia: una fecha de sesión con guion (`08-10(一)`), un nivel expresado como rango que dejaba `-20` detrás, una línea GTC (`100 @ $3.50`) leída como dos cotizaciones observadas, y una celda de fecha con formato de informe que no coincidía con ninguna fila de evidencia. **Backtests:** `position_adjustment="hold"` descartaba en silencio un cambio de tamaño solicitado, y `"rebalance"` no tenía banda de deriva alguna: medido, un movimiento diario del 0,01 % volvía a fijar la posición en 19 de 30 barras, de modo que una estrategia con su propio `rebalance_freq` operaba igualmente en cada barra. Las solicitudes descartadas ahora se informan, y `rebalance_tolerance` es la banda que los profesionales describen como "rebalancear cuando los pesos se muevan más de X"; su valor por defecto `0.0` deja intacta cualquier ejecución existente. Además, diecinueve alfas alpha101 neutralizadas por industria se omitían en cada bench de SP500 por falta de una etiqueta de sector que ya estaba en la tabla de la que provienen los constituyentes. **Novedades:** un monitor de Market Watch puede enviar su informe a un canal de mensajería cuando la ejecución termina, a través de un outbox persistido que un reinicio no puede perder y que un barrido concurrente no puede duplicar ([#942](https://github.com/HKUDS/Vibe-Trading/issues/942)); **el alemán es el séptimo idioma de la interfaz** ([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117)); `run_dcf` rechaza entradas no finitas en lugar de devolver un precio por acción negativo y verosímil ([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121), cierra [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120)); la respuesta de `get_market_data` en MCP incluye el `_provenance` que su propio docstring prometía ([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)); un módulo de herramientas que falla al importarse se nombra en vez de reducir el registro en silencio ([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129), cierra [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124)); y la conciliación de cuenta USD-M sin conexión compara el estado de riesgo local con una observación del exchange sin abrir ninguna conexión ([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). **También:** importar `backtest.runner` ya no carga un `.env` en el proceso, algo que volvía poco fiable una ejecución local de toda la suite en cualquier máquina que tuviera uno ([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123)). Gracias [@Robin1987China](https://github.com/Robin1987China), [@newgo](https://github.com/newgo), [@er-s-an](https://github.com/er-s-an), [@Shizoqua](https://github.com/Shizoqua), [@1psconstructor](https://github.com/1psconstructor), [@honginp](https://github.com/honginp), [@cgycorey](https://github.com/cgycorey), [@alinv0](https://github.com/alinv0) y [@jelech](https://github.com/jelech).- **2026-08-17** 🔒 **La suite de pruebas dejó de escribir en tu raíz de configuración real, incluido el libro de auditoría en vivo**: Ejecutar la propia suite del proyecto añadía registros `order_rejected` fabricados a `~/.vibe-trading/live/audit.jsonl`, un libro solo-de-adición encadenado por hash cuyo valor completo consiste en que sus entradas no se pueden fabricar; en Windows dejaba además un archivo de cadena corrupto. `conftest.py` no tenía ningún aislamiento de la raíz de configuración, así que cualquier módulo que fijara `Path.home() / ".vibe-trading"` en tiempo de importación resolvía contra el home real en **cualquier** plataforma: Windows era peor solo porque allí `Path.home()` lee `%USERPROFILE%` e ignora `$HOME`, dejando inerte el modismo de aislamiento que la suite venía usando. Ahora el home se redirige antes de la recolección, el sandbox posee una sola perilla para que el aislamiento por prueba siga ganando, y el final de la sesión afirma que los libros reales son idénticos byte a byte en lugar de solo comprobar que la redirección estaba instalada ([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118), cierra [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116)). Además: `xirr` y `money_weighted_return` lanzaban `ZeroDivisionError` en horizontes de más de ~51 años, donde el factor de descuento se desborda a cero — exactamente los flujos largos e irregulares para los que existe XIRR ([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119)); y un backtest archivado en una ejecución activa se fusionaba con los artefactos del anterior, de modo que un solo informe podía describir dos backtests distintos mientras `/runs/{id}` listaba los restos como propios ([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094)). Gracias a [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo) y [@pengpengyi92](https://github.com/pengpengyi92)!-- **2026-08-16** 🔧 **Las ejecuciones con Anthropic ya no mueren en las rutas de recuperación, y la búsqueda de símbolos deja de reportar resultados vacíos como si fueran correctos**: Los mensajes `system` que las rutas de recuperación añadían a mitad de conversación los rechaza la API de Anthropic, matando la ejecución; el direccionamiento de recuperación viaja ahora como mensajes de usuario con etiquetas `<system>` en línea ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112), cierra [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109)). `search_symbol` devolvía cero candidatos para consultas ticker+nombre mientras ambas fuentes reportaban `ok`, así que la identidad nunca se bloqueaba y todas las herramientas de datos rechazaban la petición; la vía de Yahoo marca ahora esas consultas como `skipped` en vez de un `ok` engañoso ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114), cierra [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108)). Además: `LANGCHAIN_REASONING_EFFORT` ya se aplica en la rama de Anthropic mediante una lista de modelos permitida ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115)); el cargador de Tencent se recupera de `CERTIFICATE_VERIFY_FAILED` con el paquete CA de certifi ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113)); la derivación `revenue - cogs` del beneficio bruto deja de ser código muerto ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111)); y los trabajadores del swarm recortan con el helper compartido, así que el subagente siempre ve el aviso de recorte ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). ¡Gracias a [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey) y [@Shizoqua](https://github.com/Shizoqua)!<details><summary>Earlier news</summary>+- **2026-08-16** 🔧 **Las ejecuciones con Anthropic ya no mueren en las rutas de recuperación, y la búsqueda de símbolos deja de reportar resultados vacíos como si fueran correctos**: Los mensajes `system` que las rutas de recuperación añadían a mitad de conversación los rechaza la API de Anthropic, matando la ejecución; el direccionamiento de recuperación viaja ahora como mensajes de usuario con etiquetas `<system>` en línea ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112), cierra [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109)). `search_symbol` devolvía cero candidatos para consultas ticker+nombre mientras ambas fuentes reportaban `ok`, así que la identidad nunca se bloqueaba y todas las herramientas de datos rechazaban la petición; la vía de Yahoo marca ahora esas consultas como `skipped` en vez de un `ok` engañoso ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114), cierra [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108)). Además: `LANGCHAIN_REASONING_EFFORT` ya se aplica en la rama de Anthropic mediante una lista de modelos permitida ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115)); el cargador de Tencent se recupera de `CERTIFICATE_VERIFY_FAILED` con el paquete CA de certifi ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113)); la derivación `revenue - cogs` del beneficio bruto deja de ser código muerto ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111)); y los trabajadores del swarm recortan con el helper compartido, así que el subagente siempre ve el aviso de recorte ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). ¡Gracias a [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey) y [@Shizoqua](https://github.com/Shizoqua)!- **2026-08-15** 🛡️ **Actualizaciones de escritorio más seguras, empaquetado fiable en Windows e investigación factorial en Run Detail**: El límite del updater inactivo conserva ahora la evidencia de los procesos propios para reintentar la limpieza, comprueba listeners TCP en vez de HTTP health, reserva el recovery journal de forma atómica, vincula Authenticode y los hashes a los mismos bytes preparados y vuelve a verificarlos justo antes del lanzamiento ([#1101](https://github.com/HKUDS/Vibe-Trading/pull/1101)). El empaquetado de Windows gestiona descargas de Electron acotadas y verificadas por checksum, y extrae el asset GTK fijado como datos mediante 7-Zip en vez de ejecutar su instalador antiguo e inestable; la CI nativa de Windows cubre códigos de salida, timeouts, ensamblado del runtime, NSIS y arranque del paquete ([#1104](https://github.com/HKUDS/Vibe-Trading/pull/1104), cierra [#1093](https://github.com/HKUDS/Vibe-Trading/issues/1093)). Run Detail incorpora series y estadísticas de IC, quantile equity y correlación de IC, con recorrido acotado de artifacts y valores JSON finitos ([#1099](https://github.com/HKUDS/Vibe-Trading/pull/1099), cierra [#1100](https://github.com/HKUDS/Vibe-Trading/issues/1100)); los universal hash locks también se verifican de forma nativa en Linux, macOS ARM64 y Windows ([#1102](https://github.com/HKUDS/Vibe-Trading/pull/1102), cierra [#1089](https://github.com/HKUDS/Vibe-Trading/issues/1089)). ¡Gracias a [@QCYTSN](https://github.com/QCYTSN) y [@shadowinlife](https://github.com/shadowinlife)!- **2026-08-14** ⚙️ **Un ajuste de razonamiento que no hacía nada, y ejecuciones que se detenían cuando aún podían recuperarse**: `LANGCHAIN_REASONING_EFFORT` era silenciosamente inocuo en casi todos los proveedores — solo OpenAI directo llegaba a recibirlo, así que poner `high` en DeepSeek no cambiaba nada y no lo advertía en ninguna parte. Ahora el ajuste llega a ambos transportes mediante el campo propio de cada adaptador: Chat Completions por defecto, y la API de Responses cuando `LANGCHAIN_USE_RESPONSES_API=true`. Los proveedores que reciben un `reasoning_effort` de primer nivel son una **lista de permitidos verificada**, no "todo lo que habla el formato de OpenAI" — un endpoint que valida su cuerpo de petición con rigor rechaza la clave desconocida y hace fallar la llamada entera, así que el coste de equivocarse es cada petición, no un ajuste que no surte efecto ([#1025](https://github.com/HKUDS/Vibe-Trading/pull/1025)). La verificación de evidencia tampoco devuelve ya "confirma y continúa" mientras siga disponible una recuperación determinista de solo lectura: un instrumento sin resolver ahora impulsa `search_symbol` → `get_market_data` con su propio presupuesto acotado en vez de agotar las iteraciones y cerrarse en fallo ([#1092](https://github.com/HKUDS/Vibe-Trading/pull/1092), cierra [#1081](https://github.com/HKUDS/Vibe-Trading/issues/1081)). **Novedades:** una página **Options Lab** — diagrama de resultado multipata, matriz de escenarios precio × volatilidad implícita, griegas de la cartera y cadena de opciones en vivo, calculado por la herramienta de payoff existente y `quantlib` en lugar de una segunda implementación de las fórmulas ([#1096](https://github.com/HKUDS/Vibe-Trading/pull/1096)); una pestaña **tearsheet** de backtest con mapa de calor de rentabilidad mensual, rentabilidad anual y las N mayores caídas ([#1091](https://github.com/HKUDS/Vibe-Trading/pull/1091)); **tickerall** como la 25.ª fuente de datos de mercado — barras de forex y metales de MetaTrader 5 alojado, sin terminal local en ningún sistema operativo, solo bajo petición explícita para que una clave de bróker nunca sea un destino de repliegue silencioso, y una ventana histórica truncada es un error en vez de una serie corta sin avisar ([#968](https://github.com/HKUDS/Vibe-Trading/pull/968), cierra [#897](https://github.com/HKUDS/Vibe-Trading/issues/897)); y **Novita AI** junto con **GitHub Copilot** como proveedores integrados ([#1059](https://github.com/HKUDS/Vibe-Trading/pull/1059), [#990](https://github.com/HKUDS/Vibe-Trading/pull/990)). eToro incorpora la exploración por clase de activo según el tipo de instrumento, y la operativa de copia ahora rechaza una cuenta demo con un motivo explícito en lugar de fallar de forma opaca ([#1070](https://github.com/HKUDS/Vibe-Trading/pull/1070)). Gracias a [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua), [@shadowinlife](https://github.com/shadowinlife), [@miguelangelo78](https://github.com/miguelangelo78), [@jax-novita](https://github.com/jax-novita), [@sykuang](https://github.com/sykuang), y [@ofeksh-tr](https://github.com/ofeksh-tr).- **2026-08-13** 🎯 **Los informes de backtest muestran la cartera que realmente se ejecutó**: `positions.csv` contenía los pesos *objetivo* del optimizador, así que un informe podía declarar una exposición del 80% mientras el redondeo de lotes, las comisiones o una orden bloqueada dejaban la cartera cerca del 20% — y esos mismos objetivos alimentaban las métricas de peso invertido y la radiografía de riesgo. Las ejecuciones van ahora a `positions.csv` y las solicitudes a `target_positions.csv` ([#1082](https://github.com/HKUDS/Vibe-Trading/pull/1082)). Run Detail incorpora un **panel de investigación** en `?view=dashboard` ([#1084](https://github.com/HKUDS/Vibe-Trading/pull/1084)), y **el español es el sexto idioma de la interfaz** ([#1087](https://github.com/HKUDS/Vibe-Trading/pull/1087)). Además: `get_research_reports` devolvía HTTP 400 para todos los símbolos de acciones A ([#1077](https://github.com/HKUDS/Vibe-Trading/pull/1077)); las cotizaciones de IBKR separan el nivel solicitado del aplicado ([#1075](https://github.com/HKUDS/Vibe-Trading/pull/1075)); `.env.partial` se escribe de forma atómica ([#1086](https://github.com/HKUDS/Vibe-Trading/pull/1086)); el flujo de Docker fija las actions a commits y bloquea por hash los SDK de canales ([#1088](https://github.com/HKUDS/Vibe-Trading/pull/1088)); y la puerta de grounding deja de leer escalones de soporte/resistencia y máximos históricos como precios observados ([#1060](https://github.com/HKUDS/Vibe-Trading/pull/1060)). Gracias [@AndyLongest](https://github.com/AndyLongest), [@daviddaco1](https://github.com/daviddaco1), [@zzz607](https://github.com/zzz607), [@jay79-boop](https://github.com/jay79-boop), [@lukiod](https://github.com/lukiod), [@birdxs](https://github.com/birdxs) y [@wiliao](https://github.com/wiliao).diff --git a/README_ja.md b/README_ja.mdindex 71a4a918b..337fe832f 100644--- a/README_ja.md+++ b/README_ja.md@@ -52,11 +52,12 @@> ⚠️ **セキュリティ警告:** Xアカウント `VibeTrading_HKU`、Virtualsプロジェクト `101845`、およびトークンコントラクト `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` は、いずれもVibe-Trading公式のものではありません。Vibe-Tradingはこれまで、いかなるトークンやミームコインも発行・公認していません。購入、ウォレットの接続、署名は行わないでください。[詳細](SECURITY.md#official-channels--impersonation)+- **2026-08-19** 🔌 **停止した実行、タスクごとに漏れる接続、インストールできない Intel Mac**:provider が無応答になると実行が無限に固まっていました。新しい `VIBE_TRADING_LLM_TIMEOUT_SECONDS`(既定 300s)が呼び出しを制限し、tool-call マークアップが最終回答として出力されることもなくなりました([#1105](https://github.com/HKUDS/Vibe-Trading/pull/1105))。swarm はタスクごとにプール済み HTTP 接続を 1 本漏らしていました([#1145](https://github.com/HKUDS/Vibe-Trading/pull/1145)、[#1141](https://github.com/HKUDS/Vibe-Trading/issues/1141) をクローズ)。ほかに修正:`vibe-trading show <run_id>` のクラッシュ([#1147](https://github.com/HKUDS/Vibe-Trading/pull/1147)、[#1146](https://github.com/HKUDS/Vibe-Trading/issues/1146) をクローズ)、処理中の配信の上書き([#1140](https://github.com/HKUDS/Vibe-Trading/pull/1140))、バックテスト検証エビデンスの欠落([#1139](https://github.com/HKUDS/Vibe-Trading/pull/1139))、MCP のページング([#1137](https://github.com/HKUDS/Vibe-Trading/pull/1137)、[#1138](https://github.com/HKUDS/Vibe-Trading/pull/1138))、予測市場の非有限値([#1136](https://github.com/HKUDS/Vibe-Trading/pull/1136))。**新機能:** 富途の読み取り専用エンドポイント 7 種([#1135](https://github.com/HKUDS/Vibe-Trading/pull/1135))と、推測された戦略名への明示的な `Inferred` チップ([#1134](https://github.com/HKUDS/Vibe-Trading/pull/1134))。**インストール:** `smartmoneyconcepts` は `[smc]` extra になりました。これが引き込む `llvmlite` は macOS x86_64 wheel を提供しないため、Intel Mac のインストールは毎回 cmake のソースビルドになっていました([#1035](https://github.com/HKUDS/Vibe-Trading/discussions/1035))。`<3.14` の上限もこれに伴い撤廃されます。貢献に感謝します:[@wiliao](https://github.com/wiliao)、[@cgycorey](https://github.com/cgycorey)、[@Shizoqua](https://github.com/Shizoqua)、[@Echoandelementwebsites](https://github.com/Echoandelementwebsites)、[@549236606-oss](https://github.com/549236606-oss)、[@fixXxerTech](https://github.com/fixXxerTech)。- **2026-08-18** 🈶 **正しいレポートが拒否されなくなり、バックテストがノイズを売買しなくなりました**:`\b` は Unicode を認識するため `最` も語構成文字と見なされ、`(2026-07-14最低)` は「日」の直後に境界がありません。日付がマスクをすり抜け、`2026`・`7`・`14` が価格として OHLC 照合に入り、観測済みのどのレンジにも収まりませんでした([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132)、[#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122) をクローズ)。同系統の拒否をさらに 4 件修正:ハイフン形式の取引日(`08-10(一)`)、レンジで示した水準が下限だけマスクされ `-20` が残る件、GTC の注文行(`100 @ $3.50`)が観測値 2 つとして読まれる件、レポート形式の日付セルがどの証跡行にも一致しない件。**バックテスト:**`position_adjustment="hold"` は要求されたサイズ変更を黙って捨て、`"rebalance"` にはドリフト許容幅がまったくありませんでした。実測では日次 0.01% の変動で 30 本中 19 本のバーでポジションを取り直しており、独自の `rebalance_freq` を持つ戦略でも毎バー取引していたことになります。捨てられた要求は報告されるようになり、新しい `rebalance_tolerance` は実務家が言う「ウェイトが X 以上動いたらリバランス」の許容幅です。既定は `0.0` なので既存の実行結果は変わりません。さらに、業種中立の alpha101 アルファ 19 本は SP500 ベンチのたびにスキップされていました。パネルにセクタータグが無かったためですが、その情報は構成銘柄を取得している表に元から含まれていました。**新機能:** Market Watch のモニターは、実行完了後にブリーフィングを IM チャンネルへ配信できます。永続化されたアウトボックス経由なので、再起動で失われることも、同時実行のスイープで二重送信されることもありません([#942](https://github.com/HKUDS/Vibe-Trading/issues/942))。**ドイツ語が 7 番目の UI 言語**になりました([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117))。`run_dcf` は非有限の入力を、もっともらしい負の 1 株価格を返す代わりに拒否します([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121)、[#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120) をクローズ)。MCP の `get_market_data` 応答は docstring が約束していた `_provenance` を返すようになりました([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131))。インポートに失敗したツールモジュールは名指しされ、レジストリが静かに縮むことはなくなりました([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129)、[#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124) をクローズ)。オフラインの USD-M 口座リコンサイルも追加され、接続を開かずにローカルのリスク状態と取引所の観測値を比較します([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106))。**その他:** `backtest.runner` のインポートがプロセスへ `.env` を読み込まなくなりました。`agent/.env` があるマシンでは、これがローカルの全テスト実行を信用できないものにしていました([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123))。[@Robin1987China](https://github.com/Robin1987China)、[@newgo](https://github.com/newgo)、[@er-s-an](https://github.com/er-s-an)、[@Shizoqua](https://github.com/Shizoqua)、[@1psconstructor](https://github.com/1psconstructor)、[@honginp](https://github.com/honginp)、[@cgycorey](https://github.com/cgycorey)、[@alinv0](https://github.com/alinv0)、[@jelech](https://github.com/jelech) に感謝します!- **2026-08-17** 🔒 **テストスイートが実際の設定ルート(ライブ監査台帳を含む)へ書き込まなくなりました**:プロジェクト自身のスイートを実行すると `~/.vibe-trading/live/audit.jsonl` に捏造された `order_rejected` レコードが追記されていました。これは追記専用のハッシュ連鎖台帳で、エントリを作り出せないことがその価値のすべてです。Windows では壊れた連鎖ファイルも残していました。`conftest.py` には設定ルートのサンドボックスが一切なく、インポート時に `Path.home() / ".vibe-trading"` を固定するモジュールは**どのプラットフォームでも**実ホームを解決していました。Windows がより深刻だったのは、そこでは `Path.home()` が `%USERPROFILE%` を読み `$HOME` を無視するため、スイートが従来使ってきた分離手法が無効になっていたからです。ホームは収集前にリダイレクトされ、サンドボックスはノブを1つだけ持つのでテストごとの分離が引き続き優先され、セッション終了時にはリダイレクトの有無ではなく実台帳がバイト単位で不変であることを検証します([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118)、[#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116) をクローズ)。ほかにも:`xirr` と `money_weighted_return` は約51年を超える期間で `ZeroDivisionError` を出していました(割引係数がゼロにアンダーフローするため)——まさに XIRR が存在する理由である長期・不規則なキャッシュフローです([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119));アクティブな実行へアーカイブされたバックテストが前回の成果物とマージされ、1つのレポートが2つの異なるバックテストを記述しうる状態で、`/runs/{id}` は残存ファイルを自身の成果物として列挙していました([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094))。[@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo)、[@pengpengyi92](https://github.com/pengpengyi92) に感謝します!-- **2026-08-16** 🔧 **Anthropic の実行がリカバリー経路で停止しなくなり、シンボル検索が空結果を正常と報告しなくなった**:リカバリー経路が途中で追加する `system` メッセージは Anthropic API に拒否されて実行ごと停止していましたが、リカバリー指示はインラインの `<system>` タグ付きユーザーメッセージで送られるようになりました([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112)、[#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109) をクローズ)。`search_symbol` はティッカー+企業名のクエリにゼロ候補を返しながら両ソースが `ok` を報告し、identity がロックされず全データツールが拒否されていました。Yahoo 経路はこのクエリ形状を `skipped` と報告するようになりました([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114)、[#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108) をクローズ)。ほかにも:`LANGCHAIN_REASONING_EFFORT` がモデル許可リスト経由で Anthropic ブランチに反映([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115));Tencent ローダーが certifi CA バンドルで `CERTIFICATE_VERIFY_FAILED` から回復([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113));`revenue - cogs` の粗利益フォールバックが死にコードでなくなる([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111));swarm worker が共有ヘルパーで切り詰め、サブエージェントは常に切り詰め表示を見られる([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110))。[@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo)、[@x-lambda](https://github.com/x-lambda)、[@cgycorey](https://github.com/cgycorey)、[@Shizoqua](https://github.com/Shizoqua) に感謝します!<details><summary>過去のニュース</summary>+- **2026-08-16** 🔧 **Anthropic の実行がリカバリー経路で停止しなくなり、シンボル検索が空結果を正常と報告しなくなった**:リカバリー経路が途中で追加する `system` メッセージは Anthropic API に拒否されて実行ごと停止していましたが、リカバリー指示はインラインの `<system>` タグ付きユーザーメッセージで送られるようになりました([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112)、[#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109) をクローズ)。`search_symbol` はティッカー+企業名のクエリにゼロ候補を返しながら両ソースが `ok` を報告し、identity がロックされず全データツールが拒否されていました。Yahoo 経路はこのクエリ形状を `skipped` と報告するようになりました([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114)、[#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108) をクローズ)。ほかにも:`LANGCHAIN_REASONING_EFFORT` がモデル許可リスト経由で Anthropic ブランチに反映([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115));Tencent ローダーが certifi CA バンドルで `CERTIFICATE_VERIFY_FAILED` から回復([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113));`revenue - cogs` の粗利益フォールバックが死にコードでなくなる([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111));swarm worker が共有ヘルパーで切り詰め、サブエージェントは常に切り詰め表示を見られる([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110))。[@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo)、[@x-lambda](https://github.com/x-lambda)、[@cgycorey](https://github.com/cgycorey)、[@Shizoqua](https://github.com/Shizoqua) に感謝します!- **2026-08-15** 🛡️ **デスクトップ更新をより安全に、Windows パッケージングをより確実にし、Run Detail にファクター分析を追加**:休眠中の updater 境界は、再試行できるクリーンアップのために所有プロセスの証拠を保持し、HTTP health ではなく TCP listener でポートの生存を判定し、recovery journal を原子的に確保し、Authenticode とハッシュを同一の staged bytes に結び付け、起動直前にも再検証します([#1101](https://github.com/HKUDS/Vibe-Trading/pull/1101))。Windows パッケージングは、上限とチェックサム検証付きの Electron ダウンロードを自前で行い、不安定な旧 installer を実行せず、固定 GTK asset を 7-Zip でデータとして展開するようになりました。ネイティブ Windows CI は終了コード、タイムアウト、runtime 組み立て、NSIS、パッケージ後の起動を検証します([#1104](https://github.com/HKUDS/Vibe-Trading/pull/1104)、[#1093](https://github.com/HKUDS/Vibe-Trading/issues/1093) を解決)。Run Detail には IC 系列・統計、quantile equity、IC 相関を追加し、artifact traversal と JSON 数値を境界内に保ちます([#1099](https://github.com/HKUDS/Vibe-Trading/pull/1099)、[#1100](https://github.com/HKUDS/Vibe-Trading/issues/1100) を解決)。汎用 hash lock も Linux、macOS ARM64、Windows でネイティブ検証されました([#1102](https://github.com/HKUDS/Vibe-Trading/pull/1102)、[#1089](https://github.com/HKUDS/Vibe-Trading/issues/1089) を解決)。[@QCYTSN](https://github.com/QCYTSN) と [@shadowinlife](https://github.com/shadowinlife) に感謝します!- **2026-08-14** ⚙️ **何もしていなかった推論設定と、まだ回復できたのに止まっていた実行**:`LANGCHAIN_REASONING_EFFORT` はほぼすべてのプロバイダーで黙って無効でした——受け取っていたのは直接の OpenAI だけで、DeepSeek に `high` を設定しても何も変わらず、そのことはどこにも表示されませんでした。この設定は各アダプター固有のフィールドを通じて両方のトランスポートに届くようになりました:既定は Chat Completions、`LANGCHAIN_USE_RESPONSES_API=true` のときは Responses API です。トップレベルの `reasoning_effort` を受け取るプロバイダーは「OpenAI 形式を話すものすべて」ではなく**検証済みの許可リスト**です——リクエストボディを厳密に検証するエンドポイントは未知のキーを拒否して呼び出し自体を失敗させるため、誤った推測の代償は「効かない設定」ではなく「すべてのリクエスト」になります([#1025](https://github.com/HKUDS/Vibe-Trading/pull/1025))。grounding ゲートも、決定的な読み取り専用リカバリーがまだ可能な状態で「確認して続行」を返すのをやめました:未解決の銘柄は独自の上限付き予算で `search_symbol` → `get_market_data` を駆動し、反復回数を使い切ってフェイルクローズすることがなくなります([#1092](https://github.com/HKUDS/Vibe-Trading/pull/1092)、[#1081](https://github.com/HKUDS/Vibe-Trading/issues/1081) をクローズ)。**新規:Options Lab** ページ——マルチレッグの満期損益図、原資産価格 × IV シナリオ行列、ポートフォリオのグリークス、ライブのオプションチェーン。計算は既存の payoff ツールと `quantlib` が担い、数式の二重実装はありません([#1096](https://github.com/HKUDS/Vibe-Trading/pull/1096))。**バックテストの tearsheet** タブ(月次リターンのヒートマップ、年次リターン、上位 N のドローダウン区間、[#1091](https://github.com/HKUDS/Vibe-Trading/pull/1091))。**tickerall** が 25 番目のマーケットデータソースに——ホスト型 MetaTrader 5 の FX/貴金属バーで、どの OS でもローカル端末が不要。明示指定時のみ有効なのでブローカーキーが暗黙のフォールバック先になることはなく、切り詰められた履歴ウィンドウは静かに短い系列を返すのではなくエラーになります([#968](https://github.com/HKUDS/Vibe-Trading/pull/968)、[#897](https://github.com/HKUDS/Vibe-Trading/issues/897) をクローズ)。そして **Novita AI** と **GitHub Copilot** が組み込みプロバイダーに([#1059](https://github.com/HKUDS/Vibe-Trading/pull/1059)、[#990](https://github.com/HKUDS/Vibe-Trading/pull/990))。eToro は商品タイプ別のアセットクラス閲覧に対応し、コピートレードはデモ口座を理由を明示して拒否するようになりました([#1070](https://github.com/HKUDS/Vibe-Trading/pull/1070))。Thanks [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua), [@shadowinlife](https://github.com/shadowinlife), [@miguelangelo78](https://github.com/miguelangelo78), [@jax-novita](https://github.com/jax-novita), [@sykuang](https://github.com/sykuang), と [@ofeksh-tr](https://github.com/ofeksh-tr)。- **2026-08-13** 🎯 **バックテストのレポートが実際に約定した建玉を表示**:`positions.csv` にはオプティマイザの**目標**ウェイトが入っていたため、単元丸め・手数料・約定拒否でポートフォリオが約 20% でもレポートは 80% のエクスポージャーを主張しえました。同じ目標値が投資ウェイト指標とリスク X 線にも渡っていました。約定実績は `positions.csv`、要求値は `target_positions.csv` へ([#1082](https://github.com/HKUDS/Vibe-Trading/pull/1082))。Run Detail に**リサーチダッシュボード**(`?view=dashboard`)を追加([#1084](https://github.com/HKUDS/Vibe-Trading/pull/1084))、**スペイン語が 6 番目の UI 言語**に([#1087](https://github.com/HKUDS/Vibe-Trading/pull/1087))。ほかに:`get_research_reports` が全 A 株銘柄で HTTP 400 を返していた問題([#1077](https://github.com/HKUDS/Vibe-Trading/pull/1077))、IBKR の気配で要求した配信区分と実際に適用された区分を分離([#1075](https://github.com/HKUDS/Vibe-Trading/pull/1075))、`.env.partial` の原子的書き込み([#1086](https://github.com/HKUDS/Vibe-Trading/pull/1086))、Docker ワークフローの action を commit 固定しチャネル SDK をハッシュロック([#1088](https://github.com/HKUDS/Vibe-Trading/pull/1088))、grounding ゲートがサポート/レジスタンスや過去最高値を観測価格として読まないよう修正([#1060](https://github.com/HKUDS/Vibe-Trading/pull/1060))。Thanks [@AndyLongest](https://github.com/AndyLongest)、[@daviddaco1](https://github.com/daviddaco1)、[@zzz607](https://github.com/zzz607)、[@jay79-boop](https://github.com/jay79-boop)、[@lukiod](https://github.com/lukiod)、[@birdxs](https://github.com/birdxs)、[@wiliao](https://github.com/wiliao).diff --git a/README_ko.md b/README_ko.mdindex c3311691b..e5e5b001a 100644--- a/README_ko.md+++ b/README_ko.md@@ -52,11 +52,12 @@> ⚠️ **보안 경고:** X 계정 `VibeTrading_HKU`, Virtuals 프로젝트 `101845`, 토큰 컨트랙트 `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4`는 모두 Vibe-Trading 공식과 무관합니다. Vibe-Trading은 어떠한 토큰이나 밈코인도 발행하거나 공식적으로 지지한 적이 없습니다. 해당 토큰을 구매하거나 지갑을 연결하거나 어떠한 서명도 하지 마세요. [자세히 보기](SECURITY.md#official-channels--impersonation).+- **2026-08-19** 🔌 **멈춘 실행, 작업마다 새는 연결, 설치되지 않던 Intel Mac**: provider가 조용해지면 실행이 무한정 멈췄습니다. 새 `VIBE_TRADING_LLM_TIMEOUT_SECONDS`(기본 300s)가 호출을 제한하고, tool-call 마크업이 최종 답변으로 나가는 일도 없습니다([#1105](https://github.com/HKUDS/Vibe-Trading/pull/1105)). swarm은 작업마다 풀링된 HTTP 연결을 하나씩 누수했습니다([#1145](https://github.com/HKUDS/Vibe-Trading/pull/1145), [#1141](https://github.com/HKUDS/Vibe-Trading/issues/1141) 종료). 그 밖의 수정: `vibe-trading show <run_id>` 크래시([#1147](https://github.com/HKUDS/Vibe-Trading/pull/1147), [#1146](https://github.com/HKUDS/Vibe-Trading/issues/1146) 종료), 진행 중인 전달 덮어쓰기([#1140](https://github.com/HKUDS/Vibe-Trading/pull/1140)), 백테스트 검증 증거 유실([#1139](https://github.com/HKUDS/Vibe-Trading/pull/1139)), MCP 페이징([#1137](https://github.com/HKUDS/Vibe-Trading/pull/1137), [#1138](https://github.com/HKUDS/Vibe-Trading/pull/1138)), 예측 시장 비유한값([#1136](https://github.com/HKUDS/Vibe-Trading/pull/1136)). **신규:** 푸투 읽기 전용 엔드포인트 7개([#1135](https://github.com/HKUDS/Vibe-Trading/pull/1135)), 추론된 전략 이름에 명시적 `Inferred` 칩([#1134](https://github.com/HKUDS/Vibe-Trading/pull/1134)). **설치:** `smartmoneyconcepts`가 `[smc]` extra로 바뀌었습니다 — 함께 딸려오던 `llvmlite`는 macOS x86_64 wheel을 제공하지 않아 Intel Mac 설치가 매번 cmake 소스 빌드가 됐습니다([#1035](https://github.com/HKUDS/Vibe-Trading/discussions/1035)). `<3.14` 상한도 함께 사라집니다. 기여해 주신 [@wiliao](https://github.com/wiliao), [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua), [@Echoandelementwebsites](https://github.com/Echoandelementwebsites), [@549236606-oss](https://github.com/549236606-oss), [@fixXxerTech](https://github.com/fixXxerTech)에게 감사드립니다.- **2026-08-18** 🈶 **정확한 리포트가 더 이상 거부되지 않고, 백테스트가 노이즈를 매매하지 않습니다**: `\b`는 유니코드를 인식하므로 `最`도 단어 문자로 취급되고, 따라서 `(2026-07-14最低)`에는 '일' 뒤에 경계가 없습니다. 날짜가 마스킹을 빠져나가 `2026`, `7`, `14`가 가격으로 OHLC 검증에 들어갔고, 관측된 어떤 범위도 이 값들을 담을 수 없었습니다([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132), [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122) 종료). 같은 계열의 거부 네 가지도 함께 고쳤습니다: 하이픈 형식 거래일(`08-10(一)`), 범위로 적은 가격대에서 하한만 마스킹되어 `-20`이 남던 문제, GTC 주문 줄(`100 @ $3.50`)이 관측 호가 두 개로 읽히던 문제, 리포트 형식 날짜 셀이 어떤 증거 행과도 일치하지 않던 문제. **백테스트:** `position_adjustment="hold"`는 요청된 비중 변경을 조용히 버렸고, `"rebalance"`에는 드리프트 허용 범위가 아예 없었습니다. 실측 결과 일간 0.01% 변동만으로 30개 봉 중 19개에서 포지션을 다시 맞췄고, 자체 `rebalance_freq`를 가진 전략도 매 봉 거래한 셈입니다. 버려진 요청은 이제 보고되며, 새 `rebalance_tolerance`는 실무자들이 말하는 "비중이 X 이상 움직이면 리밸런싱"의 허용 범위입니다. 기본값 `0.0`이라 기존 실행 결과는 그대로입니다. 또한 산업 중립 alpha101 알파 19개가 SP500 벤치마다 건너뛰어졌는데, 패널에 섹터 태그가 없었기 때문이며 그 정보는 구성종목을 가져오는 표에 이미 있었습니다. **새 기능:** Market Watch 모니터는 실행이 끝나면 브리핑을 IM 채널로 보낼 수 있습니다. 영속 아웃박스를 거치므로 재시작으로 유실되지 않고, 동시 스윕으로 중복 발송되지도 않습니다([#942](https://github.com/HKUDS/Vibe-Trading/issues/942)). **독일어가 7번째 UI 언어**가 됐습니다([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117)). `run_dcf`는 비유한 입력에 대해 그럴듯한 음수 주가를 반환하는 대신 거부합니다([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121), [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120) 종료). MCP `get_market_data` 응답은 자체 docstring이 약속한 `_provenance`를 담습니다([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131)). 임포트에 실패한 도구 모듈은 이름이 드러나며 레지스트리가 조용히 줄어들지 않습니다([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129), [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124) 종료). 오프라인 USD-M 계정 대사도 추가되어 연결을 열지 않고 로컬 리스크 상태와 거래소 관측치를 비교합니다([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106)). **그 밖에:** `backtest.runner`를 임포트해도 더 이상 `.env`가 프로세스에 로드되지 않습니다. `agent/.env`가 있는 머신에서는 이것 때문에 로컬 전체 테스트를 신뢰할 수 없었습니다([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123)). [@Robin1987China](https://github.com/Robin1987China), [@newgo](https://github.com/newgo), [@er-s-an](https://github.com/er-s-an), [@Shizoqua](https://github.com/Shizoqua), [@1psconstructor](https://github.com/1psconstructor), [@honginp](https://github.com/honginp), [@cgycorey](https://github.com/cgycorey), [@alinv0](https://github.com/alinv0), [@jelech](https://github.com/jelech) 님 감사합니다!- **2026-08-17** 🔒 **테스트 스위트가 실제 설정 루트(라이브 감사 원장 포함)에 쓰지 않게 되었습니다**: 프로젝트 자체 스위트를 실행하면 `~/.vibe-trading/live/audit.jsonl`에 조작된 `order_rejected` 레코드가 추가됐습니다. 이 파일은 추가 전용 해시 체인 원장이며, 항목을 만들어낼 수 없다는 점이 그 가치의 전부입니다. Windows에서는 손상된 체인 파일까지 남았습니다. `conftest.py`에는 설정 루트 샌드박스가 전혀 없어서, 임포트 시점에 `Path.home() / ".vibe-trading"`를 고정하는 모든 모듈이 **어느 플랫폼에서든** 실제 홈을 해석했습니다. Windows가 더 나빴던 이유는 거기서 `Path.home()`이 `%USERPROFILE%`를 읽고 `$HOME`을 무시해, 스위트가 써온 격리 방식이 무효였기 때문입니다. 이제 홈은 수집 전에 리디렉션되고, 샌드박스는 노브를 하나만 소유해 테스트별 격리가 계속 우선하며, 세션 종료 시 리디렉션 설치 여부가 아니라 실제 원장이 바이트 단위로 동일한지 검증합니다 ([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118), [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116) 종료). 그 밖에도: `xirr`와 `money_weighted_return`이 약 51년을 넘는 기간에서 `ZeroDivisionError`를 던졌습니다 — 할인 계수가 0으로 언더플로하기 때문이며, 이는 바로 XIRR이 존재하는 이유인 장기·불규칙 현금흐름입니다 ([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119)); 활성 실행으로 아카이브된 백테스트가 이전 실행의 산출물과 병합돼 한 리포트가 서로 다른 두 백테스트를 설명할 수 있었고, `/runs/{id}`는 남은 파일을 자기 산출물로 나열했습니다 ([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094)). [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@pengpengyi92](https://github.com/pengpengyi92) 님께 감사드립니다!-- **2026-08-16** 🔧 **Anthropic 실행이 복구 경로에서 죽지 않게 되고, 심볼 검색이 빈 결과를 정상으로 보고하지 않게 되었습니다**: 복구 경로가 중간에 추가한 `system` 메시지는 Anthropic API가 거부해 실행 전체가 중단됐지만, 이제 복구 지시는 인라인 `<system>` 태그가 붙은 사용자 메시지로 전달됩니다 ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112), [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109) 종료). `search_symbol`은 티커+이름 쿼리에 후보 0개를 반환하면서 두 소스 모두 `ok`를 보고해 identity가 잠기지 않고 모든 데이터 도구가 거부됐습니다. Yahoo 경로는 이제 이 쿼리 형태를 `skipped`로 표시합니다 ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114), [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108) 종료). 그 밖에도: `LANGCHAIN_REASONING_EFFORT`가 모델 허용 목록을 통해 Anthropic 브랜치에 반영되고 ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115)), Tencent 로더는 certifi CA 번들로 `CERTIFICATE_VERIFY_FAILED`에서 복구하며 ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113)), `revenue - cogs` 총이익 폴백이 죽은 코드에서 벗어나고 ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111)), swarm worker가 공유 헬퍼로 잘라내어 하위 에이전트가 항상 잘림 표시를 보게 됩니다 ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua) 님께 감사드립니다!<details><summary>이전 뉴스</summary>+- **2026-08-16** 🔧 **Anthropic 실행이 복구 경로에서 죽지 않게 되고, 심볼 검색이 빈 결과를 정상으로 보고하지 않게 되었습니다**: 복구 경로가 중간에 추가한 `system` 메시지는 Anthropic API가 거부해 실행 전체가 중단됐지만, 이제 복구 지시는 인라인 `<system>` 태그가 붙은 사용자 메시지로 전달됩니다 ([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112), [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109) 종료). `search_symbol`은 티커+이름 쿼리에 후보 0개를 반환하면서 두 소스 모두 `ok`를 보고해 identity가 잠기지 않고 모든 데이터 도구가 거부됐습니다. Yahoo 경로는 이제 이 쿼리 형태를 `skipped`로 표시합니다 ([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114), [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108) 종료). 그 밖에도: `LANGCHAIN_REASONING_EFFORT`가 모델 허용 목록을 통해 Anthropic 브랜치에 반영되고 ([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115)), Tencent 로더는 certifi CA 번들로 `CERTIFICATE_VERIFY_FAILED`에서 복구하며 ([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113)), `revenue - cogs` 총이익 폴백이 죽은 코드에서 벗어나고 ([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111)), swarm worker가 공유 헬퍼로 잘라내어 하위 에이전트가 항상 잘림 표시를 보게 됩니다 ([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110)). [@lorenzozanee](https://github.com/lorenzozanee), [@straun-repo](https://github.com/straun-repo), [@x-lambda](https://github.com/x-lambda), [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua) 님께 감사드립니다!- **2026-08-15** 🛡️ **더 안전한 데스크톱 업데이트, 안정적인 Windows 패키징, Run Detail 팩터 리서치**: 휴면 updater 경계는 재시도 가능한 정리를 위해 소유 프로세스 증거를 보존하고, HTTP health 대신 TCP listener로 포트 생존을 확인하며, recovery journal을 원자적으로 예약하고, Authenticode와 해시를 동일한 staged bytes에 묶어 실행 직전에 다시 검증합니다([#1101](https://github.com/HKUDS/Vibe-Trading/pull/1101)). Windows 패키징은 제한과 체크섬 검증이 적용된 Electron 다운로드를 직접 수행하고, 불안정한 기존 installer를 실행하지 않고 고정된 GTK asset을 7-Zip으로 데이터처럼 추출합니다. 네이티브 Windows CI는 종료 코드, timeout, runtime 조립, NSIS, 패키징 후 시작을 검증합니다([#1104](https://github.com/HKUDS/Vibe-Trading/pull/1104), [#1093](https://github.com/HKUDS/Vibe-Trading/issues/1093) 해결). Run Detail에는 IC 시계열·통계, quantile equity, IC 상관관계를 추가하고 artifact 탐색과 JSON 수치를 경계 안에 유지합니다([#1099](https://github.com/HKUDS/Vibe-Trading/pull/1099), [#1100](https://github.com/HKUDS/Vibe-Trading/issues/1100) 해결). 범용 hash lock도 Linux, macOS ARM64, Windows에서 네이티브 검증을 마쳤습니다([#1102](https://github.com/HKUDS/Vibe-Trading/pull/1102), [#1089](https://github.com/HKUDS/Vibe-Trading/issues/1089) 해결). [@QCYTSN](https://github.com/QCYTSN) 님과 [@shadowinlife](https://github.com/shadowinlife) 님께 감사드립니다!- **2026-08-14** ⚙️ **아무 일도 하지 않던 추론 설정, 그리고 아직 복구할 수 있는데 멈추던 실행**: `LANGCHAIN_REASONING_EFFORT`는 거의 모든 프로바이더에서 조용히 무효였습니다 — 직접 연결된 OpenAI만 이 값을 받았기에 DeepSeek에 `high`를 설정해도 아무것도 바뀌지 않았고, 그 사실이 어디에도 표시되지 않았습니다. 이제 이 값은 각 어댑터 고유 필드를 통해 두 전송 경로 모두에 전달됩니다: 기본은 Chat Completions, `LANGCHAIN_USE_RESPONSES_API=true`이면 Responses API입니다. 최상위 `reasoning_effort`를 받는 프로바이더는 "OpenAI 형식을 말하는 모든 것"이 아니라 **검증된 허용 목록**입니다 — 요청 본문을 엄격히 검증하는 엔드포인트는 알 수 없는 키를 거부하고 호출 자체를 실패시키므로, 잘못 추측한 대가는 작동하지 않는 설정이 아니라 모든 요청입니다 ([#1025](https://github.com/HKUDS/Vibe-Trading/pull/1025)). grounding 게이트도 결정론적 읽기 전용 복구가 아직 가능한 상태에서 "확인 후 계속"을 돌려주지 않습니다: 해결되지 않은 종목은 자체 제한 예산으로 `search_symbol` → `get_market_data`를 진행하며, 반복 예산을 소진한 뒤 fail-closed 되지 않습니다 ([#1092](https://github.com/HKUDS/Vibe-Trading/pull/1092), [#1081](https://github.com/HKUDS/Vibe-Trading/issues/1081) 종료). **신규: Options Lab** 페이지 — 멀티레그 만기 손익 다이어그램, 현물 × IV 시나리오 매트릭스, 포트폴리오 그릭스, 라이브 옵션 체인. 계산은 기존 payoff 도구와 `quantlib`이 담당하며 수식을 다시 구현하지 않았습니다 ([#1096](https://github.com/HKUDS/Vibe-Trading/pull/1096)). **백테스트 tearsheet** 탭 — 월별 수익률 히트맵, 연도별 수익률, 상위 N개 드로다운 구간 ([#1091](https://github.com/HKUDS/Vibe-Trading/pull/1091)). **tickerall**이 25번째 마켓 데이터 소스로 — 호스팅형 MetaTrader 5 외환/귀금속 바를 어떤 OS에서도 로컬 터미널 없이 사용하며, 명시적으로 지정할 때만 동작하므로 브로커 키가 조용한 폴백 대상이 되는 일이 없고, 잘린 히스토리 구간은 짧은 시리즈를 조용히 반환하는 대신 오류가 됩니다 ([#968](https://github.com/HKUDS/Vibe-Trading/pull/968), [#897](https://github.com/HKUDS/Vibe-Trading/issues/897) 종료). 그리고 **Novita AI**와 **GitHub Copilot**이 내장 프로바이더로 추가되었습니다 ([#1059](https://github.com/HKUDS/Vibe-Trading/pull/1059), [#990](https://github.com/HKUDS/Vibe-Trading/pull/990)). eToro는 상품 유형별 자산군 탐색을 지원하고, 카피 트레이딩은 데모 계정을 명확한 이유와 함께 거부합니다 ([#1070](https://github.com/HKUDS/Vibe-Trading/pull/1070)). Thanks [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua), [@shadowinlife](https://github.com/shadowinlife), [@miguelangelo78](https://github.com/miguelangelo78), [@jax-novita](https://github.com/jax-novita), [@sykuang](https://github.com/sykuang), 및 [@ofeksh-tr](https://github.com/ofeksh-tr).- **2026-08-13** 🎯 **백테스트 리포트가 실제 체결된 포지션을 표시**: `positions.csv`에는 옵티마이저의 **목표** 비중이 담겨 있어, 단주 반올림·수수료·주문 차단으로 포트폴리오가 20% 근처인데도 리포트는 80% 익스포저를 주장할 수 있었습니다. 같은 목표값이 투자 비중 지표와 리스크 X-레이에도 전달되었습니다. 이제 체결 실적은 `positions.csv`, 요청값은 `target_positions.csv`에 기록됩니다([#1082](https://github.com/HKUDS/Vibe-Trading/pull/1082)). Run Detail에 **리서치 대시보드**(`?view=dashboard`)가 추가되고([#1084](https://github.com/HKUDS/Vibe-Trading/pull/1084)), **스페인어가 여섯 번째 UI 언어**가 되었습니다([#1087](https://github.com/HKUDS/Vibe-Trading/pull/1087)). 그 외: `get_research_reports`가 모든 A주 종목에 HTTP 400을 반환하던 문제([#1077](https://github.com/HKUDS/Vibe-Trading/pull/1077)), IBKR 시세에서 요청한 등급과 실제 적용된 등급을 분리([#1075](https://github.com/HKUDS/Vibe-Trading/pull/1075)), `.env.partial` 원자적 기록([#1086](https://github.com/HKUDS/Vibe-Trading/pull/1086)), Docker 워크플로의 action을 커밋으로 고정하고 채널 SDK를 해시 락으로 설치([#1088](https://github.com/HKUDS/Vibe-Trading/pull/1088)), grounding 게이트가 지지/저항 구간과 사상 최고가를 관측 가격으로 읽지 않도록 수정([#1060](https://github.com/HKUDS/Vibe-Trading/pull/1060)). Thanks [@AndyLongest](https://github.com/AndyLongest), [@daviddaco1](https://github.com/daviddaco1), [@zzz607](https://github.com/zzz607), [@jay79-boop](https://github.com/jay79-boop), [@lukiod](https://github.com/lukiod), [@birdxs](https://github.com/birdxs), [@wiliao](https://github.com/wiliao).diff --git a/README_zh.md b/README_zh.mdindex 1a1138531..e94da9619 100644--- a/README_zh.md+++ b/README_zh.md@@ -52,11 +52,12 @@> ⚠️ **安全警告:** X 账号 `VibeTrading_HKU`、Virtuals 项目 `101845` 及代币合约 `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` 均非 Vibe-Trading 官方。我们从未发行或背书任何代币或 meme 币。请勿购买、连接钱包或签名。[详细说明](SECURITY.md#official-channels--impersonation)。+- **2026-08-19** 🔌 **卡住的运行、每个任务泄漏一条连接、装不上的 Intel Mac**:provider 静默时运行会无限冻结——新的 `VIBE_TRADING_LLM_TIMEOUT_SECONDS`(默认 300s)为调用设界,且 tool-call 标记不再被当作最终答案输出([#1105](https://github.com/HKUDS/Vibe-Trading/pull/1105))。swarm 每个任务都会泄漏一条池化 HTTP 连接([#1145](https://github.com/HKUDS/Vibe-Trading/pull/1145),关闭 [#1141](https://github.com/HKUDS/Vibe-Trading/issues/1141))。另修复:`vibe-trading show <run_id>` 崩溃([#1147](https://github.com/HKUDS/Vibe-Trading/pull/1147),关闭 [#1146](https://github.com/HKUDS/Vibe-Trading/issues/1146))、覆盖在途投递([#1140](https://github.com/HKUDS/Vibe-Trading/pull/1140))、回测验证证据被丢弃([#1139](https://github.com/HKUDS/Vibe-Trading/pull/1139))、MCP 分页([#1137](https://github.com/HKUDS/Vibe-Trading/pull/1137)、[#1138](https://github.com/HKUDS/Vibe-Trading/pull/1138))、预测市场非有限值([#1136](https://github.com/HKUDS/Vibe-Trading/pull/1136))。**新增:** 七个富途只读接口([#1135](https://github.com/HKUDS/Vibe-Trading/pull/1135))、推断策略名加显式 `Inferred` 标([#1134](https://github.com/HKUDS/Vibe-Trading/pull/1134))。**安装:** `smartmoneyconcepts` 改为 `[smc]` extra——它拖入的 `llvmlite` 不发 macOS x86_64 wheel,让每一次 Intel Mac 安装都变成 cmake 源码编译([#1035](https://github.com/HKUDS/Vibe-Trading/discussions/1035));`<3.14` 上界随之取消。感谢 [@wiliao](https://github.com/wiliao)、[@cgycorey](https://github.com/cgycorey)、[@Shizoqua](https://github.com/Shizoqua)、[@Echoandelementwebsites](https://github.com/Echoandelementwebsites)、[@549236606-oss](https://github.com/549236606-oss) 与 [@fixXxerTech](https://github.com/fixXxerTech)!- **2026-08-18** 🈶 **正确的报告不再被拒答,回测不再交易噪声**:`\b` 是 Unicode 感知的,`最` 也算词字符,于是 `(2026-07-14最低)` 在「日」之后没有边界——日期逃过掩码,`2026`、`7`、`14` 作为价格进入 OHLC 核对,而任何已观测区间都容不下它们([#1132](https://github.com/HKUDS/Vibe-Trading/pull/1132),关闭 [#1122](https://github.com/HKUDS/Vibe-Trading/issues/1122))。同族的另外四种拒答一并修掉:短横线交易日(`08-10(一)`)、区间式点位只被吃掉下界留下 `-20`、GTC 挂单行(`100 @ $3.50`)被当成两个已观测报价、以及报告体日期单元格匹配不上任何证据行。**回测:**`position_adjustment="hold"` 会静默丢弃策略明确要求的调仓,而 `"rebalance"` 根本没有漂移容差——实测日涨幅仅 0.01% 就在 30 根 bar 里重新钉住 19 次,于是有自己 `rebalance_freq` 的策略照样每根 bar 都在交易。被丢弃的请求现在会报出来,新增的 `rebalance_tolerance` 就是从业者说的「偏离超过 X 才调仓」,默认 `0.0`,任何现有回测的数字都不变。另有 19 个行业中性的 alpha101 因子,此前在每次 SP500 bench 上都被跳过,只因面板缺一个 sector 标签——而它本来就在成分股所在的那张表里。**新增:** Market Watch 的监控可在运行结束后把简报推送到 IM 频道,走持久化 outbox,重启不会丢、并发扫描不会重发([#942](https://github.com/HKUDS/Vibe-Trading/issues/942));**德语成为第 7 种界面语言**([#1117](https://github.com/HKUDS/Vibe-Trading/pull/1117));`run_dcf` 拒绝非有限输入,而不是返回一个看起来合理的负股价([#1121](https://github.com/HKUDS/Vibe-Trading/pull/1121),关闭 [#1120](https://github.com/HKUDS/Vibe-Trading/issues/1120));MCP 的 `get_market_data` 响应终于带上它自己 docstring 承诺的 `_provenance`([#1131](https://github.com/HKUDS/Vibe-Trading/pull/1131));导入失败的工具模块会被指名,而不是悄悄缩小注册表([#1129](https://github.com/HKUDS/Vibe-Trading/pull/1129),关闭 [#1124](https://github.com/HKUDS/Vibe-Trading/issues/1124));以及离线 USD-M 账户对账,在不建立任何连接的前提下比对本地风险状态与一次交易所观测([#1106](https://github.com/HKUDS/Vibe-Trading/pull/1106))。**另外:** 导入 `backtest.runner` 不再把 `.env` 载入进程——在任何存在 `agent/.env` 的机器上,这曾让本地全量测试根本不可信([#1123](https://github.com/HKUDS/Vibe-Trading/issues/1123))。感谢 [@Robin1987China](https://github.com/Robin1987China)、[@newgo](https://github.com/newgo)、[@er-s-an](https://github.com/er-s-an)、[@Shizoqua](https://github.com/Shizoqua)、[@1psconstructor](https://github.com/1psconstructor)、[@honginp](https://github.com/honginp)、[@cgycorey](https://github.com/cgycorey)、[@alinv0](https://github.com/alinv0) 和 [@jelech](https://github.com/jelech)!- **2026-08-17** 🔒 **测试套件不再写入你真实的配置根目录——包括实盘审计账本**:跑项目自己的测试套件会往 `~/.vibe-trading/live/audit.jsonl` 追加伪造的 `order_rejected` 记录,而这是一个只追加、哈希链式的账本,它的全部价值就在于条目无法被制造;Windows 上还会留下一个损坏的链文件。`conftest.py` 原本完全没有配置根沙箱,因此任何在导入时就固化 `Path.home() / ".vibe-trading"` 的模块,在**任何**平台上都会解析到真实主目录——Windows 更糟只是因为那里 `Path.home()` 读 `%USERPROFILE%` 而忽略 `$HOME`,使套件一直沿用的隔离写法形同虚设。现在主目录在收集测试前就被重定向,沙箱只保留一个旋钮以确保单测自身的隔离仍然优先,并在会话结束时断言真实账本逐字节未变,而不只是检查重定向已装上([#1118](https://github.com/HKUDS/Vibe-Trading/pull/1118),关闭 [#1116](https://github.com/HKUDS/Vibe-Trading/issues/1116))。此外:`xirr` 与 `money_weighted_return` 在超过约 51 年的跨度上会抛出 `ZeroDivisionError`,因为贴现因子下溢为零——而长期、不规则的现金流恰恰是 XIRR 存在的意义([#1119](https://github.com/HKUDS/Vibe-Trading/pull/1119));归档进活动运行的回测会与上一次的产物合并,导致一份报告可能描述两次不同的回测,而 `/runs/{id}` 还把残留文件列为本次运行的产物([#1094](https://github.com/HKUDS/Vibe-Trading/issues/1094))。感谢 [@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo) 和 [@pengpengyi92](https://github.com/pengpengyi92)!-- **2026-08-16** 🔧 **Anthropic 运行不再死在恢复路径上,symbol 搜索不再把空结果报成正常**:恢复路径中途追加的 `system` 消息会被 Anthropic API 拒绝、直接杀死运行,恢复引导现改为带内联 `<system>` 标签的用户消息([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112),关闭 [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109))。`search_symbol` 对 ticker+名称组合查询返回零候选却双源报 `ok`,导致身份无法锁定、所有数据工具被拒;Yahoo 路径现在把这类查询标记为 `skipped` 而非误导性的 `ok`([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114),关闭 [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108))。此外:`LANGCHAIN_REASONING_EFFORT` 现经模型白名单在 Anthropic 分支生效([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115));腾讯行情源用 certifi CA 包修复 `CERTIFICATE_VERIFY_FAILED`([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113));`revenue - cogs` 的 gross-profit fallback 不再是死代码([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111));swarm worker 改用共享截断助手,子代理始终能看到截断提示([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110))。感谢 [@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo)、[@x-lambda](https://github.com/x-lambda)、[@cgycorey](https://github.com/cgycorey) 和 [@Shizoqua](https://github.com/Shizoqua)!<details><summary>更早的新闻</summary>+- **2026-08-16** 🔧 **Anthropic 运行不再死在恢复路径上,symbol 搜索不再把空结果报成正常**:恢复路径中途追加的 `system` 消息会被 Anthropic API 拒绝、直接杀死运行,恢复引导现改为带内联 `<system>` 标签的用户消息([#1112](https://github.com/HKUDS/Vibe-Trading/pull/1112),关闭 [#1109](https://github.com/HKUDS/Vibe-Trading/issues/1109))。`search_symbol` 对 ticker+名称组合查询返回零候选却双源报 `ok`,导致身份无法锁定、所有数据工具被拒;Yahoo 路径现在把这类查询标记为 `skipped` 而非误导性的 `ok`([#1114](https://github.com/HKUDS/Vibe-Trading/pull/1114),关闭 [#1108](https://github.com/HKUDS/Vibe-Trading/issues/1108))。此外:`LANGCHAIN_REASONING_EFFORT` 现经模型白名单在 Anthropic 分支生效([#1115](https://github.com/HKUDS/Vibe-Trading/pull/1115));腾讯行情源用 certifi CA 包修复 `CERTIFICATE_VERIFY_FAILED`([#1113](https://github.com/HKUDS/Vibe-Trading/pull/1113));`revenue - cogs` 的 gross-profit fallback 不再是死代码([#1111](https://github.com/HKUDS/Vibe-Trading/pull/1111));swarm worker 改用共享截断助手,子代理始终能看到截断提示([#1110](https://github.com/HKUDS/Vibe-Trading/pull/1110))。感谢 [@lorenzozanee](https://github.com/lorenzozanee)、[@straun-repo](https://github.com/straun-repo)、[@x-lambda](https://github.com/x-lambda)、[@cgycorey](https://github.com/cgycorey) 和 [@Shizoqua](https://github.com/Shizoqua)!- **2026-08-15** 🛡️ **桌面更新更安全、Windows 打包更可靠,Run Detail 加入因子研究**:休眠 updater 边界现在会保留自有进程证据以便重试清理,以 TCP 监听而非 HTTP 健康检查判定端口是否仍存活,原子预留恢复日志,把 Authenticode 与哈希绑定到同一份暂存字节,并在启动前再次校验([#1101](https://github.com/HKUDS/Vibe-Trading/pull/1101))。Windows 打包现在自行完成有界、校验和验证的 Electron 下载,并通过 7-Zip 将固定版本的 GTK 资产仅作为归档解开,不再执行不稳定的旧安装器;原生 Windows CI 覆盖退出码、超时、runtime 组装、NSIS 与打包后启动([#1104](https://github.com/HKUDS/Vibe-Trading/pull/1104),关闭 [#1093](https://github.com/HKUDS/Vibe-Trading/issues/1093))。Run Detail 新增 IC 序列与统计、分位数组合净值和 IC 相关矩阵,并限制 artifact 遍历范围、保证 JSON 数值有限([#1099](https://github.com/HKUDS/Vibe-Trading/pull/1099),关闭 [#1100](https://github.com/HKUDS/Vibe-Trading/issues/1100));通用 hash lock 也已在 Linux、macOS ARM64 与 Windows 原生验证([#1102](https://github.com/HKUDS/Vibe-Trading/pull/1102),关闭 [#1089](https://github.com/HKUDS/Vibe-Trading/issues/1089))。感谢 [@QCYTSN](https://github.com/QCYTSN) 和 [@shadowinlife](https://github.com/shadowinlife)!- **2026-08-14** ⚙️ **一个设了等于没设的推理档位,以及本可恢复却停下的运行**:`LANGCHAIN_REASONING_EFFORT` 在几乎所有 provider 上都是静默无效的——只有直连 OpenAI 收得到,所以在 DeepSeek 上设 `high` 什么都不会改变,也没有任何地方告诉你。现在这个档位经由各适配器自己的字段抵达两条传输通道:默认走 Chat Completions,`LANGCHAIN_USE_RESPONSES_API=true` 时走 Responses API。收顶层 `reasoning_effort` 的 provider 是一份**经过验证的白名单**,而不是"凡是说 OpenAI 协议的都发"——严格校验请求体的端点会直接拒绝未知字段并让整个调用失败,所以猜错的代价是每一次请求,而不是一个不生效的设置([#1025](https://github.com/HKUDS/Vibe-Trading/pull/1025))。grounding 关卡也不再在确定性只读恢复仍然可用时就抛出"请确认后继续":未解析的标的现在会以自己的有界预算驱动 `search_symbol` → `get_market_data`,而不是耗尽整轮迭代后失败关闭([#1092](https://github.com/HKUDS/Vibe-Trading/pull/1092),关闭 [#1081](https://github.com/HKUDS/Vibe-Trading/issues/1081))。**新增:Options Lab** 页面——多腿到期损益图、现价 × 隐波情景矩阵、组合希腊字母与实时期权链,全部由既有的 payoff 工具与 `quantlib` 计算,没有第二套公式实现([#1096](https://github.com/HKUDS/Vibe-Trading/pull/1096));**回测 tearsheet** 标签页,含月度收益热力图、年度收益与前 N 大回撤区间([#1091](https://github.com/HKUDS/Vibe-Trading/pull/1091));**tickerall** 成为第 25 个行情源——托管的 MetaTrader 5 外汇/贵金属数据,任何操作系统都无需本地终端,且仅在显式指定时启用,因此券商密钥永远不会成为静默降级的目标,被截断的历史窗口会报错而不是悄悄返回一段短序列([#968](https://github.com/HKUDS/Vibe-Trading/pull/968),关闭 [#897](https://github.com/HKUDS/Vibe-Trading/issues/897));以及 **Novita AI** 与 **GitHub Copilot** 成为内置 provider([#1059](https://github.com/HKUDS/Vibe-Trading/pull/1059)、[#990](https://github.com/HKUDS/Vibe-Trading/pull/990))。eToro 新增按品种类型浏览资产类别,且复制跟单现在会带着明确理由拒绝模拟账户,而不是以晦涩的方式失败([#1070](https://github.com/HKUDS/Vibe-Trading/pull/1070))。感谢 [@cgycorey](https://github.com/cgycorey), [@Shizoqua](https://github.com/Shizoqua), [@shadowinlife](https://github.com/shadowinlife), [@miguelangelo78](https://github.com/miguelangelo78), [@jax-novita](https://github.com/jax-novita), [@sykuang](https://github.com/sykuang), 以及 [@ofeksh-tr](https://github.com/ofeksh-tr)。- **2026-08-13** 🎯 **回测报告呈现真正成交的持仓**:`positions.csv` 此前存的是优化器的**目标**权重,因此在整手取整、费用或订单被拦下的情况下,报告可能声称 80% 敞口而组合实际接近 20% —— 而同一批目标值还被喂给了投入权重指标与风险透视。成交实况现在写入 `positions.csv`,请求保留在 `target_positions.csv`([#1082](https://github.com/HKUDS/Vibe-Trading/pull/1082))。Run Detail 新增**研究 dashboard**,入口 `?view=dashboard`([#1084](https://github.com/HKUDS/Vibe-Trading/pull/1084));**西班牙语成为第六种界面语言**([#1087](https://github.com/HKUDS/Vibe-Trading/pull/1087))。另外:`get_research_reports` 此前对每个 A 股代码都返回 HTTP 400([#1077](https://github.com/HKUDS/Vibe-Trading/pull/1077));IBKR 报价区分请求的行情档位与实际生效的档位([#1075](https://github.com/HKUDS/Vibe-Trading/pull/1075));`.env.partial` 改为原子写入([#1086](https://github.com/HKUDS/Vibe-Trading/pull/1086));Docker workflow 把 action 钉到 commit 并以哈希锁安装消息通道 SDK([#1088](https://github.com/HKUDS/Vibe-Trading/pull/1088));grounding 门不再把支撑/阻力阶梯与历史高点当作已观测价格([#1060](https://github.com/HKUDS/Vibe-Trading/pull/1060))。感谢 [@AndyLongest](https://github.com/AndyLongest)、[@daviddaco1](https://github.com/daviddaco1)、[@zzz607](https://github.com/zzz607)、[@jay79-boop](https://github.com/jay79-boop)、[@lukiod](https://github.com/lukiod)、[@birdxs](https://github.com/birdxs) 与 [@wiliao](https://github.com/wiliao).