我正在使用python3.我有1分钟频率的报价系列.报价仅在交易时间内提供.我尝试使用plotly绘制它,但在非交易时间和周末有差距.我怎样才能使这个情节连续?
我的代码就像
ifBasisPlot=go.Scatter( x=ifBasis.date, y=ifBasis.basis, line=go.Line(width=1,color='blue'), name='basis' )
data = go.Data([ifBasisPlot])
ifBasisPlot_url = py.plot(data, filename='ifBasisPlot', auto_open=False,)
Run Code Online (Sandbox Code Playgroud)
情节和数据在这里:https://plot.ly/~shuaihou96/14/if/
| 归档时间: |
|
| 查看次数: |
1321 次 |
| 最近记录: |