chinadata 0.0.8__py3-none-any.whl → 0.0.9__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.
- chinadata/ca_data.py +2 -2
- chinadata/example.py +2 -3
- {chinadata-0.0.8.dist-info → chinadata-0.0.9.dist-info}/METADATA +1 -1
- chinadata-0.0.9.dist-info/RECORD +9 -0
- chinadata-0.0.8.dist-info/RECORD +0 -9
- {chinadata-0.0.8.dist-info → chinadata-0.0.9.dist-info}/WHEEL +0 -0
- {chinadata-0.0.8.dist-info → chinadata-0.0.9.dist-info}/top_level.txt +0 -0
chinadata/ca_data.py
CHANGED
|
@@ -41,7 +41,7 @@ class pro_api:
|
|
|
41
41
|
pd.DataFrame: A DataFrame containing the fetched stock data.
|
|
42
42
|
"""
|
|
43
43
|
# url="http://127.0.0.1:9002/tq"
|
|
44
|
-
url = "http://
|
|
44
|
+
url = "http://120.53.122.167:9002/tq"
|
|
45
45
|
|
|
46
46
|
params = {
|
|
47
47
|
'token': get_token(),
|
|
@@ -772,7 +772,7 @@ def pro_bar(ts_code='', api=None, start_date='', end_date='', freq='D', asset='E
|
|
|
772
772
|
|
|
773
773
|
"""
|
|
774
774
|
# url = "http://127.0.0.1:9002/tp"
|
|
775
|
-
url = "http://
|
|
775
|
+
url = "http://120.53.122.167:9002/tp"
|
|
776
776
|
|
|
777
777
|
params = {
|
|
778
778
|
'token':get_token(),
|
chinadata/example.py
CHANGED
|
@@ -8,8 +8,8 @@ pip install chinadata
|
|
|
8
8
|
import chinadata.ca_data as ts
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
ts.set_token('
|
|
12
|
-
pro=ts.pro_api('
|
|
11
|
+
ts.set_token('13a9e334456bfde98ffd7be21ec26')
|
|
12
|
+
pro=ts.pro_api('13a9e334456bfde98ffd7be21ec26')
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -31,4 +31,3 @@ df = pro.daily(ts_code='000001.SZ', start_date='20000701', end_date='20180718')
|
|
|
31
31
|
print(df)
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
chinadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
chinadata/ca_data.py,sha256=WxlCncHU1WtV8TGYOTafZLFS5hGUhgbeoPUbRaKMlGM,34578
|
|
3
|
+
chinadata/example.py,sha256=cH12VNs8SAPyCeorR1zbw1D7Rwg2_Uwe6ymHR8I9Ayk,648
|
|
4
|
+
chinadata/__pycache__/__init__.cpython-39.pyc,sha256=lKHpULD0OJDbXwp5XGcechnIx0op6A2wVR3j91dTffw,145
|
|
5
|
+
chinadata/__pycache__/ca_data.cpython-39.pyc,sha256=muqYg-MFjQrzr9bNHaLH0ToPeaNwdeWJiDoPnYBpZNQ,37842
|
|
6
|
+
chinadata-0.0.9.dist-info/METADATA,sha256=Qo2ok3s9VSevmIUqsjIDlZw4lgUuyild5-9i3tJSHIo,163
|
|
7
|
+
chinadata-0.0.9.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
8
|
+
chinadata-0.0.9.dist-info/top_level.txt,sha256=Ptxvu9uzRHP4kVGRf413KuwSvsY2mk_KgQJ6ssWwisU,10
|
|
9
|
+
chinadata-0.0.9.dist-info/RECORD,,
|
chinadata-0.0.8.dist-info/RECORD
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
chinadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
chinadata/ca_data.py,sha256=-XyIk8CrlWLQmWhGEe2r-2HrkOOMvtmlgMCSBb4BeE0,34580
|
|
3
|
-
chinadata/example.py,sha256=Sx6pB8iXaO802iXqjxK7YG0djJ4-xfCeEyxJsEdbp2U,662
|
|
4
|
-
chinadata/__pycache__/__init__.cpython-39.pyc,sha256=lKHpULD0OJDbXwp5XGcechnIx0op6A2wVR3j91dTffw,145
|
|
5
|
-
chinadata/__pycache__/ca_data.cpython-39.pyc,sha256=muqYg-MFjQrzr9bNHaLH0ToPeaNwdeWJiDoPnYBpZNQ,37842
|
|
6
|
-
chinadata-0.0.8.dist-info/METADATA,sha256=dyhT93JOGEijVldxgnqtdlUW2gtR4tNAYr-n15ZEcBY,163
|
|
7
|
-
chinadata-0.0.8.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
8
|
-
chinadata-0.0.8.dist-info/top_level.txt,sha256=Ptxvu9uzRHP4kVGRf413KuwSvsY2mk_KgQJ6ssWwisU,10
|
|
9
|
-
chinadata-0.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|