以竖立的线条表现股票价格的变化,可以呈现“开盘价、最高价、最低价、收盘价”,竖线呈现最高价和最低价间的价差间距,左侧横线代表开盘价,右侧横线代表收盘价
?...'AAPL.Close',
'AAPL.Volume', 'AAPL.Adjusted', 'dn', 'mavg', 'up', 'direction'],
dtype='object...,
close=df['AAPL.Close']
))
fig.update_layout(
title="苹果公司股票走势图", # 标题
yaxis_title="股票价格...开启显示滑块:fig.update(layout_xaxis_rangeslider_visible=True)
?...open'],
mode='lines',
name='福建金森'
))
fig.update_xaxes(
rangeslider_visible=True, # 开启显示滑块