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=self.date)
print big_share[['time', 'code', 'price', 'preprice', 'volume', 'type']]
print big_share.sort(columns='volume')
评论列表
文章目录