def main():
now = time.strftime("%Y-%m-%d")
# print now
token = '60517739976b768e07823056c6f9cb0fee33ed55a1709b3eaa14a76c6a1b7a56'
sb = StockBox()
# sb.looper(id)
id = '300333'
# sb.realtime(id)
sb.base_function("300333")
# pandas_test=Pandas_test()
# pandas_test.test_function()
# sb.longhuban('2016-04-05')
# sb.getNews()
# sb.fund()
#sb.get_stock_chengfeng()
#sb.date_store()
#sb.profit_test()
#sb.daily_longhu()
# ?????? ?3????
history = ts.get_hist_data(id)
print u"??3????"
print history.head(10)
history_all = ts.get_h_data(id, '20015101', '20160101')
print u'???????'
print history_all
# print type(stockInfo)
# print stockInfo.head()
# print stockInfo.dtypes
#df = ts.get_stock_basics()
#data = df.ix[id]['timeToMarket']
#print data
#ts.get_today_all()
评论列表
文章目录