-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可以增加设置数据源的配置吗 #14
Comments
没有增加是怕变得臃肿。我不记得Tushare自己有sqlite/mongodb配置? |
截图上传失败,nosql就是,往下翻就能看到, |
不过确实不是tushare直接提供的 MongoDB 使用方法: import pymongo conn = pymongo.Connection('127.0.0.1', port=27017) conn.db.tickdata.insert(json.loads(df.to_json(orient='records'))) |
用mysql也可以,有个数据存存起来感觉更好点,哈哈哈 |
@royburns 确实可以考虑一下,目前没加还是因为dependency太复杂会增加使用难度 |
我记得tushare有多种数据源,有实时拉取,也有缓存到本地的,sqlite或者mongodb之类的
The text was updated successfully, but these errors were encountered: