Comments (2)
tushare提供的数据有时候会出错,多尝试几次
若错误一直存在,可以在ui/management/commands/refresh_data.py中追踪此错误
from stockvisualization.
tushare提供的数据有时候会出错,多尝试几次
若错误一直存在,可以在ui/management/commands/refresh_data.py中追踪此错误
我单独测试了一下tushare的接口,这个接口失效了:
today_all = ts.get_today_all()
一直返回错误,不知道是我的环境原因还是就是这个接口不能用了,另外我看tushare好像有 pro版本的,但是在里面没找到这个接口。
解决方法参考链接:https://blog.csdn.net/xsophiax/article/details/106119968
替换文件:usr/local/lib/python3.7/dist-packages/tushare/stock/trading.py
from stockvisualization.
Related Issues (10)
- python3 manage.py collectstatic出错 HOT 1
- 能做成前后端分离的吗? HOT 3
- Unknown command: 'refresh_data' HOT 3
- python manage.py refresh_data doesn't work HOT 1
- 大佬求助!项目启动后为什么404呀? HOT 4
- NaN了... HOT 1
- 大佬求助,怎么样可以不部署在服务端的前提下启动整个项目呢 HOT 6
- 大佬有个问题解决不了 可以联系一下嘛 有偿 HOT 1
- 哥,你的token都在代码里了,这么无私吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stockvisualization.