Skip to content

Instantly share code, notes, and snippets.

@wynemo
Created December 21, 2015 08:57
Show Gist options
  • Save wynemo/d4ad164bc3111a409ddb to your computer and use it in GitHub Desktop.
Save wynemo/d4ad164bc3111a409ddb to your computer and use it in GitHub Desktop.
把玩tushare.md

https://github.com/waditu/tushare 安装需要 pandas, lxml 为何不在requirements里写出来呢

import tushare as ts df = ts.get_realtime_quotes('399006') df[['code','name','price','bid','ask','volume','amount','time']] code name price bid ask volume amount time 0 399006 创业板指 2829.921 0.000 0.000 1493729306 46653540296.720 15:05:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment