Skip to main content
Trading12 min read

嘘をつかないバックテストエンジンの構築

ほとんどのバックテストエンジンは見栄えの良い結果を出すが、実際の取引では機能しない。QuantumTraderのバックテストエンジンを正直なパフォーマンス評価のためにどう構築したか。

Part ofFintech & Trading Systems->
By Jason TeixeiraMarch 28, 2026
PythonBacktestingTradingQuantitativeRisk Management
Share:
On this page

すべてのクオンツトレーダーが経験したことがあるはずです。バックテストでは年率200%のリターン。実際のトレードでは-15%。

問題はほとんどの場合、戦略ではありません。バックテストそのものにあります。ほとんどのバックテストエンジンは、楽観的な前提で嘘をつくのです。

バックテストが語る5つの嘘

嘘その1:完全約定

ほとんどのエンジンは、あなたの注文が表示された価格で正確に約定すると想定しています。現実には:

  • 成行注文は(買いの場合)売り気配値、(売りの場合)買い気配値で約定し、仲値では約定しない
  • 大口注文は市場を動かす(スリッページ)
  • ボラティリティが高い時期には、想定より5〜10ティック悪い価格で約定することもある

私のエンジンではこれをモデル化しています:

Reader route

article -> proof -> offer

ReadClusterProofScope

cluster

Fintech & Trading Systems

intent

Trading

route

next step

What to do with this

Turn the note into a build path.

If this topic maps to a real business problem, keep reading the cluster, study the academy path, or route the work into a scoped engagement.

Jason Teixeira
Written by
Jason Teixeira
Founder, Sage Ideas Studio · Principal Engineer
livebuild 81e8c8e2026-07-28 06:02Z
// solo studio// no analytics resold// every commit human-reviewed