def realtime(self, id):
# all_stock=ts.get_today_all()
# print all_stock
df = ts.get_realtime_quotes(id)
# print df[['time','name','price','bid','ask','volume']]
# print df.head()
price_change = ts.get_today_ticks(id)
print price_change[['time', 'change', 'type', 'volume']]
big_share = ts.get_sina_dd(id, date='2016-04-01')
print big_share[['time', 'code', 'price', 'preprice', 'volume', 'type']]
评论列表
文章目录