Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

nautilus-trader-catalog-instrument-precision

Étoiles0
Forks0
Mis à jour7 mai 2026 à 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

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

SKILL.md
readonly