waditu / tushare

TuShare is a utility for crawling historical data of China stocks
BSD 3-Clause "New" or "Revised" License
12.91k stars 4.29k forks source link

[BUG] 服务器错误(数据库异常) #1708

Open NeoWang9999 opened 1 year ago

NeoWang9999 commented 1 year ago

{'api_name': 'bak_basic', 'token': '591e6891f9287935f45fc712bcf62335a81cd6829ce76c21c0fdf7b2', 'params': {'trade_date': '20221107'}, 'fields': ''}

{'code': 50101, 'msg': '服务器错误(数据库异常),请稍后再试!期待您能把错误反馈给我们,谢谢!', 'message': "(pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')\n[SQL: SELECT TRADE_DATE,TS_CODE,NAME,INDUSTRY,AREA,PE,FLOAT_SHARE,TOTAL_SHARE,TOTAL_ASSETS,LIQUID_ASSETS,FIXED_ASSETS,RESERVED,RESERVED_PERSHARE,EPS,BVPS,PB,LIST_DATE,UNDP,PER_UNDP,REV_YOY,PROFIT_YOY,GPR,NPR,HOLDER_NUM FROM TS_STK_TDX_BASIC WHERE TRADE_DATE = '20221107' ORDER BY TRADE_DATE desc LIMIT 7000]\n(Background on this error at: http://sqlalche.me/e/13/e3q8)", 'data': None}