Closed shaoyucheng closed 4 years ago
谢谢,会在3.26上修改。
------------------ 原始邮件 ------------------ 发件人: "FutunnOpen/py-futu-api" <notifications@github.com>; 发送时间: 2020年9月18日(星期五) 中午11:32 收件人: "FutunnOpen/py-futu-api"<py-futu-api@noreply.github.com>; 抄送: "Subscribed"<subscribed@noreply.github.com>; 主题: [FutunnOpen/py-futu-api] 例子中的小bug (#60)
文件路径:futu/examples/macd_strategy.py
代码段 cash = acc_info['Power'][0] # 购买力
Power首字母应为小写即:
cash = acc_info['power'][0] # 购买力
否则将会报如下错误:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
文件路径:futu/examples/macd_strategy.py
代码段
cash = acc_info['Power'][0] # 购买力
Power首字母应为小写即:
cash = acc_info['power'][0] # 购买力
否则将会报如下错误: