PortfolioOptions<T>
Options & Configuration ยท AiDotNet.Models.Options
Configuration options for portfolio optimization models.
Inheritance: ModelOptions โ PortfolioOptions<T>
Constructors
| Constructor | Summary |
|---|---|
PortfolioOptions() |
Properties
| Property | Summary |
|---|---|
bool AllowShortSelling { get; set; } |
Whether to allow short selling (negative weights). |
double MaxWeight { get; set; } |
Maximum weight for a single asset (concentration limit). |
int NumAssets { get; set; } |
The number of assets in the portfolio. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Validates the portfolio options. |