Exante futures fees do not scale with contract quantity
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 88/100
Línea de trabajo
Lee Common/Orders/Fees/ExanteFeeModel.cs, centrándote en la rama SecurityType.Future, y compara su comportamiento con la configuración existente InteractiveBrokersFeeModelTests.USAFutureFee. Añade pruebas de regresión para uno y varios contratos en ambas direcciones de orden y, después, ejecuta las pruebas pertinentes del modelo de comisiones. Se considerará terminado cuando las comisiones de futuros escalen según el valor absoluto de la cantidad, mientras que la tarifa existente por contrato y el comportamiento de las comisiones no relacionadas permanezcan sin cambios.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 22.5k
- Forks
- 5.4k
- Merge medio
- 13 h 11 min
- PR fusionados (30 d)
- 104
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de QuantConnect/Lean
-
priority:p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
QuantConnect/Lean#10191 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
priority:p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
QuantConnect/Lean#10189 ·
Los mantenedores suelen responder en 1 día
-
priority:p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
QuantConnect/Lean#10175 ·
Los mantenedores suelen responder en 1 día
-
priority:p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
QuantConnect/Lean#10147 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
PDF report generation can overwrite HTML when the destination extension is not lowercase .htmlAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
QuantConnect/Lean#10082 ·
Los mantenedores suelen responder en 1 día
Todos los issues de QuantConnect/Lean
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
area-ai untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
dotnet/extensions#7956 ·
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
microsoft/microsoft-ui-reactor#1567 ·
Los mantenedores suelen responder en 1 día
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
openclaw/openclaw-windows-node#2287 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
AI Generated CI/CD ⚒️ Flaky-tests 🐦 go 🏃
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
valkey-io/valkey-glide#7772 ·
Los mantenedores suelen responder en 1 día