fig2 = m.plot_components(forecast) st.write(fig2) 要运行此程序,首先需要使用 pip 安装 Streamlit、yfinance、prophet 和 plotly python 库。 pip install streamlit prophet yfinance plotly 然后使用命令streamlit run smart_trade.py 运行它 "使用我们的 Streamlit 应用程序预测 NVDA 股票" - Nvidia 股票在未来...
For Python 3.9,Qlibsupports running workflows such as training models, doing backtest and plot most of the related figures (those included innotebook). However, plotting for themodel performanceis not supported for now and we will fix this when the dependent packages are upgraded in the future...