Pycharm,脚本运行vnpy,run.py中,如下四句代码均显示红色下划线,ctrl+b(goto Declaration or Usage)也没找到对应的名字,main_engine.add_app能正常运行,在主程序中,也能正常使用,那这四个app是在哪导入的呢?
from vnpy.app.cta_strategy import CtaStrategyApp
from vnpy.app.cta_backtester import CtaBacktesterApp
from vnpy.app.data_manager import DataManagerApp
from vnpy.app.risk_manager import RiskManagerApp
main_engine.add_app(CtaStrategyApp)
main_engine.add_app(CtaBacktesterApp)
main_engine.add_app(RiskManagerApp)
main_engine.add_app(DataManagerApp)