Stale Fills page: market orders now wait for fresh data instead of always filling on stale prices (Lean #9535, #9563)
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- html
調査の方向性
Resources/order-types/stale-fills.htmlと、fill-with-stale-data.phpを含む参照先のEquityページから始め、現在の文言をengineの動作およびissueで提案されている変更と比較してください。データ解像度に応じて古い市場注文がいつ待機するのか、stale_price_time_spanがどのように経過時間のしきい値を設定するのか、古い価格の警告がいつ表示されるのかを説明してください。ページがこれらのケースを正確に説明できていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Page
Resources/order-types/stale-fills.html, rendered at https://www.quantconnect.com/docs/v2/writing-algorithms/reality-modeling/trade-fills/key-concepts#06-Stale-Fills (and included by the Equity model's limit / stop / trailing-stop pages via fill-with-stale-data.php).
What it says
The pre-built fill models can only fill market orders with stale data.
What the engine does since Lean PR #9535 (2026-06-18) and #9563 (2026-07-01)
A market order whose best available price is older than StalePriceTimeSpan (default one hour) no longer fills on that stale price in every case. FillModel.InternalMarketFill calls ShouldWaitForFreshDataOnStale, which keeps the order pending (status Submitted) and waits for fresher data when:
- the asset is subscribed only at hour or daily resolution (always waits), or
- at minute / second resolution, the latest data end time is more than one resolution bar behind the order submission time.
Only tick subscriptions still fill on the stale price with the Warning: fill at stale price message. When a waiting market order fills, it fills at the open of the bar trading resumed on when the order was resting before that bar (GetMarketFillPrice, hour/daily only).
Verified on a backtest on LEAN 18226: a market order on a minute-resolution Binance crypto future whose last cached bar ended two hours before submission stayed Submitted until newer data arrived, then filled.
Suggested change
Describe the wait: a market order on data older than StalePriceTimeSpan fills immediately only on tick data; on minute/second data it waits when the data is more than one bar behind the order time, and on hour/daily data it waits for the next bar; stale_price_time_span sets the age threshold. The same page could mention that the warning message is attached only when the order does fill on stale data.
- 主要言語
- HTML
- スター
- 267
- フォーク
- 190
- 平均マージ
- 8時間 38分
- マージ済み PR(30日)
- 69
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
QuantConnect/Documentation のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
QuantConnect/Documentation#2845 ·
メンテナーはふだん 1 日以内に返信
-
Research resampling example sums quote sizes instead of taking the last size対応中かも @jeevanabhi-r が 4 日前に担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
QuantConnect/Documentation#2838 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
QuantConnect/Documentation#2670 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
QuantConnect/Documentation#2139 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Review the Data Analyser Class再び着手できるかも @DerekMelchin が 485 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
QuantConnect/Documentation#2120 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
QuantConnect/Documentation の issue をすべて見る
似ている issue
-
documentation good first issue roadmap
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
postcss/postcss.org#302 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
PyTomography/PyTomography#431 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
aws-samples/sample-per-model-bedrock#803 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
earendil-works/pi-claude-code#36 ·
メンテナーはふだん 6 日以内に返信