【发布时间】:2016-03-10 04:53:43
【问题描述】:
我正在使用 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,)
情节和数据在这里:https://plot.ly/~shuaihou96/14/if/
【问题讨论】: