"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
docs: add September 29 news in seven languages
Haozhe Wu67271863da6f
diff --git a/README.md b/README.mdindex 992af603c..a51b90de7 100644--- a/README.md+++ b/README.md@@ -52,6 +52,8 @@> ⚠️ **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-09-29** 🛠️ **Long comparisons finish, and backtest reports keep their numbers**: Conversation compaction is now sized to the model's real context window (272K for GPT-6 on Codex, 1M for DeepSeek V4) instead of a fixed 40K estimate that began discarding tool results from the third step, so a 12-company comparison re-fetched the same filings until the no-progress stop. Failed runs keep their steps and the stop message names the tool and the reason; on Codex, mid-run instructions no longer replace the system prompt, reasoning is carried between turns, and the default model is `gpt-6-sol`. The figure check now reads a backtest's own output (Sortino, Calmar, turnover, weights, Monte Carlo p-values) and accepts a figure that names the run it came from, so a risk-parity vs equal-weight report is no longer replaced by a refusal. `get_market_data` asks for `AAPL.US` instead of returning empty data for a bare US ticker, and a mixed-market backtest falls back per market.+- **2026-09-28** 🛠️ **Source health and connector transparency**: scheduled public-source canaries report outages and data drift with bounded, credential-free probes ([#1627](https://github.com/HKUDS/Vibe-Trading/pull/1627)); BaoStock socket requests now have deadlines and serialize concurrent sessions ([#1615](https://github.com/HKUDS/Vibe-Trading/pull/1615)). Copilot credential lookups refresh after a short cache TTL ([#1619](https://github.com/HKUDS/Vibe-Trading/pull/1619)). A generated broker matrix preserves each profile’s paper/live permissions and labels declared capabilities separately from runtime verification ([#1629](https://github.com/HKUDS/Vibe-Trading/pull/1629)). **Grounding and MT5 follow-up:** explicit evidence symbols and exact field references are preserved; localized grouped figures retain the existing numeric tolerance ([#1584](https://github.com/HKUDS/Vibe-Trading/pull/1584), [#1586](https://github.com/HKUDS/Vibe-Trading/pull/1586), [#1588](https://github.com/HKUDS/Vibe-Trading/pull/1588)). Text-only correction attempts are bounded ([#1600](https://github.com/HKUDS/Vibe-Trading/pull/1600)). MT5 search uses the selected terminal and refuses ambiguous broker aliases; backtest sandboxes receive only validated attachment settings ([#1597](https://github.com/HKUDS/Vibe-Trading/pull/1597), [#1598](https://github.com/HKUDS/Vibe-Trading/pull/1598)).- **2026-09-27** 🛠️ **Verifiable run cards and safer research**: Run cards now show hashed backtest execution records and verified metric-to-CSV references in JSON, Markdown and Run Detail ([#1612](https://github.com/HKUDS/Vibe-Trading/pull/1612)). GTJA high/low recency factors use the correct day count and consistent tie handling ([#1604](https://github.com/HKUDS/Vibe-Trading/pull/1604)); India short covers check the buy-side circuit band ([#1608](https://github.com/HKUDS/Vibe-Trading/pull/1608)). Token usage remains readable without exempting arbitrary credential strings ([#1606](https://github.com/HKUDS/Vibe-Trading/pull/1606)), malformed MCP schemas retain their object properties ([#1607](https://github.com/HKUDS/Vibe-Trading/pull/1607)), and immediate-order goal checks preserve research questions ([#1605](https://github.com/HKUDS/Vibe-Trading/pull/1605)). Setup documentation now correctly identifies OpenRouter as the shipped default ([#1609](https://github.com/HKUDS/Vibe-Trading/issues/1609)).@@ -62,11 +64,11 @@- **2026-09-24** 💱 **A dollar line priced as pesos, Email and WebSocket in the Web UI, and a CI break from an SDK update**: BYMA and the TSX list US-dollar lines beside their home-currency ones (GGALD.BA, DLR-U.TO), and an Argentine or Canadian backtest priced them in its single peso or Canadian-dollar pool. The loaders now admit a line only in its market's currency, as LSE lines already were, and every other declared quote currency travels with the data, so an answer names the right one ([#1576](https://github.com/HKUDS/Vibe-Trading/pull/1576)). Hong Kong's RMB and USD counters (80700.HK, 9834.HK), which HKEX numbers in their own code ranges, are refused in a Hong Kong backtest for the same reason and quoted in their own currency. Stock profiles carry the listing's own venue and currency beside the issuer's fundamentals ([#1577](https://github.com/HKUDS/Vibe-Trading/pull/1577)), grounding and symbol search know every market the data layer routes ([#1575](https://github.com/HKUDS/Vibe-Trading/pull/1575)), and `technical_indicators` reports volume with the unit its source declares — board lots or shares, 100× apart ([#1571](https://github.com/HKUDS/Vibe-Trading/pull/1571)). Email and WebSocket join the guided channel setup, with mail-server certificates now verified and settings writes closed to cross-site pages, and a plain IMAP login is upgraded with STARTTLS before the password goes out ([#1544](https://github.com/HKUDS/Vibe-Trading/pull/1544)). **Fixed:** an explicit provider header lost to an ambient twin under openai 3.19.2, which had turned every PR's CI red ([#1568](https://github.com/HKUDS/Vibe-Trading/pull/1568)); a backtest from a microsecond-resolution source was dated 1970 ([#1560](https://github.com/HKUDS/Vibe-Trading/pull/1560)); a research goal that is plainly an order is refused again ([#1562](https://github.com/HKUDS/Vibe-Trading/pull/1562)); a strict-bench OOS split could leave one side empty ([#1559](https://github.com/HKUDS/Vibe-Trading/pull/1559)); HRP label alignment, cross-validation label order and non-finite quant inputs ([#1555](https://github.com/HKUDS/Vibe-Trading/pull/1555), [#1556](https://github.com/HKUDS/Vibe-Trading/pull/1556), [#1557](https://github.com/HKUDS/Vibe-Trading/pull/1557), [#1558](https://github.com/HKUDS/Vibe-Trading/pull/1558)); the shadow-account overtrading window ([#1563](https://github.com/HKUDS/Vibe-Trading/pull/1563)); and asset growth was read day over day ([#1564](https://github.com/HKUDS/Vibe-Trading/pull/1564)). Thanks [@Shizoqua](https://github.com/Shizoqua), [@zeus229](https://github.com/zeus229) and [@shadowinlife](https://github.com/shadowinlife)!-- **2026-09-23** 🇦🇷 **Argentine listings, a short book sized upside down, and the last half of the tail-risk gate**: `.BA` symbols — BYMA equities and CEDEARs — route to Yahoo as their own ARS market, and the Web UI groups and labels them like any other; an Argentine backtest still fails closed until BYMA execution rules are modelled ([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). The mean-variance and turnover-aware optimizers scored every position as if it were held long, so the strongest shorts got the least capital. Both now size on position returns, where a long and a short of two correlated names hedge each other instead of reading as correlated — on a +0.92 correlated pair the old objective put the whole book on the long, the new one splits it 0.51 / -0.49 ([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). And a tail-risk figure now has to name its own field once a session holds more than one measure or confidence level, so an ES 95% can no longer quote the VaR 95% value under a call id ([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **Fixed:** Monte-Carlo validation annualises at the venue's bars per year instead of a hardcoded 252, so its Sharpe agrees with the rest of the same report ([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)); a futures order on a negative-price bar is no longer rejected outright ([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)); a factor's IC ratio is left unset for a negative baseline instead of reading real decay as healthy improvement ([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)); and two memories sharing a title under different types keep their own index rows and link targets ([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). Thanks [@zeus229](https://github.com/zeus229), [@Shizoqua](https://github.com/Shizoqua) and [@he-yufeng](https://github.com/he-yufeng)!-<details><summary>Earlier news</summary>+- **2026-09-23** 🇦🇷 **Argentine listings, a short book sized upside down, and the last half of the tail-risk gate**: `.BA` symbols — BYMA equities and CEDEARs — route to Yahoo as their own ARS market, and the Web UI groups and labels them like any other; an Argentine backtest still fails closed until BYMA execution rules are modelled ([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). The mean-variance and turnover-aware optimizers scored every position as if it were held long, so the strongest shorts got the least capital. Both now size on position returns, where a long and a short of two correlated names hedge each other instead of reading as correlated — on a +0.92 correlated pair the old objective put the whole book on the long, the new one splits it 0.51 / -0.49 ([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). And a tail-risk figure now has to name its own field once a session holds more than one measure or confidence level, so an ES 95% can no longer quote the VaR 95% value under a call id ([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **Fixed:** Monte-Carlo validation annualises at the venue's bars per year instead of a hardcoded 252, so its Sharpe agrees with the rest of the same report ([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)); a futures order on a negative-price bar is no longer rejected outright ([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)); a factor's IC ratio is left unset for a negative baseline instead of reading real decay as healthy improvement ([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)); and two memories sharing a title under different types keep their own index rows and link targets ([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). Thanks [@zeus229](https://github.com/zeus229), [@Shizoqua](https://github.com/Shizoqua) and [@he-yufeng](https://github.com/he-yufeng)!+- **2026-09-22** 📅 **Weekly and monthly bars, and a compaction replay that could lose evidence**: `get_market_data` and backtests take `1W` and `1M` (rejected since 09-20 so `1M` would not fetch minute bars). Every source still serves daily bars and the period bar is built from them, dated on the last trading day of its week or month, so a 21-month review is one call of 21 bars ([#1479](https://github.com/HKUDS/Vibe-Trading/issues/1479)). A price index is stamped unadjusted instead of by what its source does to a stock ([#1541](https://github.com/HKUDS/Vibe-Trading/issues/1541)). A read-only tool result that context compaction removed is restored from the run's own memory instead of fetched again, capped per run, and a write empties that memory so a regenerated file is read afresh ([#1488](https://github.com/HKUDS/Vibe-Trading/pull/1488)). A tail-risk figure declared with a field ref is checked against that field, so a VaR 99% quoting the 95% value is caught ([#1444](https://github.com/HKUDS/Vibe-Trading/pull/1444)). QVeris refuses stock and ETF bars, whose adjustment its search-ranked pick cannot state, and quotes priced per result ([#1494](https://github.com/HKUDS/Vibe-Trading/issues/1494)). Thanks [@sambazhu](https://github.com/sambazhu), [@zeus229](https://github.com/zeus229), [@he-yufeng](https://github.com/he-yufeng), [@jw232](https://github.com/jw232) and [@cgycorey](https://github.com/cgycorey)!- **2026-09-22** 💸 **A backtest that died when funding pushed cash below zero, and three more tools that read a rejected query as no data**: a crypto funding debit can leave free cash below zero, and the next position the strategy wanted then found no size that fit, not even zero, so the run aborted with "planned order … exceeds available capital" (or "insufficient capital for position rebalance"). That open is now skipped and reported once as `insufficient_capital`, the bar's reductions still run, and a close whose loss exceeds its margin still aborts the bar as before ([#1542](https://github.com/HKUDS/Vibe-Trading/issues/1542)). Block trades, margin trading and financial statements now tell Eastmoney rejecting a stale query apart from a genuinely empty answer, through the same check shareholder count, dragon-tiger and lockup expiry use. Answers in Spanish, German and other decimal-comma locales now ground `17,93 %` or `1.410,00 CNY` against the tool results, while two unspaced numbers like `1400,1777` stay two numbers, and a figure has to match its evidence to the precision it is written at ([#1517](https://github.com/HKUDS/Vibe-Trading/pull/1517)). Thanks [@turtle696966969696](https://github.com/turtle696966969696) for a trace reconciled to the cent, and [@zeus229](https://github.com/zeus229)!diff --git a/README_ar.md b/README_ar.mdindex 18a4121a0..3f3816bdf 100644--- a/README_ar.md+++ b/README_ar.md@@ -52,6 +52,8 @@> ⚠️ **تحذير أمني:** حساب X باسم `VibeTrading_HKU`، ومشروع Virtuals رقم `101845`، وعقد التوكن `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` كلّها غير رسمية ولا تتبع Vibe-Trading. لم نُطلق أو نؤيد مطلقًا أي توكن أو عملة ميم. لا تشترِ هذا التوكن، ولا تربط محفظتك، ولا توقّع أي شيء. [التفاصيل](SECURITY.md#official-channels--impersonation).+- **2026-09-29** 🛠️ **المقارنات الطويلة تكتمل، وتقارير الاختبار الرجعي تحتفظ بأرقامها**: أصبح ضغط المحادثة يُحسب وفق نافذة السياق الفعلية للنموذج (272K لـ GPT-6 عبر Codex و1M لـ DeepSeek V4) بدلًا من تقدير ثابت قدره 40K كان يحذف نتائج الأدوات بدءًا من الخطوة الثالثة، فكانت مقارنة 12 شركة تعيد جلب القوائم المالية نفسها حتى التوقف بسبب عدم التقدم. تحتفظ عمليات التشغيل الفاشلة بخطواتها، وتذكر رسالة التوقف الأداة والسبب؛ وفي Codex لم تعد التعليمات المضافة أثناء التشغيل تستبدل موجّه النظام، ويُنقل الاستدلال بين الأدوار، والنموذج الافتراضي هو `gpt-6-sol`. يقرأ فحص الأرقام الآن مخرجات الاختبار الرجعي نفسه (Sortino وCalmar ومعدل الدوران والأوزان وقيم p لمونت كارلو) ويقبل الرقم الذي يسمّي التشغيل الذي جاء منه، فلم يعد تقرير مقارنة تكافؤ المخاطر بالأوزان المتساوية يُستبدل برسالة رفض. يطلب `get_market_data` الرمز `AAPL.US` بدلًا من إرجاع بيانات فارغة لرمز أمريكي بلا لاحقة، ويعود الاختبار الرجعي متعدد الأسواق إلى مصادر بديلة لكل سوق على حدة.+- **2026-09-28** 🛠️ **سلامة مصادر البيانات ووضوح قدرات الوسطاء**: فحوص دورية للمصادر العامة دون بيانات اعتماد وبمهلة محددة ترصد أعطال الاتصال والبيانات ([#1627](https://github.com/HKUDS/Vibe-Trading/pull/1627)). أضيفت مهل لاتصالات BaoStock وتسلسل للجلسات المتزامنة ([#1615](https://github.com/HKUDS/Vibe-Trading/pull/1615))، وتجدد استعلامات بيانات اعتماد Copilot بعد انتهاء تخزين مؤقت قصير ([#1619](https://github.com/HKUDS/Vibe-Trading/pull/1619)). تفصل مصفوفة الوسطاء المولدة صلاحيات التداول التجريبي والفعلي لكل ملف، وتميز القدرات المعلنة عن التحقق التشغيلي ([#1629](https://github.com/HKUDS/Vibe-Trading/pull/1629)). **تحسينات التحقق وMT5**: تُحفظ رموز الأدوات الصريحة ومراجع الحقول الدقيقة، مع إبقاء حدود التسامح الرقمي عند قراءة الفواصل المحلية ([#1584](https://github.com/HKUDS/Vibe-Trading/pull/1584)، [#1586](https://github.com/HKUDS/Vibe-Trading/pull/1586)، [#1588](https://github.com/HKUDS/Vibe-Trading/pull/1588)). محاولات التصحيح النصي محدودة ([#1600](https://github.com/HKUDS/Vibe-Trading/pull/1600)). يبحث MT5 عبر المنصة المحددة ويرفض الأسماء البديلة الملتبسة؛ وتتلقى بيئة الاختبار المعزولة إعدادات اتصال متحققة فقط ([#1597](https://github.com/HKUDS/Vibe-Trading/pull/1597)، [#1598](https://github.com/HKUDS/Vibe-Trading/pull/1598)).- **2026-09-27** 🛠️ **بطاقات تشغيل قابلة للتحقق وتحسينات للبحث**: تعرض JSON وMarkdown وصفحة تفاصيل التشغيل سجلات تنفيذ الاختبار التاريخي بصماتٍ مشفّرة ومراجع موثقة لمقاييس CSV ([#1612](https://github.com/HKUDS/Vibe-Trading/pull/1612)). صُحّح حساب الأيام وحالات التعادل في عوامل GTJA ([#1604](https://github.com/HKUDS/Vibe-Trading/pull/1604))، ويُفحص إغلاق المراكز القصيرة في الهند وفق حد السعر لجهة الشراء ([#1608](https://github.com/HKUDS/Vibe-Trading/pull/1608)). تبقى أعداد استخدام الرموز مقروءة دون السماح بسلاسل اعتماد عشوائية ([#1606](https://github.com/HKUDS/Vibe-Trading/pull/1606))، وتُستعاد خصائص مخططات MCP غير الصالحة ([#1607](https://github.com/HKUDS/Vibe-Trading/pull/1607)). يسمح فحص أهداف الأوامر الفورية بأسئلة البحث ([#1605](https://github.com/HKUDS/Vibe-Trading/pull/1605))، وتوضح الوثائق أن OpenRouter هو الإعداد الافتراضي ([#1609](https://github.com/HKUDS/Vibe-Trading/issues/1609)).@@ -62,11 +64,11 @@- **2026-09-24** 💱 **أوراق مسعّرة بالدولار حُسبت بالبيزو، وEmail وWebSocket في واجهة الويب، وعطل في CI سببه تحديث SDK**: تُدرج BYMA وبورصة تورنتو أوراقًا مسعّرة بالدولار الأمريكي إلى جانب أوراقها بالعملة المحلية (GGALD.BA وDLR-U.TO)، وكان الاختبار الرجعي الأرجنتيني أو الكندي يسعّرها في مجمّعه الوحيد بالبيزو أو بالدولار الكندي. صارت أدوات التحميل تقبل الورقة فقط إذا كانت مسعّرة بعملة سوقها، كما هو الحال مع أوراق LSE، وتنتقل عملة التسعير المعلنة لغيرها مع البيانات فيذكر الجواب العملة الصحيحة ([#1576](https://github.com/HKUDS/Vibe-Trading/pull/1576)). كما تُرفض في الاختبار الرجعي لهونغ كونغ، للسبب نفسه، الخطوط المتداولة باليوان والدولار (80700.HK و9834.HK) التي ترقّمها HKEX في نطاقات رموز خاصة بها، وتُعرض بعملتها. ملفات الأسهم تحمل بورصة الإدراج وعملته إلى جانب البيانات الأساسية للمُصدر ([#1577](https://github.com/HKUDS/Vibe-Trading/pull/1577))، ويعرف التحقق من الأرقام والبحث عن الرموز كل سوق تدعمه طبقة البيانات ([#1575](https://github.com/HKUDS/Vibe-Trading/pull/1575))، وتعيد `technical_indicators` حجم التداول مع الوحدة التي يعلنها المصدر — لوت أو سهم، والفرق 100 ضعف ([#1571](https://github.com/HKUDS/Vibe-Trading/pull/1571)). وينضم Email وWebSocket إلى الإعداد الموجَّه للقنوات، مع التحقق من شهادات خادم البريد ورفض كتابة الإعدادات من صفحات عابرة للمواقع، وترقية تسجيل دخول IMAP غير المشفّر عبر STARTTLS قبل إرسال كلمة المرور ([#1544](https://github.com/HKUDS/Vibe-Trading/pull/1544)). **إصلاحات:** ترويسة المزوّد الصريحة كانت تُستبدل بترويسة بيئية بالاسم نفسه في openai 3.19.2، ما جعل CI يفشل لكل PR ([#1568](https://github.com/HKUDS/Vibe-Trading/pull/1568))؛ واختبار رجعي من مصدر بدقة الميكروثانية كان مؤرخًا بعام 1970 ([#1560](https://github.com/HKUDS/Vibe-Trading/pull/1560))؛ وهدف بحثي هو أمر تداول صريح يُرفض مجددًا ([#1562](https://github.com/HKUDS/Vibe-Trading/pull/1562))؛ وتقسيم OOS في strict bench كان قد يترك أحد الجانبين فارغًا ([#1559](https://github.com/HKUDS/Vibe-Trading/pull/1559))؛ ومحاذاة تسميات HRP وترتيب تسميات التحقق المتقاطع والمدخلات غير المنتهية ([#1555](https://github.com/HKUDS/Vibe-Trading/pull/1555) و[#1556](https://github.com/HKUDS/Vibe-Trading/pull/1556) و[#1557](https://github.com/HKUDS/Vibe-Trading/pull/1557) و[#1558](https://github.com/HKUDS/Vibe-Trading/pull/1558))؛ ونافذة الإفراط في التداول في الحساب الظلي ([#1563](https://github.com/HKUDS/Vibe-Trading/pull/1563))؛ ونمو الأصول الذي كان يُحسب يومًا بيوم ([#1564](https://github.com/HKUDS/Vibe-Trading/pull/1564)). شكرًا [@Shizoqua](https://github.com/Shizoqua) و[@zeus229](https://github.com/zeus229) و[@shadowinlife](https://github.com/shadowinlife)!-- **2026-09-23** 🇦🇷 **أسهم أرجنتينية، ومحفظة بيع على المكشوف كان حجمها مقلوبًا، والنصف الأخير من بوابة مخاطر الذيل**: رموز `.BA` (أسهم BYMA وشهادات CEDEAR) تُوجَّه إلى Yahoo كسوق بعملة ARS خاصة بها، وواجهة الويب تجمعها وتسمّيها مثل أي سوق آخر؛ ويظل الاختبار الرجعي للأرجنتين يفشل صراحةً حتى تُنمذَج قواعد التنفيذ في BYMA ([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). كان مُحسِّنا المتوسط-التباين ومراعاة الدوران يقيّمان كل مركز كأنه شراء، فحصلت أقوى مراكز البيع على أقل رأس مال. الاثنان الآن يحدّدان الحجم على عوائد المركز، حيث يتحوّط شراء وبيع لورقتين مترابطتين بدل أن يُقرآ كمترابطتين — على زوج بترابط +0.92 كان الهدف القديم يضع المحفظة كلها في الشراء، والجديد يقسمها 0.51 / -0.49 ([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). وصار رقم مخاطر الذيل مُلزَمًا بتسمية حقله بعد أن تحتفظ الجلسة بأكثر من مقياس أو مستوى ثقة، فلا يمكن لـ ES 95% أن يقتبس قيمة VaR 95% تحت معرّف نداء ([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **إصلاحات:** تحقّق مونت كارلو يحوّل إلى أساس سنوي بعدد أشرطة المنصة لا بالرقم الثابت 252، فيتوافق شارب مع بقية التقرير نفسه ([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)); أمر العقود المستقبلية على شريط بسعر سالب لم يعد يُرفض كليًا ([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)); ونسبة IC للعامل تُترك غير محددة عندما يكون الأساس سالبًا بدل قراءة التدهور الحقيقي كتحسّن سليم ([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)); وذاكرتان تتشاركان العنوان تحت نوعين مختلفين تحتفظان بسطري فهرس ووصلات مستقلة ([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). شكرًا [@zeus229](https://github.com/zeus229) و[@Shizoqua](https://github.com/Shizoqua) و[@he-yufeng](https://github.com/he-yufeng)!-<details><summary>أخبار سابقة</summary>+- **2026-09-23** 🇦🇷 **أسهم أرجنتينية، ومحفظة بيع على المكشوف كان حجمها مقلوبًا، والنصف الأخير من بوابة مخاطر الذيل**: رموز `.BA` (أسهم BYMA وشهادات CEDEAR) تُوجَّه إلى Yahoo كسوق بعملة ARS خاصة بها، وواجهة الويب تجمعها وتسمّيها مثل أي سوق آخر؛ ويظل الاختبار الرجعي للأرجنتين يفشل صراحةً حتى تُنمذَج قواعد التنفيذ في BYMA ([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). كان مُحسِّنا المتوسط-التباين ومراعاة الدوران يقيّمان كل مركز كأنه شراء، فحصلت أقوى مراكز البيع على أقل رأس مال. الاثنان الآن يحدّدان الحجم على عوائد المركز، حيث يتحوّط شراء وبيع لورقتين مترابطتين بدل أن يُقرآ كمترابطتين — على زوج بترابط +0.92 كان الهدف القديم يضع المحفظة كلها في الشراء، والجديد يقسمها 0.51 / -0.49 ([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). وصار رقم مخاطر الذيل مُلزَمًا بتسمية حقله بعد أن تحتفظ الجلسة بأكثر من مقياس أو مستوى ثقة، فلا يمكن لـ ES 95% أن يقتبس قيمة VaR 95% تحت معرّف نداء ([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **إصلاحات:** تحقّق مونت كارلو يحوّل إلى أساس سنوي بعدد أشرطة المنصة لا بالرقم الثابت 252، فيتوافق شارب مع بقية التقرير نفسه ([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)); أمر العقود المستقبلية على شريط بسعر سالب لم يعد يُرفض كليًا ([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)); ونسبة IC للعامل تُترك غير محددة عندما يكون الأساس سالبًا بدل قراءة التدهور الحقيقي كتحسّن سليم ([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)); وذاكرتان تتشاركان العنوان تحت نوعين مختلفين تحتفظان بسطري فهرس ووصلات مستقلة ([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). شكرًا [@zeus229](https://github.com/zeus229) و[@Shizoqua](https://github.com/Shizoqua) و[@he-yufeng](https://github.com/he-yufeng)!+- **2026-09-22** 📅 **أشرطة أسبوعية وشهرية، وإعادة تشغيل كانت قد تُفقد الأدلة بعد ضغط السياق**: يقبل `get_market_data` والاختبار الرجعي الآن `1W` و`1M` (كان `1M` مرفوضًا منذ 09-20 حتى لا يُجلب كأشرطة دقيقة واحدة). لا تزال كل المصادر تقدّم أشرطة يومية، ومنها يُبنى شريط الأسبوع أو الشهر مؤرَّخًا بآخر يوم تداول فيه، فصارت مراجعة شهرية لـ21 شهرًا استدعاءً واحدًا يعيد 21 شريطًا ([#1479](https://github.com/HKUDS/Vibe-Trading/issues/1479)). صار المؤشر السعري يُوسَم غير معدَّل بدل وسمه بما يفعله مصدره بالسهم ([#1541](https://github.com/HKUDS/Vibe-Trading/issues/1541)). نتيجة أداة القراءة التي حذفها ضغط السياق تُستعاد من ذاكرة التشغيل نفسه بدل جلبها من جديد، بسقف لكل تشغيل، وأي عملية كتابة تُفرغ هذه الذاكرة فيُقرأ الملف المُعاد توليده من جديد ([#1488](https://github.com/HKUDS/Vibe-Trading/pull/1488)). رقم مخاطر الذيل المُعلن بمرجع حقل يُطابَق مع ذلك الحقل، فيُكشف VaR 99% الذي ينقل قيمة 95% ([#1444](https://github.com/HKUDS/Vibe-Trading/pull/1444)). يرفض QVeris أشرطة الأسهم وصناديق ETF، إذ لا يستطيع المصدر الذي يختاره بترتيب البحث أن يحدد تعديلها، كما يرفض التسعير لكل نتيجة ([#1494](https://github.com/HKUDS/Vibe-Trading/issues/1494)). شكرًا لـ [@sambazhu](https://github.com/sambazhu), [@zeus229](https://github.com/zeus229), [@he-yufeng](https://github.com/he-yufeng), [@jw232](https://github.com/jw232) and [@cgycorey](https://github.com/cgycorey)!- **2026-09-22** 💸 **اختبار رجعي كان يتوقف حين تدفع رسوم التمويل النقد تحت الصفر، وثلاث أدوات أخرى كانت تقرأ الاستعلام المرفوض على أنه لا بيانات**: قد تخصم رسوم تمويل العملات المشفرة النقدَ المتاح إلى ما دون الصفر، وعندها لا يتسع أي حجم للمركز التالي الذي تريده الاستراتيجية — ولا حتى الصفر — فيتوقف التشغيل برسالة "planned order … exceeds available capital" (أو "insufficient capital for position rebalance"). صار ذلك الفتح يُتخطّى ويُسجَّل مرة واحدة بوصفه `insufficient_capital`، وتُنفَّذ تخفيضات الشمعة نفسها، ويظل الإغلاق الذي تتجاوز خسارته هامشه يُلغي الشمعة كما كان ([#1542](https://github.com/HKUDS/Vibe-Trading/issues/1542)). وصارت صفقات الكتل والتداول بالهامش والقوائم المالية تميّز رفض Eastmoney لاستعلام قديم عن جواب فارغ فعلًا، بالفحص نفسه الذي تستخدمه أدوات عدد المساهمين وقائمة التنين والنمر وفك الحظر. وصارت الإجابات بالإسبانية والألمانية وسائر اللغات التي تكتب الكسر العشري بفاصلة تُطابق `17,93 %` أو `1.410,00 CNY` مع نتائج الأدوات، بينما يبقى رقمان بلا مسافة مثل `1400,1777` رقمين، ويجب أن يطابق الرقم دليله بالدقة التي كُتب بها ([#1517](https://github.com/HKUDS/Vibe-Trading/pull/1517)). شكرًا لـ [@turtle696966969696](https://github.com/turtle696966969696) على إعادة إنتاج مطابقة حتى السنت، ولـ [@zeus229](https://github.com/zeus229)!diff --git a/README_es.md b/README_es.mdindex cb9ce2357..d8815abc3 100644--- a/README_es.md+++ b/README_es.md@@ -52,6 +52,8 @@> ⚠️ **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-09-29** 🛠️ **Las comparaciones largas terminan y los informes de backtest conservan sus cifras**: La compactación de la conversación se ajusta ahora a la ventana de contexto real del modelo (272K para GPT-6 en Codex, 1M para DeepSeek V4) en lugar de una estimación fija de 40K que empezaba a descartar resultados de herramientas desde el tercer paso, de modo que una comparación de 12 empresas volvía a descargar los mismos estados financieros hasta detenerse por falta de progreso. Las ejecuciones fallidas conservan sus pasos y el mensaje de parada indica la herramienta y el motivo; en Codex, las instrucciones añadidas a mitad de la ejecución ya no sustituyen el prompt del sistema, el razonamiento se conserva entre turnos y el modelo predeterminado es `gpt-6-sol`. La verificación de cifras lee ahora la salida del propio backtest (Sortino, Calmar, rotación, pesos, p-valores de Monte Carlo) y acepta una cifra que nombra la ejecución de la que procede, así que un informe de paridad de riesgo frente a pesos iguales ya no se sustituye por un rechazo. `get_market_data` pide `AAPL.US` en lugar de devolver datos vacíos para un ticker estadounidense sin sufijo, y un backtest multimercado recurre a fuentes alternativas por mercado.+- **2026-09-28** 🛠️ **Estado de fuentes y capacidades de brókeres**: las sondas periódicas de fuentes públicas, sin credenciales y con tiempo limitado, notifican fallos y anomalías de datos ([#1627](https://github.com/HKUDS/Vibe-Trading/pull/1627)). BaoStock incorpora plazos de comunicación y serializa sesiones concurrentes ([#1615](https://github.com/HKUDS/Vibe-Trading/pull/1615)); las consultas de credenciales de Copilot se renuevan tras una caché breve ([#1619](https://github.com/HKUDS/Vibe-Trading/pull/1619)). La matriz generada separa permisos de simulación y operaciones reales por perfil, sin confundir declaraciones con verificación práctica ([#1629](https://github.com/HKUDS/Vibe-Trading/pull/1629)). **Mejoras de verificación y MT5**: se conservan los símbolos explícitos y las referencias exactas a campos; los números con separadores locales mantienen la tolerancia existente ([#1584](https://github.com/HKUDS/Vibe-Trading/pull/1584), [#1586](https://github.com/HKUDS/Vibe-Trading/pull/1586), [#1588](https://github.com/HKUDS/Vibe-Trading/pull/1588)). Las correcciones de solo texto tienen un límite de intentos ([#1600](https://github.com/HKUDS/Vibe-Trading/pull/1600)). MT5 busca en el terminal seleccionado y rechaza alias ambiguos; el entorno aislado del backtest solo recibe ajustes de conexión validados ([#1597](https://github.com/HKUDS/Vibe-Trading/pull/1597), [#1598](https://github.com/HKUDS/Vibe-Trading/pull/1598)).- **2026-09-27** 🛠️ **Tarjetas verificables y mejoras en el análisis**: JSON, Markdown y Run Detail muestran registros hash de ejecución del backtest y referencias verificadas a métricas CSV ([#1612](https://github.com/HKUDS/Vibe-Trading/pull/1612)). Se corrigen el recuento de días y los empates en factores GTJA ([#1604](https://github.com/HKUDS/Vibe-Trading/pull/1604)), y el cierre de cortos en India comprueba el límite de precio del lado comprador ([#1608](https://github.com/HKUDS/Vibe-Trading/pull/1608)). El uso de tokens sigue visible sin permitir cadenas de credenciales arbitrarias ([#1606](https://github.com/HKUDS/Vibe-Trading/pull/1606)); se recuperan las propiedades de esquemas MCP malformados ([#1607](https://github.com/HKUDS/Vibe-Trading/pull/1607)). El filtro de órdenes inmediatas permite preguntas de análisis ([#1605](https://github.com/HKUDS/Vibe-Trading/pull/1605)), y la documentación identifica OpenRouter como configuración predeterminada ([#1609](https://github.com/HKUDS/Vibe-Trading/issues/1609)).@@ -62,11 +64,11 @@- **2026-09-24** 💱 **Una línea en dólares valuada en pesos, Email y WebSocket en la Web UI, y una rotura de CI por una actualización del SDK**: BYMA y la TSX listan líneas en dólares junto a las de su moneda local (GGALD.BA, DLR-U.TO), y un backtest argentino o canadiense las valuaba en su único pool en pesos o en dólares canadienses. Los loaders ahora admiten una línea solo en la moneda de su mercado, como ya ocurría con las líneas de la LSE, y cualquier otra moneda de cotización declarada viaja con los datos, de modo que la respuesta nombra la correcta ([#1576](https://github.com/HKUDS/Vibe-Trading/pull/1576)). Las líneas de Hong Kong en renminbi y en dólares (80700.HK, 9834.HK), que HKEX numera en sus propios rangos de códigos, se rechazan en un backtest de Hong Kong por la misma razón y se cotizan en su propia moneda. Los perfiles de acciones incluyen el mercado y la moneda del propio listado junto a los fundamentales del emisor ([#1577](https://github.com/HKUDS/Vibe-Trading/pull/1577)), el grounding y la búsqueda de símbolos conocen todos los mercados que enruta la capa de datos ([#1575](https://github.com/HKUDS/Vibe-Trading/pull/1575)) y `technical_indicators` informa el volumen con la unidad que declara su fuente — lotes o acciones, a 100× de distancia ([#1571](https://github.com/HKUDS/Vibe-Trading/pull/1571)). Email y WebSocket se suman a la configuración guiada de canales, con verificación de certificados del servidor de correo y escrituras de configuración cerradas a páginas de otros sitios, y un inicio de sesión IMAP sin SSL que ahora se cifra con STARTTLS antes de enviar la contraseña ([#1544](https://github.com/HKUDS/Vibe-Trading/pull/1544)). **Corregido:** una cabecera explícita del proveedor que perdía frente a su gemela del entorno con openai 3.19.2 y había puesto en rojo el CI de todos los PR ([#1568](https://github.com/HKUDS/Vibe-Trading/pull/1568)); un backtest de una fuente con resolución de microsegundos fechado en 1970 ([#1560](https://github.com/HKUDS/Vibe-Trading/pull/1560)); un objetivo de investigación que es claramente una orden vuelve a rechazarse ([#1562](https://github.com/HKUDS/Vibe-Trading/pull/1562)); una división OOS del strict bench que podía dejar un lado vacío ([#1559](https://github.com/HKUDS/Vibe-Trading/pull/1559)); alineación de etiquetas en HRP, orden de etiquetas en la validación cruzada y entradas no finitas ([#1555](https://github.com/HKUDS/Vibe-Trading/pull/1555), [#1556](https://github.com/HKUDS/Vibe-Trading/pull/1556), [#1557](https://github.com/HKUDS/Vibe-Trading/pull/1557), [#1558](https://github.com/HKUDS/Vibe-Trading/pull/1558)); la ventana de sobreoperación de la cuenta sombra ([#1563](https://github.com/HKUDS/Vibe-Trading/pull/1563)); y el crecimiento de activos, que se medía día contra día ([#1564](https://github.com/HKUDS/Vibe-Trading/pull/1564)). ¡Gracias [@Shizoqua](https://github.com/Shizoqua), [@zeus229](https://github.com/zeus229) y [@shadowinlife](https://github.com/shadowinlife)!-- **2026-09-23** 🇦🇷 **Cotizaciones argentinas, un libro de cortos dimensionado al revés y la última mitad de la puerta de riesgo de cola**: los símbolos `.BA` —acciones de BYMA y CEDEARs— se enrutan a Yahoo como mercado propio en ARS, y la interfaz web los agrupa y etiqueta como a cualquier otro; un backtest argentino sigue fallando de forma explícita hasta que se modelen las reglas de ejecución de BYMA ([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). Los optimizadores de media-varianza y de rotación puntuaban cada posición como si fuera larga, así que los mejores cortos recibían el menor capital. Ahora ambos dimensionan sobre retornos de la posición, donde un largo y un corto de dos nombres correlacionados se cubren entre sí en vez de leerse como correlacionados: en un par con correlación +0,92 el objetivo anterior ponía todo el libro en el largo y el nuevo lo reparte 0,51 / -0,49 ([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). Y una cifra de riesgo de cola debe nombrar su propio campo en cuanto una sesión contiene más de una medida o nivel de confianza, de modo que un ES 95% ya no puede citar el valor del VaR 95% bajo el id de una llamada ([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **Corregido:** la validación Monte Carlo anualiza con las barras por año del mercado en lugar de un 252 fijo, así su Sharpe concuerda con el resto del mismo informe ([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)); una orden de futuros en una barra de precio negativo ya no se rechaza sin más ([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)); el IC ratio de un factor queda sin definir cuando la línea base es negativa, en vez de leer un deterioro real como mejora ([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)); y dos memorias que comparten título bajo tipos distintos conservan sus propias filas de índice y enlaces ([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). ¡Gracias [@zeus229](https://github.com/zeus229), [@Shizoqua](https://github.com/Shizoqua) y [@he-yufeng](https://github.com/he-yufeng)!-<details><summary>Noticias anteriores</summary>+- **2026-09-23** 🇦🇷 **Cotizaciones argentinas, un libro de cortos dimensionado al revés y la última mitad de la puerta de riesgo de cola**: los símbolos `.BA` —acciones de BYMA y CEDEARs— se enrutan a Yahoo como mercado propio en ARS, y la interfaz web los agrupa y etiqueta como a cualquier otro; un backtest argentino sigue fallando de forma explícita hasta que se modelen las reglas de ejecución de BYMA ([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). Los optimizadores de media-varianza y de rotación puntuaban cada posición como si fuera larga, así que los mejores cortos recibían el menor capital. Ahora ambos dimensionan sobre retornos de la posición, donde un largo y un corto de dos nombres correlacionados se cubren entre sí en vez de leerse como correlacionados: en un par con correlación +0,92 el objetivo anterior ponía todo el libro en el largo y el nuevo lo reparte 0,51 / -0,49 ([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). Y una cifra de riesgo de cola debe nombrar su propio campo en cuanto una sesión contiene más de una medida o nivel de confianza, de modo que un ES 95% ya no puede citar el valor del VaR 95% bajo el id de una llamada ([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **Corregido:** la validación Monte Carlo anualiza con las barras por año del mercado en lugar de un 252 fijo, así su Sharpe concuerda con el resto del mismo informe ([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)); una orden de futuros en una barra de precio negativo ya no se rechaza sin más ([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)); el IC ratio de un factor queda sin definir cuando la línea base es negativa, en vez de leer un deterioro real como mejora ([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)); y dos memorias que comparten título bajo tipos distintos conservan sus propias filas de índice y enlaces ([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). ¡Gracias [@zeus229](https://github.com/zeus229), [@Shizoqua](https://github.com/Shizoqua) y [@he-yufeng](https://github.com/he-yufeng)!+- **2026-09-22** 📅 **Barras semanales y mensuales, y una reproducción tras la compactación que podía perder evidencia**: `get_market_data` y los backtests aceptan `1W` y `1M` (rechazado desde el 09-20 para que `1M` no trajera barras de un minuto). Todas las fuentes siguen sirviendo barras diarias y la barra del periodo se construye a partir de ellas, fechada en el último día hábil de su semana o mes, así que una revisión mensual de 21 meses es una llamada de 21 barras ([#1479](https://github.com/HKUDS/Vibe-Trading/issues/1479)). Un índice de precios se marca sin ajustar en lugar de por lo que su fuente hace con una acción ([#1541](https://github.com/HKUDS/Vibe-Trading/issues/1541)). El resultado de una herramienta de solo lectura que la compactación del contexto eliminó se restaura desde la memoria de la propia ejecución en lugar de volver a descargarse, con un tope por ejecución, y una escritura vacía esa memoria para que un archivo regenerado se lea de nuevo ([#1488](https://github.com/HKUDS/Vibe-Trading/pull/1488)). Una cifra de riesgo de cola declarada con una ref de campo se contrasta con ese campo, así que un VaR 99% que cita el valor al 95% se detecta ([#1444](https://github.com/HKUDS/Vibe-Trading/pull/1444)). QVeris rechaza barras de acciones y ETF, cuyo ajuste no puede indicar la fuente que elige por ranking de búsqueda, y las cotizaciones por resultado ([#1494](https://github.com/HKUDS/Vibe-Trading/issues/1494)). ¡Gracias [@sambazhu](https://github.com/sambazhu), [@zeus229](https://github.com/zeus229), [@he-yufeng](https://github.com/he-yufeng), [@jw232](https://github.com/jw232) and [@cgycorey](https://github.com/cgycorey)!- **2026-09-22** 💸 **Un backtest que se detenía cuando el funding dejaba la caja en negativo, y tres herramientas más que leían una consulta rechazada como falta de datos**: un cargo de funding cripto puede dejar la caja disponible por debajo de cero, y entonces la siguiente posición que quería la estrategia no cabía con ningún tamaño —ni siquiera con cero—, así que la ejecución abortaba con "planned order … exceeds available capital" (o "insufficient capital for position rebalance"). Ahora esa apertura se omite y se reporta una sola vez como `insufficient_capital`, las reducciones de la barra se ejecutan igual, y un cierre cuya pérdida supera su margen sigue abortando la barra como antes ([#1542](https://github.com/HKUDS/Vibe-Trading/issues/1542)). Operaciones en bloque, trading con margen y estados financieros ya distinguen que Eastmoney rechace una consulta obsoleta de una respuesta realmente vacía, con la misma comprobación que usan número de accionistas, dragon-tiger y desbloqueos. Las respuestas en español, alemán y otros idiomas con coma decimal ya contrastan `17,93 %` o `1.410,00 CNY` con los resultados de las herramientas, mientras dos números sin espacio como `1400,1777` siguen siendo dos, y una cifra debe coincidir con su evidencia a la precisión con que se escribe ([#1517](https://github.com/HKUDS/Vibe-Trading/pull/1517)). ¡Gracias [@turtle696966969696](https://github.com/turtle696966969696) por una traza cuadrada al céntimo, y a [@zeus229](https://github.com/zeus229)!diff --git a/README_id.md b/README_id.mdindex 7df8027e6..49b4a5768 100644--- a/README_id.md+++ b/README_id.md@@ -53,6 +53,8 @@> ⚠️ **Peringatan keamanan:** Akun X `VibeTrading_HKU`, proyek Virtuals `101845`, dan kontrak token `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` bukan aset resmi Vibe-Trading. Kami tidak pernah meluncurkan atau mendukung token maupun memecoin apa pun. Jangan membeli, menghubungkan wallet, atau menandatangani apa pun. [Detail](SECURITY.md#official-channels--impersonation).+- **2026-09-29** 🛠️ **Perbandingan panjang selesai, dan laporan backtest mempertahankan angkanya**: Pemadatan percakapan kini disesuaikan dengan jendela konteks model yang sebenarnya (272K untuk GPT-6 di Codex, 1M untuk DeepSeek V4), bukan estimasi tetap 40K yang mulai membuang hasil alat sejak langkah ketiga sehingga perbandingan 12 perusahaan mengambil ulang laporan keuangan yang sama sampai berhenti karena tidak ada kemajuan. Eksekusi yang gagal tetap menyimpan langkahnya dan pesan penghentian menyebutkan alat serta alasannya; di Codex, instruksi yang ditambahkan di tengah eksekusi tidak lagi menggantikan prompt sistem, penalaran dibawa antar giliran, dan model bawaan adalah `gpt-6-sol`. Pemeriksaan angka kini membaca keluaran backtest itu sendiri (Sortino, Calmar, perputaran, bobot, nilai p Monte Carlo) dan menerima angka yang menyebut eksekusi asalnya, sehingga laporan risk parity versus bobot setara tidak lagi diganti dengan penolakan. `get_market_data` meminta `AAPL.US` alih-alih mengembalikan data kosong untuk ticker AS tanpa sufiks, dan backtest multi-pasar beralih ke sumber cadangan per pasar.+- **2026-09-28** 🛠️ **Kesehatan sumber data dan transparansi broker**: pemeriksaan berkala sumber publik tanpa kredensial dan dengan batas waktu melaporkan gangguan koneksi serta anomali data ([#1627](https://github.com/HKUDS/Vibe-Trading/pull/1627)). BaoStock menambahkan tenggat komunikasi dan mengurutkan sesi bersamaan ([#1615](https://github.com/HKUDS/Vibe-Trading/pull/1615)); pencarian kredensial Copilot diperbarui setelah cache singkat berakhir ([#1619](https://github.com/HKUDS/Vibe-Trading/pull/1619)). Matriks broker yang dihasilkan otomatis memisahkan izin simulasi dan perdagangan riil per profil, serta membedakan kemampuan yang dideklarasikan dari verifikasi runtime ([#1629](https://github.com/HKUDS/Vibe-Trading/pull/1629)). **Perbaikan verifikasi dan MT5**: simbol eksplisit dan referensi bidang yang tepat dipertahankan; pemisah angka lokal tetap menggunakan toleransi numerik yang ada ([#1584](https://github.com/HKUDS/Vibe-Trading/pull/1584), [#1586](https://github.com/HKUDS/Vibe-Trading/pull/1586), [#1588](https://github.com/HKUDS/Vibe-Trading/pull/1588)). Percobaan koreksi khusus teks dibatasi ([#1600](https://github.com/HKUDS/Vibe-Trading/pull/1600)). MT5 mencari melalui terminal terpilih dan menolak alias broker yang ambigu; sandbox backtest hanya menerima pengaturan koneksi yang tervalidasi ([#1597](https://github.com/HKUDS/Vibe-Trading/pull/1597), [#1598](https://github.com/HKUDS/Vibe-Trading/pull/1598)).- **2026-09-27** 🛠️ **Kartu eksekusi yang dapat diverifikasi dan perbaikan riset**: JSON, Markdown, dan Run Detail menampilkan catatan hash eksekusi backtest serta referensi metrik CSV yang terverifikasi ([#1612](https://github.com/HKUDS/Vibe-Trading/pull/1612)). Hitungan hari dan nilai ekstrem seri pada faktor GTJA diperbaiki ([#1604](https://github.com/HKUDS/Vibe-Trading/pull/1604)); penutupan posisi short India memeriksa batas harga sisi beli ([#1608](https://github.com/HKUDS/Vibe-Trading/pull/1608)). Penggunaan token tetap terbaca tanpa meloloskan string kredensial sembarang ([#1606](https://github.com/HKUDS/Vibe-Trading/pull/1606)), properti skema MCP yang rusak dipulihkan ([#1607](https://github.com/HKUDS/Vibe-Trading/pull/1607)), dan pemeriksaan tujuan pesanan langsung tetap mengizinkan pertanyaan riset ([#1605](https://github.com/HKUDS/Vibe-Trading/pull/1605)). Dokumentasi kini menyatakan OpenRouter sebagai pengaturan bawaan ([#1609](https://github.com/HKUDS/Vibe-Trading/issues/1609)).@@ -63,11 +65,11 @@- **2026-09-24** 💱 **Saham berdenominasi dolar yang dihitung dalam peso, Email dan WebSocket di Web UI, dan CI yang rusak karena pembaruan SDK**: BYMA dan TSX mencatatkan saham berdenominasi dolar AS di samping saham bermata uang lokal (GGALD.BA, DLR-U.TO), dan backtest Argentina atau Kanada menilainya dalam satu-satunya pool peso atau dolar Kanada. Loader kini hanya menerima saham yang dikutip dalam mata uang pasarnya, seperti yang sudah berlaku untuk saham LSE, dan mata uang kuotasi lain yang dideklarasikan sumber ikut terbawa bersama data sehingga jawaban menyebut mata uang yang benar ([#1576](https://github.com/HKUDS/Vibe-Trading/pull/1576)). Counter RMB dan USD Hong Kong (80700.HK, 9834.HK), yang diberi nomor HKEX dalam rentang kodenya sendiri, ditolak dalam backtest Hong Kong karena alasan yang sama dan dikutip dalam mata uangnya sendiri. Profil saham membawa bursa dan mata uang pencatatan itu sendiri di samping fundamental penerbit ([#1577](https://github.com/HKUDS/Vibe-Trading/pull/1577)), grounding dan pencarian simbol mengenali setiap pasar yang dirutekan lapisan data ([#1575](https://github.com/HKUDS/Vibe-Trading/pull/1575)), dan `technical_indicators` melaporkan volume beserta satuan yang dideklarasikan sumbernya — lot atau lembar saham, selisih 100× ([#1571](https://github.com/HKUDS/Vibe-Trading/pull/1571)). Email dan WebSocket bergabung ke pengaturan channel terpandu, dengan sertifikat server email kini diverifikasi dan penulisan pengaturan tertutup bagi halaman lintas situs, serta login IMAP tanpa SSL yang kini dienkripsi dengan STARTTLS sebelum kata sandi dikirim ([#1544](https://github.com/HKUDS/Vibe-Trading/pull/1544)). **Diperbaiki:** header provider eksplisit yang kalah oleh header lingkungan bernama sama di openai 3.19.2 dan sempat membuat CI setiap PR merah ([#1568](https://github.com/HKUDS/Vibe-Trading/pull/1568)); backtest dari sumber beresolusi mikrodetik yang bertanggal 1970 ([#1560](https://github.com/HKUDS/Vibe-Trading/pull/1560)); target riset yang jelas-jelas berupa order kembali ditolak ([#1562](https://github.com/HKUDS/Vibe-Trading/pull/1562)); pembagian OOS strict bench yang bisa membuat satu sisi kosong ([#1559](https://github.com/HKUDS/Vibe-Trading/pull/1559)); penyelarasan label HRP, urutan label validasi silang, dan input kuant yang tidak hingga ([#1555](https://github.com/HKUDS/Vibe-Trading/pull/1555), [#1556](https://github.com/HKUDS/Vibe-Trading/pull/1556), [#1557](https://github.com/HKUDS/Vibe-Trading/pull/1557), [#1558](https://github.com/HKUDS/Vibe-Trading/pull/1558)); jendela overtrading akun bayangan ([#1563](https://github.com/HKUDS/Vibe-Trading/pull/1563)); serta pertumbuhan aset yang dihitung hari ke hari ([#1564](https://github.com/HKUDS/Vibe-Trading/pull/1564)). Terima kasih [@Shizoqua](https://github.com/Shizoqua), [@zeus229](https://github.com/zeus229), dan [@shadowinlife](https://github.com/shadowinlife)!-- **2026-09-23** 🇦🇷 **Saham Argentina, buku short yang disizing terbalik, dan separuh terakhir gerbang risiko ekor**: simbol `.BA` — saham BYMA dan CEDEAR — dirutekan ke Yahoo sebagai pasar ARS sendiri, dan Web UI mengelompokkan serta melabelinya seperti pasar lain; backtest Argentina tetap gagal secara eksplisit sampai aturan eksekusi BYMA dimodelkan ([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). Optimizer mean-variance dan turnover-aware menilai setiap posisi seolah long, sehingga short terbaik mendapat modal paling sedikit. Keduanya kini disizing pada return posisi, di mana long dan short dua nama berkorelasi saling melindungi alih-alih terbaca berkorelasi — pada pasangan berkorelasi +0,92 objektif lama menaruh seluruh buku di long, yang baru membaginya 0,51 / -0,49 ([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). Selain itu, angka risiko ekor kini harus menyebut fieldnya sendiri begitu satu sesi memuat lebih dari satu ukuran atau tingkat keyakinan, sehingga ES 95% tidak bisa lagi mengutip nilai VaR 95% dengan id panggilan ([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **Diperbaiki:** validasi Monte Carlo menyetahunkan dengan bar per tahun bursa, bukan 252 yang dipaku, sehingga Sharpe-nya sejalan dengan bagian lain laporan yang sama ([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)); order futures pada bar berharga negatif tidak lagi ditolak seluruhnya ([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)); IC ratio sebuah faktor dibiarkan kosong bila baseline-nya negatif, alih-alih membaca pelemahan nyata sebagai perbaikan ([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)); dan dua memori dengan judul sama di tipe berbeda mempertahankan baris indeks serta target tautannya masing-masing ([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). Terima kasih [@zeus229](https://github.com/zeus229), [@Shizoqua](https://github.com/Shizoqua), dan [@he-yufeng](https://github.com/he-yufeng)!-<details><summary>Berita sebelumnya</summary>+- **2026-09-23** 🇦🇷 **Saham Argentina, buku short yang disizing terbalik, dan separuh terakhir gerbang risiko ekor**: simbol `.BA` — saham BYMA dan CEDEAR — dirutekan ke Yahoo sebagai pasar ARS sendiri, dan Web UI mengelompokkan serta melabelinya seperti pasar lain; backtest Argentina tetap gagal secara eksplisit sampai aturan eksekusi BYMA dimodelkan ([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). Optimizer mean-variance dan turnover-aware menilai setiap posisi seolah long, sehingga short terbaik mendapat modal paling sedikit. Keduanya kini disizing pada return posisi, di mana long dan short dua nama berkorelasi saling melindungi alih-alih terbaca berkorelasi — pada pasangan berkorelasi +0,92 objektif lama menaruh seluruh buku di long, yang baru membaginya 0,51 / -0,49 ([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). Selain itu, angka risiko ekor kini harus menyebut fieldnya sendiri begitu satu sesi memuat lebih dari satu ukuran atau tingkat keyakinan, sehingga ES 95% tidak bisa lagi mengutip nilai VaR 95% dengan id panggilan ([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **Diperbaiki:** validasi Monte Carlo menyetahunkan dengan bar per tahun bursa, bukan 252 yang dipaku, sehingga Sharpe-nya sejalan dengan bagian lain laporan yang sama ([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)); order futures pada bar berharga negatif tidak lagi ditolak seluruhnya ([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)); IC ratio sebuah faktor dibiarkan kosong bila baseline-nya negatif, alih-alih membaca pelemahan nyata sebagai perbaikan ([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)); dan dua memori dengan judul sama di tipe berbeda mempertahankan baris indeks serta target tautannya masing-masing ([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). Terima kasih [@zeus229](https://github.com/zeus229), [@Shizoqua](https://github.com/Shizoqua), dan [@he-yufeng](https://github.com/he-yufeng)!+- **2026-09-22** 📅 **Bar mingguan dan bulanan, serta replay setelah kompaksi yang bisa kehilangan bukti**: `get_market_data` dan backtest menerima `1W` dan `1M` (ditolak sejak 09-20 agar `1M` tidak mengambil bar satu menit). Setiap sumber tetap menyajikan bar harian dan bar periode dibangun darinya, bertanggal hari perdagangan terakhir dalam minggu atau bulan itu, sehingga tinjauan bulanan 21 bulan cukup satu panggilan berisi 21 bar ([#1479](https://github.com/HKUDS/Vibe-Trading/issues/1479)). Indeks harga kini ditandai tanpa penyesuaian, bukan menurut perlakuan sumbernya terhadap saham ([#1541](https://github.com/HKUDS/Vibe-Trading/issues/1541)). Hasil tool baca-saja yang dihapus oleh kompaksi konteks dipulihkan dari memori run itu sendiri alih-alih diambil ulang, dengan batas per run, dan setiap penulisan mengosongkan memori itu sehingga file yang dibuat ulang dibaca kembali ([#1488](https://github.com/HKUDS/Vibe-Trading/pull/1488)). Angka risiko ekor yang dideklarasikan dengan ref field dicocokkan dengan field itu, sehingga VaR 99% yang memakai nilai 95% tertangkap ([#1444](https://github.com/HKUDS/Vibe-Trading/pull/1444)). QVeris menolak bar saham dan ETF, yang penyesuaiannya tidak bisa dinyatakan oleh sumber pilihan peringkat pencariannya, serta kuotasi per hasil ([#1494](https://github.com/HKUDS/Vibe-Trading/issues/1494)). Terima kasih [@sambazhu](https://github.com/sambazhu), [@zeus229](https://github.com/zeus229), [@he-yufeng](https://github.com/he-yufeng), [@jw232](https://github.com/jw232) and [@cgycorey](https://github.com/cgycorey)!- **2026-09-22** 💸 **Backtest yang berhenti saat funding membuat kas negatif, dan tiga tool lain yang membaca query yang ditolak sebagai tidak ada data**: potongan funding kripto dapat membuat kas tersedia di bawah nol, lalu posisi berikutnya yang diinginkan strategi tidak muat di ukuran apa pun — bahkan nol — sehingga run berhenti dengan "planned order … exceeds available capital" (atau "insufficient capital for position rebalance"). Kini pembukaan itu dilewati dan dilaporkan sekali sebagai `insufficient_capital`, pengurangan pada bar yang sama tetap dijalankan, dan penutupan yang kerugiannya melebihi margin tetap membatalkan bar seperti sebelumnya ([#1542](https://github.com/HKUDS/Vibe-Trading/issues/1542)). Block trade, margin trading, dan laporan keuangan kini membedakan penolakan Eastmoney atas query usang dari jawaban yang memang kosong, dengan pemeriksaan yang sama seperti jumlah pemegang saham, dragon-tiger, dan lockup expiry. Jawaban dalam bahasa Spanyol, Jerman, dan bahasa lain yang memakai koma desimal kini mencocokkan `17,93 %` atau `1.410,00 CNY` dengan hasil tool, sementara dua angka tanpa spasi seperti `1400,1777` tetap dua angka, dan sebuah angka harus cocok dengan buktinya pada presisi yang ditulis ([#1517](https://github.com/HKUDS/Vibe-Trading/pull/1517)). Terima kasih [@turtle696966969696](https://github.com/turtle696966969696) atas trace yang cocok hingga sen, dan [@zeus229](https://github.com/zeus229)!diff --git a/README_ja.md b/README_ja.mdindex 74573ba58..ad4940e62 100644--- a/README_ja.md+++ b/README_ja.md@@ -52,6 +52,8 @@> ⚠️ **セキュリティ警告:** Xアカウント `VibeTrading_HKU`、Virtualsプロジェクト `101845`、およびトークンコントラクト `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` は、いずれもVibe-Trading公式のものではありません。Vibe-Tradingはこれまで、いかなるトークンやミームコインも発行・公認していません。購入、ウォレットの接続、署名は行わないでください。[詳細](SECURITY.md#official-channels--impersonation)+- **2026-09-29** 🛠️ **長い比較が最後まで完了し、バックテストレポートの数値が残るように**:会話の圧縮はモデルの実際のコンテキストウィンドウ(Codex の GPT-6 は 272K、DeepSeek V4 は 1M)に合わせて行うようになりました。従来の固定 40K の推定では 3 ステップ目からツール結果が消され、12 社の比較は同じ財務データを取り直し続けて no-progress で停止していました。失敗した実行もステップを保持し、停止メッセージにはツール名と理由が表示されます。Codex では途中の指示がシステムプロンプトを置き換えなくなり、推論がターン間で引き継がれ、既定モデルは `gpt-6-sol` になりました。数値チェックはバックテスト自身の出力(Sortino、Calmar、回転率、ウェイト、モンテカルロ p 値)を読み、どの実行の値かを示した数値を照合するため、リスクパリティと等ウェイトの比較レポートが拒否文に置き換えられなくなりました。`get_market_data` は接尾辞のない米国株ティッカーに空データを返さず `AAPL.US` を求め、複数市場のバックテストは市場ごとにデータソースをフォールバックします。+- **2026-09-28** 🛠️ **データソースの健全性と接続機能の可視化**:認証情報を使わず時間制限付きで公開ソースを定期検査し、接続障害やデータ異常を報告します([#1627](https://github.com/HKUDS/Vibe-Trading/pull/1627))。BaoStock に通信期限と並行セッションの直列化を追加([#1615](https://github.com/HKUDS/Vibe-Trading/pull/1615))、Copilot の認証情報照会には短いキャッシュ期限を設定しました([#1619](https://github.com/HKUDS/Vibe-Trading/pull/1619))。自動生成のブローカー機能表はペーパー/実取引の権限をプロファイル別に示し、宣言と動作確認を区別します([#1629](https://github.com/HKUDS/Vibe-Trading/pull/1629))。 **数値検証と MT5 の追加修正**:明示された銘柄と正確なフィールド参照を保持し、地域別の桁区切りにも既存の数値許容幅を適用します([#1584](https://github.com/HKUDS/Vibe-Trading/pull/1584)、[#1586](https://github.com/HKUDS/Vibe-Trading/pull/1586)、[#1588](https://github.com/HKUDS/Vibe-Trading/pull/1588))。テキストのみの修正回数を制限します([#1600](https://github.com/HKUDS/Vibe-Trading/pull/1600))。MT5 は指定端末で検索し、曖昧なブローカー別名を拒否します。バックテストのサンドボックスには検証済みの接続設定だけを渡します([#1597](https://github.com/HKUDS/Vibe-Trading/pull/1597)、[#1598](https://github.com/HKUDS/Vibe-Trading/pull/1598))。- **2026-09-27** 🛠️ **検証可能な実行カードと研究フローの改善**:JSON、Markdown、実行詳細に、ハッシュ化したバックテスト実行記録と検証済みの指標 CSV 参照を表示します([#1612](https://github.com/HKUDS/Vibe-Trading/pull/1612))。GTJA の高値・安値経過日数と同値時の処理を修正し([#1604](https://github.com/HKUDS/Vibe-Trading/pull/1604))、インド市場の空売り買い戻しは買い側の値幅制限を確認します([#1608](https://github.com/HKUDS/Vibe-Trading/pull/1608))。認証情報を露出せずトークン使用量を保持し([#1606](https://github.com/HKUDS/Vibe-Trading/pull/1606))、不正な MCP スキーマのオブジェクト属性を補完します([#1607](https://github.com/HKUDS/Vibe-Trading/pull/1607))。即時注文の目標チェックは研究目的の質問を許可し([#1605](https://github.com/HKUDS/Vibe-Trading/pull/1605))、設定文書の既定経路を OpenRouter と明記しました([#1609](https://github.com/HKUDS/Vibe-Trading/issues/1609))。@@ -62,11 +64,11 @@- **2026-09-24** 💱 **ペソで計上されていたドル建て銘柄、Web UI に加わった Email と WebSocket、そして SDK 更新による CI 障害**:BYMA とトロント証券取引所には自国通貨建てに加えて米ドル建ての銘柄(GGALD.BA、DLR-U.TO)があり、アルゼンチンやカナダのバックテストはそれらを単一のペソ/カナダドルのプールで評価していました。ローダーは市場の通貨で建値された銘柄だけを受け入れるようになり(LSE 銘柄と同じ規則)、それ以外に申告された建値通貨はデータとともに渡されるため、回答には正しい通貨が書かれます([#1576](https://github.com/HKUDS/Vibe-Trading/pull/1576))。香港取引所が独自のコード帯で採番する人民元建て・米ドル建てカウンター(80700.HK、9834.HK)も同じ理由で香港のバックテストから除外され、それぞれの通貨で扱われます。銘柄プロファイルは発行体のファンダメンタルズとは別に、その上場銘柄自身の取引所と通貨を返し([#1577](https://github.com/HKUDS/Vibe-Trading/pull/1577))、グラウンディングと銘柄検索はデータ層が扱うすべての市場を認識し([#1575](https://github.com/HKUDS/Vibe-Trading/pull/1575))、`technical_indicators` は出来高をデータソースが申告する単位(単元か株か、100 倍違う)付きで返します([#1571](https://github.com/HKUDS/Vibe-Trading/pull/1571))。Email と WebSocket がガイド付きチャネル設定に加わり、メールサーバー証明書の検証と、クロスサイトのページからの設定書き込みの拒否、SSL なしの IMAP でもパスワード送信前に STARTTLS で暗号化する変更も入りました([#1544](https://github.com/HKUDS/Vibe-Trading/pull/1544))。**修正:** openai 3.19.2 で明示したプロバイダーヘッダーが環境側の同名ヘッダーに負け、全 PR の CI が赤くなっていた問題([#1568](https://github.com/HKUDS/Vibe-Trading/pull/1568))、マイクロ秒精度のソースからのバックテストが 1970 年の日付になっていた問題([#1560](https://github.com/HKUDS/Vibe-Trading/pull/1560))、明らかに注文である研究ゴールを再び拒否([#1562](https://github.com/HKUDS/Vibe-Trading/pull/1562))、strict bench の OOS 分割で片側が空になりうる問題([#1559](https://github.com/HKUDS/Vibe-Trading/pull/1559))、HRP のラベル整列・交差検証のラベル順序・非有限な入力([#1555](https://github.com/HKUDS/Vibe-Trading/pull/1555)、[#1556](https://github.com/HKUDS/Vibe-Trading/pull/1556)、[#1557](https://github.com/HKUDS/Vibe-Trading/pull/1557)、[#1558](https://github.com/HKUDS/Vibe-Trading/pull/1558))、シャドーアカウントの過剰取引の期間([#1563](https://github.com/HKUDS/Vibe-Trading/pull/1563))、日次で比較されていた総資産成長率([#1564](https://github.com/HKUDS/Vibe-Trading/pull/1564))。[@Shizoqua](https://github.com/Shizoqua)、[@zeus229](https://github.com/zeus229)、[@shadowinlife](https://github.com/shadowinlife) に感謝します!-- **2026-09-23** 🇦🇷 **アルゼンチン銘柄、逆向きにサイズされていたショート、そしてテールリスク・ゲートの残り半分**:`.BA`(BYMA 株式と CEDEAR)は独自の ARS 市場として Yahoo に接続され、Web UI でも他の市場と同じように分類・表示されます。BYMA の執行ルールをモデル化するまで、アルゼンチンのバックテストは他市場の仮定を流用せず明示的に失敗します([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543))。平均分散型と回転率考慮型のオプティマイザはすべてのポジションをロングとして評価していたため、最良のショートに最も少ない資金しか配分されませんでした。どちらもポジション収益でサイズを決めるようになり、相関する 2 銘柄のロングとショートは相関ではなくヘッジとして読まれます(相関 +0.92 の組で、旧目的関数はロングに全額、新しい配分は 0.51 / -0.49)([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548))。さらに、1 つのセッションが複数のテールリスク指標(VaR と ES、95% と 99%)を保持した時点で、テールリスクの数値は自分のフィールドを明示しなければならず、ES 95% が VaR 95% の値を借りることはできません([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425))。**修正:**モンテカルロ検証は 252 固定ではなく取引所の年間バー数で年率化し、同じレポート内のシャープと矛盾しなくなりました([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546))。負値バーでの先物発注が一律に拒否されなくなりました([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547))。ベースライン IC が負の場合、ファクターの IC ratio は未設定になり、実際の劣化が健全な改善として読まれることはありません([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549))。タイトルが同じでタイプが異なる 2 つのメモリは、それぞれの索引行とリンク先を保ちます([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545))。[@zeus229](https://github.com/zeus229)、[@Shizoqua](https://github.com/Shizoqua)、[@he-yufeng](https://github.com/he-yufeng) に感謝します!-<details><summary>過去のニュース</summary>+- **2026-09-23** 🇦🇷 **アルゼンチン銘柄、逆向きにサイズされていたショート、そしてテールリスク・ゲートの残り半分**:`.BA`(BYMA 株式と CEDEAR)は独自の ARS 市場として Yahoo に接続され、Web UI でも他の市場と同じように分類・表示されます。BYMA の執行ルールをモデル化するまで、アルゼンチンのバックテストは他市場の仮定を流用せず明示的に失敗します([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543))。平均分散型と回転率考慮型のオプティマイザはすべてのポジションをロングとして評価していたため、最良のショートに最も少ない資金しか配分されませんでした。どちらもポジション収益でサイズを決めるようになり、相関する 2 銘柄のロングとショートは相関ではなくヘッジとして読まれます(相関 +0.92 の組で、旧目的関数はロングに全額、新しい配分は 0.51 / -0.49)([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548))。さらに、1 つのセッションが複数のテールリスク指標(VaR と ES、95% と 99%)を保持した時点で、テールリスクの数値は自分のフィールドを明示しなければならず、ES 95% が VaR 95% の値を借りることはできません([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425))。**修正:**モンテカルロ検証は 252 固定ではなく取引所の年間バー数で年率化し、同じレポート内のシャープと矛盾しなくなりました([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546))。負値バーでの先物発注が一律に拒否されなくなりました([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547))。ベースライン IC が負の場合、ファクターの IC ratio は未設定になり、実際の劣化が健全な改善として読まれることはありません([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549))。タイトルが同じでタイプが異なる 2 つのメモリは、それぞれの索引行とリンク先を保ちます([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545))。[@zeus229](https://github.com/zeus229)、[@Shizoqua](https://github.com/Shizoqua)、[@he-yufeng](https://github.com/he-yufeng) に感謝します!+- **2026-09-22** 📅 **週足・月足、そしてコンテキスト圧縮後に証拠を失いかねなかったリプレイ**:`get_market_data` とバックテストが `1W` と `1M` を受け付けます(09-20 以降、`1M` が 1 分足として取得されないよう拒否していたもの)。どのソースも引き続き日足を返し、週・月のバーはそこから組み立て、その週または月の最終取引日の日付を付けるので、21 か月の月次レビューは 1 回の呼び出しで 21 本になります([#1479](https://github.com/HKUDS/Vibe-Trading/issues/1479))。価格指数は、ソースが個別株に施す調整ではなく未調整として記録されます([#1541](https://github.com/HKUDS/Vibe-Trading/issues/1541))。コンテキスト圧縮で消えた読み取り専用ツールの結果は、再取得せずその実行自身のメモリから復元します。実行ごとに上限があり、書き込みがあればメモリを空にするので、再生成したファイルは読み直されます([#1488](https://github.com/HKUDS/Vibe-Trading/pull/1488))。フィールド ref 付きで宣言したテールリスクの数値はそのフィールドと照合され、95% の値を VaR 99% として書くと検出されます([#1444](https://github.com/HKUDS/Vibe-Trading/pull/1444))。QVeris は、検索順位で選ぶ提供元では調整方法を示せない個別株・ETF のバーと、結果単位で課金される見積もりを拒否します([#1494](https://github.com/HKUDS/Vibe-Trading/issues/1494))。[@sambazhu](https://github.com/sambazhu), [@zeus229](https://github.com/zeus229), [@he-yufeng](https://github.com/he-yufeng), [@jw232](https://github.com/jw232) and [@cgycorey](https://github.com/cgycorey) に感謝します!- **2026-09-22** 💸 **資金調達費で現金がマイナスになるとバックテストが停止していた問題、そして拒否されたクエリを「データなし」と読んでいた 3 つのツール**:暗号資産の資金調達費で利用可能な現金がマイナスになると、次に建てたいポジションはどのサイズでも(ゼロでさえ)収まらず、実行は「planned order … exceeds available capital」(または「insufficient capital for position rebalance」)で停止していました。現在はその新規建てをスキップして `insufficient_capital` として一度だけ記録し、同じバーの縮小は実行されます。損失が証拠金を上回る決済は従来どおりバーごと中止します([#1542](https://github.com/HKUDS/Vibe-Trading/issues/1542))。大口取引・信用取引・財務諸表も、Eastmoney が古いクエリを拒否した場合と本当に空の場合を区別するようになり、株主数・龍虎榜・ロックアップ解除と同じ判定を使います。スペイン語やドイツ語など小数点にカンマを使う回答でも、`17,93 %` や `1.410,00 CNY` をツール結果と照合できるようになりました。一方 `1400,1777` のように空白のない 2 つの数は 2 つの数のまま扱い、数値は書かれた精度で根拠と一致する必要があります([#1517](https://github.com/HKUDS/Vibe-Trading/pull/1517))。セント単位まで照合した再現をくださった [@turtle696966969696](https://github.com/turtle696966969696)、そして [@zeus229](https://github.com/zeus229) に感謝します!diff --git a/README_ko.md b/README_ko.mdindex 05d120c89..a64d6534e 100644--- a/README_ko.md+++ b/README_ko.md@@ -52,6 +52,8 @@> ⚠️ **보안 경고:** X 계정 `VibeTrading_HKU`, Virtuals 프로젝트 `101845`, 토큰 컨트랙트 `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4`는 모두 Vibe-Trading 공식과 무관합니다. Vibe-Trading은 어떠한 토큰이나 밈코인도 발행하거나 공식적으로 지지한 적이 없습니다. 해당 토큰을 구매하거나 지갑을 연결하거나 어떠한 서명도 하지 마세요. [자세히 보기](SECURITY.md#official-channels--impersonation).+- **2026-09-29** 🛠️ **긴 비교가 끝까지 완료되고, 백테스트 보고서의 수치가 유지됩니다**: 대화 압축이 고정된 40K 추정 대신 모델의 실제 컨텍스트 윈도우(Codex의 GPT-6은 272K, DeepSeek V4는 1M)에 맞춰 이루어집니다. 기존 기준은 세 번째 단계부터 도구 결과를 지워, 12개 기업 비교가 같은 재무 자료를 반복해서 다시 가져오다 no-progress로 중단되었습니다. 실패한 실행도 단계를 보존하며, 중단 메시지에 도구와 이유가 표시됩니다. Codex에서는 실행 중 지시가 시스템 프롬프트를 대체하지 않고, 추론이 턴 사이에 유지되며, 기본 모델은 `gpt-6-sol`입니다. 수치 검증이 백테스트 자체 출력(Sortino, Calmar, 회전율, 비중, 몬테카를로 p값)을 읽고 출처 실행을 밝힌 수치를 대조하므로, 리스크 패리티 대 동일가중 비교 보고서가 더 이상 거절 문구로 대체되지 않습니다. `get_market_data`는 접미사 없는 미국 주식 티커에 빈 데이터 대신 `AAPL.US`를 요청하고, 다중 시장 백테스트는 시장별로 데이터 소스를 대체합니다.+- **2026-09-28** 🛠️ **데이터 소스 상태와 브로커 기능 공개**: 인증 정보 없이 시간 제한을 적용한 정기 검사로 공개 소스의 연결 장애와 데이터 이상을 보고합니다([#1627](https://github.com/HKUDS/Vibe-Trading/pull/1627)). BaoStock 통신 제한 시간과 동시 세션 직렬화를 추가하고([#1615](https://github.com/HKUDS/Vibe-Trading/pull/1615)), Copilot 자격 증명 조회 캐시에 짧은 만료 시간을 적용했습니다([#1619](https://github.com/HKUDS/Vibe-Trading/pull/1619)). 자동 생성 브로커 표는 프로필별 모의·실거래 권한을 구분하며, 선언된 기능과 실제 검증을 구별합니다([#1629](https://github.com/HKUDS/Vibe-Trading/pull/1629)). **수치 검증 및 MT5 추가 수정**: 명시된 종목과 정확한 필드 참조를 보존하고 현지 숫자 구분에도 기존 허용 오차를 유지합니다([#1584](https://github.com/HKUDS/Vibe-Trading/pull/1584), [#1586](https://github.com/HKUDS/Vibe-Trading/pull/1586), [#1588](https://github.com/HKUDS/Vibe-Trading/pull/1588)). 텍스트 전용 수정 횟수를 제한합니다([#1600](https://github.com/HKUDS/Vibe-Trading/pull/1600)). MT5는 지정 터미널에서 검색하며 모호한 브로커 별칭을 거부합니다. 백테스트 샌드박스에는 검증된 연결 설정만 전달합니다([#1597](https://github.com/HKUDS/Vibe-Trading/pull/1597), [#1598](https://github.com/HKUDS/Vibe-Trading/pull/1598)).- **2026-09-27** 🛠️ **검증 가능한 실행 카드와 연구 흐름 개선**: JSON, Markdown, 실행 상세 화면에 해시 기반 백테스트 실행 기록과 검증된 지표 CSV 참조를 표시합니다([#1612](https://github.com/HKUDS/Vibe-Trading/pull/1612)). GTJA 고점·저점 경과 일수와 동률 처리를 수정하고([#1604](https://github.com/HKUDS/Vibe-Trading/pull/1604)), 인도 시장 숏 청산은 매수 방향의 가격 제한을 확인합니다([#1608](https://github.com/HKUDS/Vibe-Trading/pull/1608)). 자격 증명 문자열을 노출하지 않고 토큰 사용량을 유지하며([#1606](https://github.com/HKUDS/Vibe-Trading/pull/1606)), 잘못된 MCP 스키마의 객체 속성을 복구합니다([#1607](https://github.com/HKUDS/Vibe-Trading/pull/1607)). 즉시 주문 목표 검사는 연구 질문을 허용하고([#1605](https://github.com/HKUDS/Vibe-Trading/pull/1605)), 설정 문서에 기본 경로가 OpenRouter임을 명시했습니다([#1609](https://github.com/HKUDS/Vibe-Trading/issues/1609)).@@ -62,11 +64,11 @@- **2026-09-24** 💱 **페소로 계산되던 달러 종목, Web UI에 들어온 Email과 WebSocket, 그리고 SDK 업데이트로 깨진 CI**: BYMA와 토론토 증권거래소에는 자국 통화 종목 옆에 미국 달러 종목(GGALD.BA, DLR-U.TO)도 상장되어 있는데, 아르헨티나·캐나다 백테스트는 이를 하나뿐인 페소·캐나다 달러 풀에서 평가했습니다. 이제 로더는 해당 시장 통화로 호가되는 종목만 받아들이고(LSE 종목과 같은 규칙), 그 밖에 소스가 선언한 호가 통화는 데이터와 함께 전달되어 답변에 올바른 통화가 적힙니다([#1576](https://github.com/HKUDS/Vibe-Trading/pull/1576)). 홍콩거래소가 별도 코드 구간으로 번호를 매기는 위안화·달러 카운터(80700.HK, 9834.HK)도 같은 이유로 홍콩 백테스트에서 거부되고 각자의 통화로 표시됩니다. 종목 프로필은 발행사 펀더멘털과 별도로 해당 상장 종목의 거래소와 통화를 담고([#1577](https://github.com/HKUDS/Vibe-Trading/pull/1577)), 그라운딩과 종목 검색은 데이터 계층이 다루는 모든 시장을 인식하며([#1575](https://github.com/HKUDS/Vibe-Trading/pull/1575)), `technical_indicators`는 거래량을 소스가 선언한 단위(매매 단위 lot 또는 주, 100배 차이)와 함께 반환합니다([#1571](https://github.com/HKUDS/Vibe-Trading/pull/1571)). Email과 WebSocket이 가이드형 채널 설정에 합류했고, 메일 서버 인증서를 검증하며 크로스사이트 페이지의 설정 쓰기를 막으며, SSL 없는 IMAP 로그인도 비밀번호를 보내기 전에 STARTTLS로 암호화합니다([#1544](https://github.com/HKUDS/Vibe-Trading/pull/1544)). **수정:** openai 3.19.2에서 명시한 provider 헤더가 환경 변수의 같은 이름 헤더에 밀려 모든 PR의 CI가 빨갛게 되던 문제([#1568](https://github.com/HKUDS/Vibe-Trading/pull/1568)), 마이크로초 해상도 소스의 백테스트가 1970년으로 찍히던 문제([#1560](https://github.com/HKUDS/Vibe-Trading/pull/1560)), 명백한 주문인 리서치 목표를 다시 거부([#1562](https://github.com/HKUDS/Vibe-Trading/pull/1562)), strict bench의 OOS 분할이 한쪽을 비울 수 있던 문제([#1559](https://github.com/HKUDS/Vibe-Trading/pull/1559)), HRP 라벨 정렬·교차검증 라벨 순서·유한하지 않은 퀀트 입력([#1555](https://github.com/HKUDS/Vibe-Trading/pull/1555), [#1556](https://github.com/HKUDS/Vibe-Trading/pull/1556), [#1557](https://github.com/HKUDS/Vibe-Trading/pull/1557), [#1558](https://github.com/HKUDS/Vibe-Trading/pull/1558)), 섀도 계정의 과잉 매매 기간([#1563](https://github.com/HKUDS/Vibe-Trading/pull/1563)), 일 단위로 계산되던 자산 성장률([#1564](https://github.com/HKUDS/Vibe-Trading/pull/1564)). [@Shizoqua](https://github.com/Shizoqua), [@zeus229](https://github.com/zeus229), [@shadowinlife](https://github.com/shadowinlife) 님 감사합니다!-- **2026-09-23** 🇦🇷 **아르헨티나 종목, 거꾸로 사이징되던 숏 북, 그리고 테일리스크 게이트의 마지막 절반**: `.BA`(BYMA 주식과 CEDEAR)는 자체 ARS 시장으로 Yahoo에 연결되고 웹 UI도 다른 시장과 같이 묶어 표시합니다. BYMA 체결 규칙을 모델링하기 전까지 아르헨티나 백테스트는 다른 시장의 가정을 빌리지 않고 명시적으로 실패합니다([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). 평균-분산 및 회전율 고려 옵티마이저가 모든 포지션을 롱으로 평가해 가장 좋은 숏에 자본이 가장 적게 배분됐습니다. 이제 둘 다 포지션 수익으로 사이징하므로, 상관된 두 종목의 롱과 숏은 상관이 아니라 헤지로 읽힙니다(상관 +0.92인 쌍에서 기존 목적함수는 전액을 롱에, 새 방식은 0.51 / -0.49로 배분)([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). 또한 한 세션이 두 개 이상의 테일리스크 측정치(VaR와 ES, 95%와 99%)를 보유하면 테일리스크 수치는 자신의 필드를 지정해야 하며, ES 95%가 VaR 95% 값을 빌려 쓸 수 없습니다([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **수정:** 몬테카를로 검증이 하드코딩된 252가 아니라 거래소의 연간 바 수로 연율화해 같은 리포트의 샤프와 어긋나지 않습니다([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)). 음수 가격 바에서 선물 주문이 전부 거부되지 않습니다([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)). 베이스라인 IC가 음수면 팩터의 IC ratio를 비워 두어 실제 감쇠를 건강한 개선으로 읽지 않습니다([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)). 제목이 같고 타입이 다른 두 메모리는 각자의 색인 행과 링크 대상을 유지합니다([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). [@zeus229](https://github.com/zeus229), [@Shizoqua](https://github.com/Shizoqua), [@he-yufeng](https://github.com/he-yufeng) 님 감사합니다!-<details><summary>이전 뉴스</summary>+- **2026-09-23** 🇦🇷 **아르헨티나 종목, 거꾸로 사이징되던 숏 북, 그리고 테일리스크 게이트의 마지막 절반**: `.BA`(BYMA 주식과 CEDEAR)는 자체 ARS 시장으로 Yahoo에 연결되고 웹 UI도 다른 시장과 같이 묶어 표시합니다. BYMA 체결 규칙을 모델링하기 전까지 아르헨티나 백테스트는 다른 시장의 가정을 빌리지 않고 명시적으로 실패합니다([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543)). 평균-분산 및 회전율 고려 옵티마이저가 모든 포지션을 롱으로 평가해 가장 좋은 숏에 자본이 가장 적게 배분됐습니다. 이제 둘 다 포지션 수익으로 사이징하므로, 상관된 두 종목의 롱과 숏은 상관이 아니라 헤지로 읽힙니다(상관 +0.92인 쌍에서 기존 목적함수는 전액을 롱에, 새 방식은 0.51 / -0.49로 배분)([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548)). 또한 한 세션이 두 개 이상의 테일리스크 측정치(VaR와 ES, 95%와 99%)를 보유하면 테일리스크 수치는 자신의 필드를 지정해야 하며, ES 95%가 VaR 95% 값을 빌려 쓸 수 없습니다([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425)). **수정:** 몬테카를로 검증이 하드코딩된 252가 아니라 거래소의 연간 바 수로 연율화해 같은 리포트의 샤프와 어긋나지 않습니다([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546)). 음수 가격 바에서 선물 주문이 전부 거부되지 않습니다([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547)). 베이스라인 IC가 음수면 팩터의 IC ratio를 비워 두어 실제 감쇠를 건강한 개선으로 읽지 않습니다([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549)). 제목이 같고 타입이 다른 두 메모리는 각자의 색인 행과 링크 대상을 유지합니다([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545)). [@zeus229](https://github.com/zeus229), [@Shizoqua](https://github.com/Shizoqua), [@he-yufeng](https://github.com/he-yufeng) 님 감사합니다!+- **2026-09-22** 📅 **주봉과 월봉, 그리고 컨텍스트 압축 뒤 증거를 잃을 수 있던 리플레이**: `get_market_data`와 백테스트가 `1W`와 `1M`을 받습니다(09-20부터 `1M`이 1분봉으로 조회되지 않도록 거부하던 값입니다). 모든 소스는 여전히 일봉을 제공하고 주·월 봉은 그 일봉으로 만들며, 각 봉에는 그 주 또는 그 달의 마지막 거래일 날짜가 붙어 21개월 월간 리뷰가 한 번의 호출로 21개 봉이 됩니다([#1479](https://github.com/HKUDS/Vibe-Trading/issues/1479)). 가격 지수는 소스가 개별 종목에 적용하는 조정이 아니라 무조정으로 표시됩니다([#1541](https://github.com/HKUDS/Vibe-Trading/issues/1541)). 컨텍스트 압축으로 지워진 읽기 전용 도구 결과는 다시 가져오지 않고 그 실행의 메모리에서 복원하며, 실행당 상한이 있고 쓰기가 있으면 메모리를 비워 다시 만든 파일을 새로 읽습니다([#1488](https://github.com/HKUDS/Vibe-Trading/pull/1488)). 필드 ref로 선언한 꼬리 위험 수치는 그 필드와 대조되어, 95% 값을 VaR 99%로 쓰면 걸러집니다([#1444](https://github.com/HKUDS/Vibe-Trading/pull/1444)). QVeris는 검색 순위로 고른 소스가 조정 방식을 밝힐 수 없는 개별 종목·ETF 봉과, 결과 단위로 과금되는 견적을 거부합니다([#1494](https://github.com/HKUDS/Vibe-Trading/issues/1494)). [@sambazhu](https://github.com/sambazhu), [@zeus229](https://github.com/zeus229), [@he-yufeng](https://github.com/he-yufeng), [@jw232](https://github.com/jw232) and [@cgycorey](https://github.com/cgycorey)에게 감사드립니다!- **2026-09-22** 💸 **펀딩비로 현금이 마이너스가 되면 멈추던 백테스트, 그리고 거부된 쿼리를 "데이터 없음"으로 읽던 도구 3개**: 암호화폐 펀딩비 차감으로 가용 현금이 0 아래로 내려가면, 전략이 원한 다음 포지션은 어떤 크기로도(0조차) 맞지 않아 실행이 "planned order … exceeds available capital"(또는 "insufficient capital for position rebalance")로 중단됐습니다. 이제 그 신규 진입은 건너뛰고 `insufficient_capital`로 한 번만 기록하며, 같은 봉의 축소는 그대로 실행됩니다. 손실이 증거금을 넘는 청산은 이전처럼 해당 봉 전체를 중단합니다([#1542](https://github.com/HKUDS/Vibe-Trading/issues/1542)). 블록딜, 신용거래, 재무제표도 이제 Eastmoney가 오래된 쿼리를 거부한 경우와 실제로 비어 있는 경우를 구분하며, 주주 수·룽후방·보호예수 해제와 같은 판정을 사용합니다. 스페인어·독일어 등 소수점에 쉼표를 쓰는 답변도 이제 `17,93 %`, `1.410,00 CNY`를 도구 결과와 대조하며, `1400,1777`처럼 공백 없는 두 숫자는 두 숫자로 유지하고, 수치는 적힌 정밀도대로 근거와 일치해야 합니다([#1517](https://github.com/HKUDS/Vibe-Trading/pull/1517)). 센트 단위까지 맞춘 재현을 제공해 주신 [@turtle696966969696](https://github.com/turtle696966969696)님과 [@zeus229](https://github.com/zeus229)님께 감사드립니다!diff --git a/README_zh.md b/README_zh.mdindex 3c146fcc1..ab92c4424 100644--- a/README_zh.md+++ b/README_zh.md@@ -52,6 +52,8 @@> ⚠️ **安全警告:** X 账号 `VibeTrading_HKU`、Virtuals 项目 `101845` 及代币合约 `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` 均非 Vibe-Trading 官方。我们从未发行或背书任何代币或 meme 币。请勿购买、连接钱包或签名。[详细说明](SECURITY.md#official-channels--impersonation)。+- **2026-09-29** 🛠️ **长对比能跑完,回测报告不再被整篇拒答**:上下文压缩改按模型真实窗口计算(Codex 上的 GPT-6 为 272K,DeepSeek V4 为 1M),不再用固定的 40K 估算——旧阈值从第 3 步就开始清掉工具结果,12 家公司的对比会反复重取同一批财报,直到「无进展」停止。失败的运行保留步骤,停止说明写明是哪个工具、什么原因;Codex 下中途插入的指令不再覆盖系统提示,推理内容跨轮保留,默认模型改为 `gpt-6-sol`。数字核验现在能读到回测自己的输出(Sortino、Calmar、换手、权重、蒙特卡洛 p 值),数字写明来自哪次回测即可核对,风险平价与等权对比的报告不再被拒答替换。`get_market_data` 遇到不带后缀的美股代码会提示改用 `AAPL.US`,不再返回空数据;跨市场回测按各自市场回退数据源。+- **2026-09-28** 🛠️ **数据源健康检查与券商能力透明化**:定时检查通过有时限、不携带凭据的公开数据源探测报告连接故障和数据异常([#1627](https://github.com/HKUDS/Vibe-Trading/pull/1627));BaoStock socket 请求增加超时控制,并串行隔离并发会话([#1615](https://github.com/HKUDS/Vibe-Trading/pull/1615))。Copilot 凭据查询在短期缓存到期后重新读取([#1619](https://github.com/HKUDS/Vibe-Trading/pull/1619))。自动生成的券商矩阵分别列出各 profile 的模拟盘/实盘权限,明确区分能力声明与运行验证([#1629](https://github.com/HKUDS/Vibe-Trading/pull/1629))。 **数值核验与 MT5 补充修复**:保留证据中的显式标的及精确字段引用,本地化数字分组沿用既有数值容差([#1584](https://github.com/HKUDS/Vibe-Trading/pull/1584)、[#1586](https://github.com/HKUDS/Vibe-Trading/pull/1586)、[#1588](https://github.com/HKUDS/Vibe-Trading/pull/1588));纯文本纠错受次数限制([#1600](https://github.com/HKUDS/Vibe-Trading/pull/1600))。MT5 搜索使用指定终端,拒绝歧义券商后缀;回测沙箱只接收校验后的终端连接设置([#1597](https://github.com/HKUDS/Vibe-Trading/pull/1597)、[#1598](https://github.com/HKUDS/Vibe-Trading/pull/1598))。- **2026-09-27** 🛠️ **可复核的运行卡片与更可靠的研究流程**:运行卡片在 JSON、Markdown 和运行详情页展示回测执行哈希记录及已核验的指标 CSV 引用([#1612](https://github.com/HKUDS/Vibe-Trading/pull/1612))。GTJA 高低点远近因子修正计日与并列极值处理([#1604](https://github.com/HKUDS/Vibe-Trading/pull/1604)),印度市场回测平空仓按买入方向检查涨跌停([#1608](https://github.com/HKUDS/Vibe-Trading/pull/1608))。token 用量可读,同时不放行任意凭据字符串([#1606](https://github.com/HKUDS/Vibe-Trading/pull/1606));异常 MCP schema 保留对象属性([#1607](https://github.com/HKUDS/Vibe-Trading/pull/1607));即时下单目标检查不再误拦研究问题([#1605](https://github.com/HKUDS/Vibe-Trading/pull/1605))。配置文档明确默认使用 OpenRouter([#1609](https://github.com/HKUDS/Vibe-Trading/issues/1609))。@@ -62,11 +64,11 @@- **2026-09-24** 💱 **美元标的被按比索记账、Email 与 WebSocket 进入 Web UI,以及一次 SDK 升级引发的 CI 故障**:BYMA 和多伦多交易所在本币标的之外还挂有美元报价的标的(GGALD.BA、DLR-U.TO),阿根廷或加拿大回测却把它们放进唯一的比索或加元资金池计价。现在加载器只接纳以本市场货币报价的标的,与 LSE 标的的既有规则一致;其他由数据源声明的报价货币随数据一起传递,回答写出的就是正确的货币([#1576](https://github.com/HKUDS/Vibe-Trading/pull/1576))。港股的人民币柜台和美元柜台(80700.HK、9834.HK)在港交所有各自的代码区间,出于同样原因不再进入港股回测,并按其本身的货币报价。个股概况在发行人基本面之外给出该上市标的自己的交易所与货币([#1577](https://github.com/HKUDS/Vibe-Trading/pull/1577)),grounding 与标的搜索认识数据层支持的每个市场([#1575](https://github.com/HKUDS/Vibe-Trading/pull/1575)),`technical_indicators` 返回成交量时附上数据源声明的单位——手或股,相差 100 倍([#1571](https://github.com/HKUDS/Vibe-Trading/pull/1571))。Email 与 WebSocket 加入引导式频道配置,邮件服务器证书现在会被校验,设置写入也不再接受跨站页面的请求,不走 SSL 的 IMAP 登录也会先用 STARTTLS 加密再发送密码([#1544](https://github.com/HKUDS/Vibe-Trading/pull/1544))。**修复:** openai 3.19.2 下显式的 provider 请求头会被环境里的同名头挤掉,曾让所有 PR 的 CI 变红([#1568](https://github.com/HKUDS/Vibe-Trading/pull/1568));来自微秒精度数据源的回测被标成 1970 年([#1560](https://github.com/HKUDS/Vibe-Trading/pull/1560));明摆着是下单指令的研究目标重新被拒绝([#1562](https://github.com/HKUDS/Vibe-Trading/pull/1562));strict bench 的样本外切分可能让一侧为空([#1559](https://github.com/HKUDS/Vibe-Trading/pull/1559));HRP 标签对齐、交叉验证标签顺序和量化输入里的非有限值([#1555](https://github.com/HKUDS/Vibe-Trading/pull/1555)、[#1556](https://github.com/HKUDS/Vibe-Trading/pull/1556)、[#1557](https://github.com/HKUDS/Vibe-Trading/pull/1557)、[#1558](https://github.com/HKUDS/Vibe-Trading/pull/1558));影子账户过度交易的时间窗口([#1563](https://github.com/HKUDS/Vibe-Trading/pull/1563));以及按日而非按年计算的资产增长率([#1564](https://github.com/HKUDS/Vibe-Trading/pull/1564))。感谢 [@Shizoqua](https://github.com/Shizoqua)、[@zeus229](https://github.com/zeus229) 和 [@shadowinlife](https://github.com/shadowinlife)!-- **2026-09-23** 🇦🇷 **阿根廷标的、方向反了的空头仓位定权,以及尾部风险闸门的最后一半**:`.BA`(BYMA 股票与 CEDEAR)作为独立的 ARS 市场走 Yahoo,Web UI 也按普通市场分组和显示;阿根廷回测在 BYMA 执行规则建模之前仍然直接拒绝,不套用别的市场假设([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543))。均值方差和考虑换手的优化器把每个仓位都按做多打分,于是最好的空头拿到最少资金。两者现在按仓位收益定权:两只正相关标的一多一空是互相对冲,而不是读成同向相关——在相关性 +0.92 的一对上,旧目标函数把全部资金压在多头,新的分成 0.51 / -0.49([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548))。另外,一旦一次会话里出现多于一个尾部风险口径(VaR 与 ES,或 95% 与 99%),尾部风险数字必须指明自己的字段,ES 95% 再也不能借用 VaR 95% 的数值([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425))。**修复:**蒙特卡洛校验按交易场所的年 bar 数折算,而不是硬编码 252,同一份报告里的夏普不再自相矛盾([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546));负价 bar 上的期货下单不再被整单拒绝([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547));基准 IC 为负时因子的 IC ratio 留空,不再把真实衰减读成健康改善([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549));同名但类型不同的两条记忆各自保留索引行和链接目标([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545))。感谢 [@zeus229](https://github.com/zeus229)、[@Shizoqua](https://github.com/Shizoqua) 和 [@he-yufeng](https://github.com/he-yufeng)!-<details><summary>更早的新闻</summary>+- **2026-09-23** 🇦🇷 **阿根廷标的、方向反了的空头仓位定权,以及尾部风险闸门的最后一半**:`.BA`(BYMA 股票与 CEDEAR)作为独立的 ARS 市场走 Yahoo,Web UI 也按普通市场分组和显示;阿根廷回测在 BYMA 执行规则建模之前仍然直接拒绝,不套用别的市场假设([#1543](https://github.com/HKUDS/Vibe-Trading/pull/1543))。均值方差和考虑换手的优化器把每个仓位都按做多打分,于是最好的空头拿到最少资金。两者现在按仓位收益定权:两只正相关标的一多一空是互相对冲,而不是读成同向相关——在相关性 +0.92 的一对上,旧目标函数把全部资金压在多头,新的分成 0.51 / -0.49([#1548](https://github.com/HKUDS/Vibe-Trading/pull/1548))。另外,一旦一次会话里出现多于一个尾部风险口径(VaR 与 ES,或 95% 与 99%),尾部风险数字必须指明自己的字段,ES 95% 再也不能借用 VaR 95% 的数值([#1425](https://github.com/HKUDS/Vibe-Trading/issues/1425))。**修复:**蒙特卡洛校验按交易场所的年 bar 数折算,而不是硬编码 252,同一份报告里的夏普不再自相矛盾([#1546](https://github.com/HKUDS/Vibe-Trading/pull/1546));负价 bar 上的期货下单不再被整单拒绝([#1547](https://github.com/HKUDS/Vibe-Trading/pull/1547));基准 IC 为负时因子的 IC ratio 留空,不再把真实衰减读成健康改善([#1549](https://github.com/HKUDS/Vibe-Trading/pull/1549));同名但类型不同的两条记忆各自保留索引行和链接目标([#1545](https://github.com/HKUDS/Vibe-Trading/pull/1545))。感谢 [@zeus229](https://github.com/zeus229)、[@Shizoqua](https://github.com/Shizoqua) 和 [@he-yufeng](https://github.com/he-yufeng)!+- **2026-09-22** 📅 **周线和月线;上下文压缩后的结果重放曾可能让证据丢失**:`get_market_data` 和回测支持 `1W`、`1M`(09-20 起为防止 `1M` 被当成一分钟而拒绝)。各数据源仍按日线取数,周/月 bar 由日线合成,日期为该周或该月最后一个交易日,21 个月的月度复盘一次调用即得 21 根 bar([#1479](https://github.com/HKUDS/Vibe-Trading/issues/1479))。价格指数统一标为不复权,不再按数据源对个股的复权方式打标([#1541](https://github.com/HKUDS/Vibe-Trading/issues/1541))。被上下文压缩清掉的只读工具结果从本次运行的缓存中恢复,不再重复拉取;每次运行有上限,任何写操作都会清空缓存,重新生成的文件会被重新读取([#1488](https://github.com/HKUDS/Vibe-Trading/pull/1488))。用字段 ref 声明的尾部风险数字会对照该字段核验,把 95% 的值写成 VaR 99% 会被拦下([#1444](https://github.com/HKUDS/Vibe-Trading/pull/1444))。QVeris 拒绝个股和 ETF 的 bar(它按搜索排名挑选的数据源说不清复权口径),也拒绝按结果计价的报价([#1494](https://github.com/HKUDS/Vibe-Trading/issues/1494))。感谢 [@sambazhu](https://github.com/sambazhu), [@zeus229](https://github.com/zeus229), [@he-yufeng](https://github.com/he-yufeng), [@jw232](https://github.com/jw232) and [@cgycorey](https://github.com/cgycorey)!- **2026-09-22** 💸 **资金费把现金扣成负数后回测中止;另有三个工具把被拒绝的查询当成没有数据**:加密货币的资金费可能把可用现金扣到负数,此时策略想开的下一个仓位连「一股不开」都放不下,回测就以「planned order … exceeds available capital」(或「insufficient capital for position rebalance」)中止。现在这笔开仓会被跳过,并只记一次 `insufficient_capital`;同一根 bar 的减仓照常执行;亏损超过保证金的平仓仍按原规则整根 bar 中止([#1542](https://github.com/HKUDS/Vibe-Trading/issues/1542))。大宗交易、融资融券和财务报表现在也能区分「东方财富拒绝了过时的查询」和「确实没有数据」,与股东户数、龙虎榜、限售解禁共用同一个判定。西班牙语、德语等以逗号作小数点的回答,现在也能把 `17,93 %`、`1.410,00 CNY` 与工具结果核对;而像 `1400,1777` 这样没有空格的两个数仍按两个数处理,数字须按其书写精度与证据一致([#1517](https://github.com/HKUDS/Vibe-Trading/pull/1517))。感谢 [@turtle696966969696](https://github.com/turtle696966969696) 提供精确到分的复现,也感谢 [@zeus229](https://github.com/zeus229)!