Finance-Python
Finance-Python copied to clipboard
使用DataAPI的时候找不到calculate_max_drawdown
使用DataAPI的时候找不到calculate_max_drawdown import DataAPI
from PyFin.POpt.Calculators import calculate_max_drawdown ImportError: cannot import name 'calculate_max_drawdown'
same problem. I check t he PyFin.POpt.Calculators package, there is no calculate_max_drawdown method in Calculators script. author delete related method. you can find in history. https://github.com/alpha-miner/Finance-Python/blob/master/PyFin/POpt/Calculators.py
请问解决了嘛
在历史记录中可以找到作者曾经写的,但是不知道为什么他把这行代码删了
---原始邮件--- 发件人: @.> 发送时间: 2022年7月30日(周六) 中午11:31 收件人: @.>; 抄送: @.@.>; 主题: Re: [alpha-miner/Finance-Python] 使用DataAPI的时候找不到calculate_max_drawdown (#13)
请问解决了嘛
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>