From c58e71954ca985967e17c33ff4b354ffda857321 Mon Sep 17 00:00:00 2001 From: frank Date: Fri, 21 Jun 2019 10:03:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=B9=E6=96=B0=E6=B5=AA?= =?UTF-8?q?=E5=A4=9A=E4=BD=99=E6=95=B0=E6=8D=AE=E5=89=94=E9=99=A4=E7=9A=84?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tushare/stock/trading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tushare/stock/trading.py b/tushare/stock/trading.py index 0425c004..8bd84c59 100644 --- a/tushare/stock/trading.py +++ b/tushare/stock/trading.py @@ -378,7 +378,7 @@ def get_realtime_quotes(symbols=None): syms_list = [] for index, row in enumerate(data): if len(row)>1: - data_list.append([astr for astr in row.split(',')]) + data_list.append([astr for astr in row.split(',')[:33] ])#if sina ruturn data lenth >33 syms_list.append(syms[index]) if len(syms_list) == 0: return None