v0.1.12
MinishLab/semblev0.1.12Jul 22, 2026by warren618
Upgrading?
AI Summary
v0.1.12 consolidates nearly two weeks of work since 0.1.11, headlined by a new correlation regime timeline endpoint that identifies when markets fuse into a single bloc, three additional LLM providers with catalog-based endpoint resolution, and a MetaTrader 5 (Exness) broker connector bringing the broker count to 12. It also introduces the Strategy Development Manager skill, Binance USD-M perpetuals with historical funding, pluggable OCR, and a broad reliability wave covering strict-JSON hardening, session/journal robustness, an 80x vectorization speedup, and closure of all 10 external audit security findings.
Key Highlights
- New additive GET /correlation/regime endpoint and opt-in 'Regime timeline' strip that uses causally smoothed edge-density and a two-threshold hysteresis state machine to mark FUSED correlation episodes
- Three new LLM providers (SiliconFlow CN/Global, iFlytek Spark, native Anthropic Messages API) plus MiniMax regional endpoints, with centralized credential resolution and canonical catalog endpoint fallback so providers work with just a key
- MetaTrader 5 (Exness) broker connector with bidirectional identity guard, lot-aware sizing hooks, and an mt5 data source heading the forex fallback chain (12 brokers, 23 market-data sources)
- Strategy Development Manager (sdm_register / sdm_status / sdm_decay_scan) backed by a SQLite artifact store with automated IC/Sharpe decay monitoring and lifecycle states
- Binance USD-M perpetuals with execution/mark price separation, historical funding settlements, and zero-credential backtests via a content-hashed maintenance-bracket artifact
- Security hardening closing all 10 findings from the 2026-07-10 external audit, plus an 80x signal-alignment vectorization and look-ahead-bias fixes across all five portfolio optimizers
New Features
- Correlation regime timeline endpoint (GET /correlation/regime) with edge-density scalar, causal smoothing, and hysteresis-based FUSED episode detection
- Opt-in 'Regime timeline' strip on the Correlation tab, backed by the correlation-regime skill
- Native SiliconFlow (CN + Global) LLM provider adapter
- Native iFlytek Spark LLM provider adapter
- Native Anthropic Messages API adapter (pip install "vibe-trading-ai[anthropic]")
- MiniMax regional endpoint support
- Centralized provider credential resolution path
- Canonical catalog endpoint fallback when no *_BASE_URL is set, plus non-streaming fallback when a stream returns zero chunks
- MetaTrader 5 (Exness) broker connector with read surface, order placement, identity guard, and max_order_volume / max_order_notional_usd caps
- mt5 data source with broker-exact symbol discovery and 1m-1D bars in the forex fallback chain
- Strategy Development Manager skill (sdm_register, sdm_status, sdm_decay_scan) with persistent SQLite artifact store and decay lifecycle monitoring
- Pluggable OCR engine architecture for read_document with optional LLM-vision extraction and configurable text-density threshold
- Binance USD-M perpetual routing (BTC-USDT-PERP) with execution/mark price separation and historical funding settlements
- Content-hashed, validated maintenance-bracket artifact enabling zero-credential perp backtests
- Realized portfolio turnover metrics for all optimizers
- Opt-in TAP mode for Alpaca
- IBKR thread-local connection pool and snapshot quotes
- Robinhood account_number wiring
- Requesty gateway provider
- User swarm-presets discovery and swarm MCP tool-discovery caching
- Two new academic factors: Frazzini-Pedersen betting-against-beta and academic_corr_rewire (Alpha Zoo now 462 factors across 5 families)
- Strict RFC-8259 JSON output (null instead of NaN/Infinity) across scalar metrics, factor IC std, and pattern trend-slope
- Session/journal robustness for corrupt session.json and schema-bad messages.jsonl lines
Full Release Notes
## ๐ v0.1.12 โ Correlation regime timeline, three new providers, MetaTrader 5 + a reliability wave `v0.1.12` rolls up nearly two weeks of work since 0.1.11 (2026-07-10) โ the headlines: a **correlation regime timeline** that answers *"when did the market fuse into one bloc, and are we in that state now?"*, **three new LLM providers** plus catalog-based endpoint resolution that makes every provider work with just a key, the **MetaTrader 5 (Exness) broker connector** (12 brokers), the **Strategy Development Manager** skill, **Binance USD-M perpetuals** with historical funding, and a broad **reliability wave** โ strict-JSON/finite hardening, session/journal robustness, an 80ร vectorization, and the native `zai` streaming fix. This release is available on **PyPI**, **ClawHub**, and GitHub Releases. ```bash pip install -U vibe-trading-ai # or uv tool install --reinstall vibe-trading-ai ``` ## Highlights ### ๐ Correlation regime timeline A new additive `GET /correlation/regime` endpoint and an opt-in **"Regime timeline"** strip on the Correlation tab (#756, closes #719, thanks @ebujinovch). It reuses the same price data `/correlation` already fetches: rolling pairwise correlations reduce to an **edge-density** scalar per bar (the fraction of asset pairs whose |ฯ| clears a threshold), the series is **causally smoothed** (trailing window โ never reads the future), and a **two-threshold hysteresis state machine** marks contiguous FUSED episodes, with a dead band that suppresses chatter. It shares `/correlation`'s auth + rate-limit budget, floors the window so short timelines can't return empty, and is explicitly **descriptive risk context, not a trading signal**. Backed by the `correlation-regime` skill (#557). ### ๐ Three new LLM providers + robust endpoint resolution Native adapters for **SiliconFlow** (CN + Global, #565, thanks @UNHNQ), **iFlytek Spark** (#537, thanks @FenjuFu), and the **native Anthropic Messages API** (#695, thanks @jelech; `pip install "vibe-trading-ai[anthropic]"`), plus **MiniMax regional endpoints** (#731, thanks @octo-patch). Underneath, provider credentials are resolved through one centralized path (#563, thanks @shadowinlife), and two long-standing rough edges are fixed (#758): when no `*_BASE_URL` is set, the backend now **falls back to each provider's canonical catalog endpoint** (the same default Web Settings already used) instead of silently defaulting to `api.openai.com` โ so a provider works with just a key โ and an endpoint that streams **zero chunks falls back to a non-streaming invoke** rather than erroring, with an HTML-error-page hint when a base URL is misconfigured. ### ๐ MetaTrader 5 (Exness) connector + `mt5` data source โ 12 brokers A first-class MetaTrader 5 broker connector (#481, thanks @StaniellG) โ full read surface plus order placement against a locally running terminal, with a **bidirectional identity guard** (paper profile โ demo `trade_mode`, login pinned, contest rejected) and connector-level `max_order_volume` / `max_order_notional_usd` caps on demo AND live. The live mandate gate gains `forex`/`cfd` instrument vocabulary and a **lot-aware sizing hook** so USD caps bind on lot-sized orders (0.1 lot EURUSD โ $10,800, never 0.1 ร quote). The `mt5` loader heads the forex fallback chain (broker-exact symbols with Exness suffix discovery, 1mโ1D bars). Broker connectors: 11 โ **12**; market-data sources โ **23**. ### ๐งฌ Strategy Development Manager `sdm_register` / `sdm_status` / `sdm_decay_scan` turn academic papers and broker research into **registered factors and strategies** (#457, closes #455, thanks @shadowinlife), backed by a persistent SQLite artifact store (`UNIQUE(name, universe)`) and automated **IC/Sharpe decay monitoring** driving an `active โ monitoring โ decayed โ disabled` lifecycle. Ships with pluggable OCR for `read_document` (local RapidOCR by default; cloud Qwen-VL is explicit opt-in only, never auto-selected). ### โฟ Binance USD-M perpetuals Explicit `BTC-USDT-PERP` routing with **execution/mark price separation** (fail-closed when the two aren't timestamp-synchronized) and historical **funding settlements** (#470/#716, thanks @honginp). Maintenance brackets are decoupled from the live authenticated fetch and supplied as a **validated, content-hashed artifact** instead (#757), so a plain `-PERP` backtest stays **zero-credential** โ the regression where every perp fetch required a Binance API key is gone. ### ๐๏ธ Pluggable OCR + LLM-vision extraction `read_document` gains a pluggable OCR engine architecture with optional **LLM-vision extraction** and a configurable text-density threshold (#548, thanks @shadowinlife) โ local by default, cloud engines opt-in only, never auto-selected. ### ๐งฐ Platform & safety - **Look-ahead-bias fix across all five portfolio optimizers** (#487, thanks @YZY0108) โ weights executed at a bar's open no longer include that bar's close-to-close return. Plus realized portfolio turnover metrics for every optimizer (#478, thanks @Robin1987China). - **Security hardening** โ all 10 findings from the 2026-07-10 external audit closed (#476): AST-hardened backtest sandbox, short-lived SSE auth tickets, hardened Compose, `/correlation` auth + rate limiting, security headers, hash-locked dependencies, and SHA-pinned Actions. - **80ร signal-alignment vectorization** (#698, thanks @shadowinlife) and swarm MCP tool-discovery caching (#704) cut wall-clock on wide panels and multi-worker runs. - **Opt-in TAP mode for Alpaca** (#377, thanks @0xZKnw), **IBKR thread-local connection pool + snapshot quotes** (#636, thanks @MikeCer), **Robinhood `account_number` wiring** (#726, thanks @nareshkps), the **Requesty** gateway provider (#474, thanks @Thibaultjaigu), and **user swarm-presets discovery** (#570, thanks @darkknight4563). - **Two new academic factors** โ Frazzini-Pedersen betting-against-beta (#480, thanks @YogeshModi24) and `academic_corr_rewire` (#705, thanks @ebujinovch): Alpha Zoo 460 โ **462 across 5 families**. ### ๐ ๏ธ Reliability & correctness wave - **Strict-JSON / finite-number hardening** across the backtest + tools stack (thanks @santhreal) โ risk ratios stay finite when equity crosses zero (#765) or annualizes an explosive path (#739/#740); scalar metrics (#766), factor IC std (#767), and pattern trend-slope (#764) emit strict RFC-8259 JSON (`null`, never `NaN`/`Infinity`); Black-Scholes helpers treat non-positive spot/strike as intrinsic (#744). - **Session / journal robustness** โ one corrupt `session.json` (#762) or schema-bad `messages.jsonl` line (#763) no longer aborts listing/reading; Excel float-stringified A-share codes (#770), unicode-dash PDF page ranges (#769), `export KEY=` dotenv lines (#768), and yahoo `1m` bars (#761) all parse correctly. - **Broad reliability** โ cancellation is honored before the first AgentLoop iteration (#641, closes #638), a frontend `insertBefore` streaming DOM-race is fixed (#717, thanks @Marnie0415), the composite engine falls back for unknown symbols (#734), codex stream HTTP failures are classified for correct retry (#663), and #584 (thanks @xkam7ar) closes a batch of packaging/web/scheduler/swarm/CLI issues. ### ๐ Contributor cycle ~90 correctness/reliability fixes and features from a wide contributor cohort โ @santhreal (a 30-PR correctness sweep), @xkam7ar (reliability + QVeris hardening), @shadowinlife (SDM, OCR, vectorization), @ebujinovch (regime timeline), @honginp (Binance perps), @StaniellG (MetaTrader 5), and many more. Full per-person credits live in the README Contributors section and the [CHANGELOG](https://github.com/HKUDS/Vibe-Trading/blob/main/CHANGELOG.md). Thanks also to @GabbaTauchi for the zai bug report (#758). ## Install / upgrade | Channel | Command | |---|---| | **PyPI** | `pip install -U vibe-trading-ai` | | **uv tool** | `uv tool install --reinstall vibe-trading-ai` | | **ClawHub** (Claude Desktop / OpenClaw / MCP clients) | `clawhub install vibe-trading` or update the installed skill | | **Docker** | `docker compose pull && docker compose up -d` | Remote API/Web deployments should set `API_AUTH_KEY` and explicit trusted CORS origins; local CLI and localhost Web UI workflows stay low-friction. ## By the numbers **Numbers at 0.1.12**: 8 backtest engines + `options_portfolio` ยท **462** alphas / 5 families ยท **88** skills ยท 30 swarm presets ยท **23** market-data sources ยท **12** broker connectors ยท **75** free-mode tools (78 with QVeris) ยท 54 MCP tools ยท 5 optimizers ยท 16 IM adapters. ### Validation Full backend suite **6,019 passed** (only pre-existing env/network fails, confirmed against clean main); frontend build + **310 vitest** green; wheel verified (`vibe_trading_ai-0.1.12`, contents spot-checked). Protected agent core (`src/agent`, `src/session`, `src/providers`) reviewed for every change. **Full changelog:** [CHANGELOG.md](https://github.com/HKUDS/Vibe-Trading/blob/main/CHANGELOG.md) ยท **Compare:** [v0.1.11...v0.1.12](https://github.com/HKUDS/Vibe-Trading/compare/v0.1.11...v0.1.12) </content>
Related Repositories
A collective list of free APIs
The agent that grows with you
A feature-rich command-line audio/video downloader
Python tool for converting files and office documents to Markdown.
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.