tushare 1.4.7__py3-none-any.whl → 1.4.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tushare/__init__.py +1 -1
- tushare/subs/ts_subs/subscribe.py +1 -1
- {tushare-1.4.7.dist-info → tushare-1.4.8.dist-info}/METADATA +2 -2
- {tushare-1.4.7.dist-info → tushare-1.4.8.dist-info}/RECORD +7 -7
- {tushare-1.4.7.dist-info → tushare-1.4.8.dist-info}/LICENSE +0 -0
- {tushare-1.4.7.dist-info → tushare-1.4.8.dist-info}/WHEEL +0 -0
- {tushare-1.4.7.dist-info → tushare-1.4.8.dist-info}/top_level.txt +0 -0
tushare/__init__.py
CHANGED
@@ -176,7 +176,7 @@ def test():
|
|
176
176
|
app = TsSubscribe(token='')
|
177
177
|
|
178
178
|
# code 可以包含 * (通配符)
|
179
|
-
@app.register(topic='HQ_STK_TICK', codes=["
|
179
|
+
@app.register(topic='HQ_STK_TICK', codes=["600000.SH"])
|
180
180
|
def print_message(record):
|
181
181
|
"""
|
182
182
|
订阅主题topic,并指定codes列表,在接收到topic的推送消息时,符合code条件,就会执行回调
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tushare
|
3
|
-
Version: 1.4.
|
3
|
+
Version: 1.4.8
|
4
4
|
Summary: A utility for crawling historical and Real-time Quotes data of China stocks
|
5
5
|
Home-page: https://tushare.pro
|
6
6
|
Author: Jimmy Liu
|
@@ -21,7 +21,7 @@ Requires-Dist: requests
|
|
21
21
|
Requires-Dist: lxml
|
22
22
|
Requires-Dist: simplejson
|
23
23
|
Requires-Dist: bs4
|
24
|
-
Requires-Dist: websocket-client
|
24
|
+
Requires-Dist: websocket-client >=0.57.0
|
25
25
|
Requires-Dist: tqdm
|
26
26
|
|
27
27
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tushare/__init__.py,sha256=
|
1
|
+
tushare/__init__.py,sha256=K5eRfDPD8ACpCWRRlwkhbu4JmrwyrmCIT0C5DCY-jZg,4764
|
2
2
|
tushare/bond/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
tushare/bond/bonds.py,sha256=PJM0xDiWZDpOPwDtbEU9PdP0M_Gu0c599YuB1rbZ3r8,232
|
4
4
|
tushare/coins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -50,7 +50,7 @@ tushare/subs/tgw_subs/convert.py,sha256=VWsDOv_rmz3a9YjQ-ZThXerc1HqcWPlBYAOF6A9S
|
|
50
50
|
tushare/subs/tgw_subs/login.py,sha256=z7laiscTx50LzOB0cM2hypv5E78DvWx-2Ip5kDE7uNk,903
|
51
51
|
tushare/subs/tgw_subs/subscribe.py,sha256=OwLKcSTN2xrge33hBkio_S188viMeGuicDj_x0VaR2A,3336
|
52
52
|
tushare/subs/ts_subs/__init__.py,sha256=AyX957j8DDjdpIYcNR7dyRaMfxusa6d2VeunMEB6RAc,107
|
53
|
-
tushare/subs/ts_subs/subscribe.py,sha256=
|
53
|
+
tushare/subs/ts_subs/subscribe.py,sha256=wyMYh0i5hVGje3OrSYDucNUC3g0UlzinACSLkLtmUCA,6086
|
54
54
|
tushare/trader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
55
55
|
tushare/trader/trader.py,sha256=O2WJkIKGuUFK_hiQj83N5j971VW-TNAgKaCE0O4oFwg,11360
|
56
56
|
tushare/trader/utils.py,sha256=CG-TCyeu5WqYjnBARxft2lEnLD3xvhHLU40hPSL_CCw,752
|
@@ -71,8 +71,8 @@ tushare/util/verify_token.py,sha256=cuV3RErWbOC318NANCYL6K1LKZ3wSAL2yMwZHA7tD3s,
|
|
71
71
|
tushare/util/protobuf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
72
72
|
tushare/util/protobuf/funcs.py,sha256=UCdK8FxTyjPZsNzoEeXqYzqrQXUmRMvW5hua6GPA66A,779
|
73
73
|
tushare/util/protobuf/response_pb2.py,sha256=vJH9ONkDuJlg6y-q1PvuDZoviKrK7hzNtMieQHK45DI,11347
|
74
|
-
tushare-1.4.
|
75
|
-
tushare-1.4.
|
76
|
-
tushare-1.4.
|
77
|
-
tushare-1.4.
|
78
|
-
tushare-1.4.
|
74
|
+
tushare-1.4.8.dist-info/LICENSE,sha256=C2j55UI0Ul-1-wA1-rn7OaY6b3vGl4YukiyvYzHsU9o,1503
|
75
|
+
tushare-1.4.8.dist-info/METADATA,sha256=rb_IpQ9VSvX4k4F0ibPoFx2hy-jZPUBX8KB-hVdi6Eo,2838
|
76
|
+
tushare-1.4.8.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
77
|
+
tushare-1.4.8.dist-info/top_level.txt,sha256=HHOxMuqc31KuAIcxpE0t5dAPMKbaiRtjsjTMFd7FlXI,8
|
78
|
+
tushare-1.4.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|