Boutquin.Trading.Domain
1.0.2
dotnet add package Boutquin.Trading.Domain --version 1.0.2
NuGet\Install-Package Boutquin.Trading.Domain -Version 1.0.2
<PackageReference Include="Boutquin.Trading.Domain" Version="1.0.2" />
<PackageVersion Include="Boutquin.Trading.Domain" Version="1.0.2" />
<PackageReference Include="Boutquin.Trading.Domain" />
paket add Boutquin.Trading.Domain --version 1.0.2
#r "nuget: Boutquin.Trading.Domain, 1.0.2"
#:package Boutquin.Trading.Domain@1.0.2
#addin nuget:?package=Boutquin.Trading.Domain&version=1.0.2
#tool nuget:?package=Boutquin.Trading.Domain&version=1.0.2
Boutquin.Trading.Domain
Domain Layer
Core domain contracts, events, value objects, enums, and extension methods for the Boutquin.Trading quantitative trading framework.
This package defines all abstractions — Application and Data layer packages provide implementations.
Interfaces (33)
| Category | Interfaces |
|---|---|
| Core Engine | IPortfolio, IBrokerage, IStrategy, IPositionSizer, IEventProcessor, IEventHandler, IFinancialEvent |
| Construction | IPortfolioConstructionModel, IRobustConstructionModel, ILeveragedConstructionModel, ICovarianceEstimator, IDownsideRiskMeasure, IRebalancingTrigger |
| Risk | IRiskManager, IRiskRule, IDrawdownControl |
| Tactical | IIndicator, IMacroIndicator, IRegimeClassifier |
| Universe | IUniverseSelector, ITimedUniverseSelector |
| Data | IMarketDataFetcher, IMarketDataStorage, IMarketDataProcessor, IEconomicDataFetcher, IFactorDataFetcher, ICurrencyConversionService, ISymbolReader |
| Infrastructure | ITradingCalendar, ITransactionCostModel, ISlippageModel, IOrderPriceCalculationStrategy, ICapitalAllocationStrategy |
Events
MarketEvent, SignalEvent, OrderEvent, FillEvent — the four-stage event pipeline driving the backtest engine.
Enums (14)
AssetClassCode, CalendarCompositionMode, ContinentCode, CountryCode, CurrencyCode, EconomicRegime, ExchangeCode, FamaFrenchDataset, OrderType, RebalancingFrequency, SecuritySymbolStandard, SignalType, TimeZoneCode, TradeAction
Value Objects
Asset, SecurityId, StrategyName, RiskEvaluation, BatchRiskEvaluation, AssetWeightConstraints
Analytics Records
BrinsonFachlerResult, CorrelationAnalysisResult, DrawdownPeriod, FactorRegressionResult, WalkForwardResult, MonteCarloResult, AssetMetadata
Extension Methods
DecimalArrayExtensions— 20+ financial metrics (Sharpe, Sortino, Calmar, MaxDrawdown, VaR, CVaR, etc.) ondecimal[]EquityCurveExtensions— Drawdown analysis, monthly/annual returns from equity curves
Helpers
RollingWindow<T> (generic circular buffer), TearSheet (performance summary record), FamaFrenchConstants, MarketDataFileNameHelper, CholeskyQpSolver
Installation
dotnet add package Boutquin.Trading.Domain
Disclaimer
Boutquin.Trading is open-source software provided under the Apache 2.0 License. It is a general-purpose research and backtesting tool intended for educational purposes only.
This software does not constitute financial advice. All historical performance data represents backtested results computed using actual historical index and ETF return data. Backtested performance is hypothetical and does not represent actual trading. Actual investment results may differ materially. Past performance is not indicative of future results.
The software authors are not registered investment advisers, portfolio managers, or financial planners. Use of this software to make investment decisions is entirely at your own risk. Before making any investment decision, consult with a qualified financial professional who understands your individual circumstances, goals, and risk tolerance.
License
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Boutquin.Domain (>= 0.7.0)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Boutquin.Trading.Domain:
| Package | Downloads |
|---|---|
|
Boutquin.Trading.DataAccess
Common abstractions (DbContext, Entity Configurations) specific to a Trading Data Access layer. |
|
|
Boutquin.Trading.Application
Common abstractions (Strategy, Portfolio, BackTest) specific to a Trading Application layer. |
|
|
Boutquin.Trading.Data.CSV
CSV market data storage and retrieval for the Boutquin.Trading quantitative trading framework. Reads and writes daily OHLCV and FX rate data in CSV format. |
|
|
Boutquin.Trading.Data.FamaFrench
Fama-French factor data fetcher for the Boutquin.Trading quantitative trading framework. Downloads factor return series (3-factor, 5-factor, momentum) from the Kenneth R. French Data Library. |
|
|
Boutquin.Trading.Data.TwelveData
Twelve Data market data fetcher for the Boutquin.Trading quantitative trading framework. Provides OHLCV, adjusted prices, dividends, and splits via the Twelve Data REST API. |
GitHub repositories
This package is not used by any popular GitHub repositories.