Exante futures fees do not scale with contract quantity
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Common/Orders/Fees/ExanteFeeModel.csを読み、SecurityType.Futureの分岐に注目して、既存のInteractiveBrokersFeeModelTests.USAFutureFeeの設定と動作を比較してください。注文方向の両方について、単一契約と複数契約の回帰テストを追加し、関連する手数料モデルのテストを実行してください。先物の手数料が数量の絶対値に応じて変わり、既存の契約あたりの料率と無関係な手数料の動作が変わらないことを完了条件とします。
索引モデルが issue の本文から書いたものです。
説明
Problem
ExanteFeeModel.GetOrderFee returns a constant 1.5 USD for every futures order, without multiplying by the absolute contract quantity (Common/Orders/Fees/ExanteFeeModel.cs, SecurityType.Future branch). Multi-contract orders therefore have the same commission as a single contract.
This behavior is present on master and is independent of #10180's Forex fee-currency fix.
Reproduction
Built and ran a standalone .NET 10 program using the existing fee model and a CME ES future. Calling GetOrderFee with market orders produced:
| Order quantity | Returned fee | At the model's existing USD 1.50-per-contract rate |
|---|---|---|
| 1 | USD 1.50 | USD 1.50 |
| 10 | USD 1.50 | USD 15.00 |
| -10 | USD 1.50 | USD 15.00 |
A test can use the same Future setup as InteractiveBrokersFeeModelTests.USAFutureFee and replace the fee-model call with:
var fee = new ExanteFeeModel().GetOrderFee(new OrderFeeParameters(
security, new MarketOrder(security.Symbol, 10, time)));
Assert.AreEqual(Currencies.USD, fee.Value.Currency);
Assert.AreEqual(15m, fee.Value.Amount); // Actual: 1.5m
The provider's cost-and-charges disclosure, Example 8, explicitly states: “Fee per trade is calculated as US DOLLARS per contract.” Its futures page lists starting rates by exchange. This report concerns quantity scaling, not changing the modeled rate schedule.
Fix requirements
Scale the existing futures commission by absolute contract quantity, with regression coverage for a single contract, multiple contracts, and both order directions. Keep unrelated Forex/equity behavior unchanged.
Priority P2: limited to multi-contract futures orders using this fee model; single-contract orders are unaffected. Evidence of broader usage and materially wrong backtest results would justify raising it.
- 主要言語
- C#
- スター
- 22.5k
- フォーク
- 5.4k
- 平均マージ
- 13時間 11分
- マージ済み PR(30日)
- 104
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
QuantConnect/Lean のほかの issue
-
priority:p2
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
QuantConnect/Lean#10191 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority:p2
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
QuantConnect/Lean#10189 ·
メンテナーはふだん 1 日以内に返信
-
priority:p2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
QuantConnect/Lean#10175 ·
メンテナーはふだん 1 日以内に返信
-
priority:p2
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
QuantConnect/Lean#10147 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
QuantConnect/Lean#10082 ·
メンテナーはふだん 1 日以内に返信
QuantConnect/Lean の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
area-ai untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dotnet/extensions#7956 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
microsoft/microsoft-ui-reactor#1567 ·
メンテナーはふだん 1 日以内に返信
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
openclaw/openclaw-windows-node#2287 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
AI Generated CI/CD ⚒️ Flaky-tests 🐦 go 🏃
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
valkey-io/valkey-glide#7772 ·
メンテナーはふだん 1 日以内に返信