VectorBT Vectorized

VectorBT Vectorized: VectorBT Vectorized: specialized toolkit for 3+ finance workflows covered in the triggers section.

✓ 0 reported success·v0.1.0·

Overview

VectorBT Vectorized skill for finance analytics + 回测. Covers 3+ use cases. (batch-v1 draft, needs English review) This skill is built on open-source project zvtvz/zvt and embeds 25 anti-pattern constraints. Visit doramagic.ai/r/vectorbt-vectorized for bilingual documentation and use cases. Compatible with the Doramagic ecosystem (Claude Code, Cursor, openclaw, ChatGPT, Gemini, etc.).

Blueprint Source

finance-bp-092

zvtvz/zvt6360a632 source files

Constraints

95total
70fatal
70 must-not-violate

Evidence Quality

Confidence89%

Medium confidence — review before critical use

70 non-negotiable constraints

FATALarchitecture_guardrailfinance-C-001

WHENWhen implementing Data.download_symbol or Data.update_symbol

ACTIONOverride the abstract method with source-specific implementation

CONSEQUENCEBase class raises NotImplementedError, preventing any data download operation. The plugin architecture requires subclass implementation for each data source (Yahoo Finance, Binance, CCXT, Alpaca, synthetic).

FATALdomain_rulefinance-C-002

WHENWhen downloading multiple symbols into Data object

ACTIONVerify each symbols share the same temporal index after alignment

CONSEQUENCEVectorBT performs vectorized matrix operations across symbols. Misaligned indexes cause incorrect broadcast calculations, producing wrong trading signals and invalid backtest results. Matrix operations require uniform index across all symbols.

FATALdomain_rulefinance-C-003

WHENWhen downloading price data for indicator computation

ACTIONInclude OHLCV columns (Open, High, Low, Close, Volume) in the downloaded data

CONSEQUENCEOHLCV accessors (pd.DataFrame.vbt.ohlcv.*) return None for missing columns, causing indicators like SMA, EMA, MACD to receive empty data and produce NaN results. Downstream portfolio simulation fails with no signals generated.

FAQ

Discussion (0)

No comments yet. Be the first to share!

Changelog

v0.1.02026-04-23·Contributors: tangweigang-jpg

v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on zvtvz/zvt.