复制链接
克隆策略
In [6]:
df = DataSource("bar1d_CN_STOCK_A").read(['600382.SHA'],start_date="2020-06-01", end_date="2021-06-30",fields =["open"])
df = df.set_index('date')
df.index = df.index.strftime("%Y-%m-%d")
df =df["open"]
T.plot(df,title="600382.SHA 开盘价")