Skip to content

Python SWIG function inputs.setPortfolioFromFile #306

@rkapl123

Description

@rkapl123

Dear All!

Is there any way to use the function setPortfolioFromFile (defined as void setPortfolioFromFile(const std::string& fileNameString, const std::filesystem::path& inputPath); in ore_app.i)

I'm trying to add multiple portfolios to ORE using python and this seems to be the only way currently supported. Unfortunately I don't know how to create a std::filesystem::path in python...

-regards,
Roland

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions