Backtrader Event Driven

Backtrader Event Driven: Backtrader Event Driven: specialized toolkit for 3+ finance workflows covered in the triggers section.

✓ 0 reported success·v0.1.0·

Overview

Backtrader Event Driven 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/backtrader-event-driven for bilingual documentation and use cases. Compatible with the Doramagic ecosystem (Claude Code, Cursor, openclaw, ChatGPT, Gemini, etc.).

Blueprint Source

finance-bp-086

zvtvz/zvt6360a632 source files

Constraints

55total
30fatal
30 must-not-violate

Evidence Quality

Confidence88%

Medium confidence — review before critical use

30 non-negotiable constraints

FATALarchitecture_guardrailfinance-C-001

WHENWhen implementing a CSV data feed

ACTIONoverride _loadline method to parse tokens into OHLCV values

CONSEQUENCECSV data feed will fail to parse any market data because _loadline is the only hook for subclasses to implement token-to-value conversion, causing the entire backtest to receive no price data

FATALdomain_rulefinance-C-002

WHENWhen parsing datetime strings from CSV

ACTIONuse the exact dtformat parameter matching the source file format

CONSEQUENCEDatetime parsing will raise ValueError at runtime when the format string doesn't match the actual date format in the CSV file, causing data loading to fail silently or crash the entire backtest

FATALdomain_rulefinance-C-003

WHENWhen configuring data feed column indices

ACTIONverify CSV column indices match the actual column positions in the file

CONSEQUENCEOHLCV values will be assigned to wrong lines or raise IndexError when column indices don't align with the actual CSV structure, producing garbage data in indicators and trading signals

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.