chinadata 0.1.7__py3-none-any.whl → 0.1.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/example.py CHANGED
@@ -1,33 +1,33 @@
1
- #
2
- """
3
- 1、安装对应库
4
- pip install chinadata
5
-
6
- """
7
-
8
-
9
- #2、
10
- import chinadata.ca_data as ts
11
-
12
-
13
- ts.set_token('3a9e334456c8405c00d013914953')
14
- pro=ts.pro_api('a9e334456c8405c00d013914953')
15
-
16
-
17
-
18
- # 你要测量的代码块
19
-
20
- # #查询当前所有正常上市交易的股票列表
21
- data = pro.stock_basic(exchange='', list_status='L', fields='ts_code,symbol,name,area,industry,list_date')
22
- print(data)
23
-
24
- #
25
- df = ts.pro_bar(ts_code='000007.SZ', start_date='20240817', end_date='20241215')
26
- print(df)
27
-
28
-
29
- df = pro.daily(ts_code='000001.SZ', start_date='20000701', end_date='20180718')
30
- print(df)
31
-
32
-
33
-
1
+ #
2
+ """
3
+ 1、安装对应库
4
+ pip install chinadata
5
+
6
+ """
7
+
8
+
9
+ #2、
10
+ import chinadata.ca_data as ts
11
+
12
+
13
+ ts.set_token('3a9e334456c8405c00d013914953')
14
+ pro=ts.pro_api('a9e334456c8405c00d013914953')
15
+
16
+
17
+
18
+ # 你要测量的代码块
19
+
20
+ # #查询当前所有正常上市交易的股票列表
21
+ data = pro.stock_basic(exchange='', list_status='L', fields='ts_code,symbol,name,area,industry,list_date')
22
+ print(data)
23
+
24
+ #
25
+ df = ts.pro_bar(ts_code='000007.SZ', start_date='20240817', end_date='20241215')
26
+ print(df)
27
+
28
+
29
+ df = pro.daily(ts_code='000001.SZ', start_date='20000701', end_date='20180718')
30
+ print(df)
31
+
32
+
33
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chinadata
3
- Version: 0.1.7
3
+ Version: 0.1.9
4
4
  Author: xc
5
5
  Author-email: utyu@gmail.com
6
6
  Platform: any
@@ -0,0 +1,7 @@
1
+ chinadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ chinadata/ca_data.py,sha256=0T7TQAMMes5rM690qKNJbLWvNUU_44P7GIuuSCGNYcI,34548
3
+ chinadata/example.py,sha256=x2veHR97H3ym1ekSc7Kfi1v4RrH7M-d1mm2oqXWEM08,613
4
+ chinadata-0.1.9.dist-info/METADATA,sha256=4PVWsmbDp9MKK1bCpcP46CfQIkUGUyfLH8KUFkmqFZo,161
5
+ chinadata-0.1.9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
6
+ chinadata-0.1.9.dist-info/top_level.txt,sha256=Ptxvu9uzRHP4kVGRf413KuwSvsY2mk_KgQJ6ssWwisU,10
7
+ chinadata-0.1.9.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- chinadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- chinadata/ca_data.py,sha256=1A-SESKt7NZAb55zXWhBTLQvwV8UBHv1SbiFAIk4YHE,33733
3
- chinadata/example.py,sha256=T0U_8u9NhhqoMlTHOSgODsHeSEryGnz6Ze-EpvOwl8k,580
4
- chinadata-0.1.7.dist-info/METADATA,sha256=sCFrF7hlVHAN_wpADGcgFuXoe1Y6INttwiBvdj3QQso,161
5
- chinadata-0.1.7.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
6
- chinadata-0.1.7.dist-info/top_level.txt,sha256=Ptxvu9uzRHP4kVGRf413KuwSvsY2mk_KgQJ6ssWwisU,10
7
- chinadata-0.1.7.dist-info/RECORD,,