Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

nautilus-trader-catalog-instrument-precision

Sterne0
Forks0
Aktualisiert7. Mai 2026 um 12:40

Fix for "RuntimeError: invalid bar.volume.precision=N did not match instrument.size_precision=M" or similar bar/instrument precision-mismatch errors at BacktestEngine.run() time. Use when: (1) bars come from a ParquetDataCatalog and the instrument is loaded from somewhere else (TestInstrumentProvider, hand-built, hard-coded), (2) eval works but paper fails (or vice versa) on the same data, (3) you've seeded a catalog with one tool and are running the engine with an instrument from another. The fix is to load instruments FROM the catalog so their precisions match the bars stored alongside them.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly