发布

  • 15536 3712786301

    Enable custom Python optimizer in C# MeanVarianceOptimizationPortfolioConstructionModel (#7274)

    frostbyte_neo 发布于 2023-05-25 13:15:56 +00:00 | 1409 次提交 在此版本后已推送到 master

    • Solve bug and add regression test

    The bug was raised because, when trying to use C#
    MeanVarianceOptimizationPortfolioConstructionModel from a Python
    algorithm, there wasn't a constructor that accepted a portfolio optimizer
    as a PyObject. Additionally, there wasn't also a Python Wrapper to wrapp
    that portfolio optimizer.

    • Add PortfolioOptimizerPythonWrapper.cs
    • Add constructor in
      MeanVarianceOptimizationPortfolioConstructionModel.cs that accepts
      portfolio optimizer as a PyObject
    • Add regression algorithms to cover the changes
    • Improve constructor overload implementation

    • Change implementation to follow API pattern

    • Enhance implementation and add unit tests

    • Enhance implementation and add more unit tests

    • Enhance implementation

    下载附件