python - 如何将 boost::none 传递给 Python Quantlib

标签 python quantlib quantlib-swig

这与我之前的一个问题有关:

Quantlib passing a date vector to Schedule class

基本上,我已经在 C++ 中完成了所有工作。如果我使用 Python,知道如何将 boost::none 传递给 Python 函数吗?

非常感谢。

最佳答案

不幸的是,你没有。我们仍然没有将那部分接口(interface)导出到 Python。

关于python - 如何将 boost::none 传递给 Python Quantlib,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40787775/

相关文章:

Python PIL导入Mac兼容性

python - 尝试在keras中拟合CNN模型时发生`InvalidArgumentError`?

python-3.6 - python 3.6 : No module named _QuantLib after installation of QuantLib and QuantLib-SWIG

c++ - 将日期 std::string 转换为 QuantLib::Date 对象

python - 在 'apple silicon' Macbook 上运行 QuantLib python

finance - 使用 QuantLib 计算 floored FloatingRateBond 的现金流量

python - 简单地初始化变量会出错?

python - 创建临时用户帐户 - Django

python - 使用 Python 通过 QuantLib 对债券进行每日定价

python - Python 中的 QuantLib cpibond 债券示例