cufflinks基于QuantFig绘制高级金融图
#
import cufflinks as cf
cf.set_config_file(offline=True, world_readable=True)
df=cf.datagen.ohlc()
qf=cf.QuantFig(df,title='高级金融张图',legend='top',name='QF')
qf.add_bollinger_bands()
qf.iplot()
#
import cufflinks as cf
cf.set_config_file(offline=True, world_readable=True)
df=cf.datagen.ohlcv()
qf