rquote 0.3.0__py3-none-any.whl → 0.3.1__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.
rquote/main.py CHANGED
@@ -238,7 +238,7 @@ def get_price(i, sdate='', edate='', freq='day', days=320, fq='qfq',
238
238
  #a = json.loads(a.text.replace('kline_dayqfq=', ''))['data'][i]
239
239
  if i[:2] == 'us' and freq in ('min', '1min', 'minute'):
240
240
  a = json.loads(a.text.split('=')[1])['data'][i]
241
- nm = a['qt']['usAMZN.OQ'][1]
241
+ nm = a['qt'][i][1]
242
242
  b = pd.DataFrame([i.split() for i in a['data']['data']],
243
243
  columns=['minute','price','volume']).set_index(['minute']).astype(str)
244
244
  return i, nm, b
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rquote
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Mostly day quotes of cn/hk/us/fund/future markets, side with quote list fetch
5
5
  Requires-Python: >=3.6.1
6
6
  Description-Content-Type: text/markdown
7
+ Requires-Dist: build>=0.9.0
7
8
  Requires-Dist: httpx>=0.20.0
8
9
  Requires-Dist: pandas>=1.0.0
9
10
  Requires-Dist: setuptools>=42
@@ -0,0 +1,8 @@
1
+ rquote/__init__.py,sha256=PB620yEq2QZyfDweKY_8qMEsZMKhskGfhmfDkch_0j0,462
2
+ rquote/main.py,sha256=ZSQtR9Ce1gksh20w73p_c__mjkyvmu7rUBHSHurcQzE,18945
3
+ rquote/plots.py,sha256=N8uvD6ju9tow0DllPQiXiM7EoPC2bK8X7QF6NQainKs,2342
4
+ rquote/utils.py,sha256=4Neb9_R-EKAd6s1Qj4O_vs9jXWyvroxEEhdqH35vxVE,6808
5
+ rquote-0.3.1.dist-info/METADATA,sha256=NUWClZsybtLoOGJ7UWG1TKfRDzJnFrifNE3O1y36_BQ,7301
6
+ rquote-0.3.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ rquote-0.3.1.dist-info/top_level.txt,sha256=CehAiaZx7Fo8HGoV2zd5GhILUW1jQEN8YS-cWMlrK9Y,7
8
+ rquote-0.3.1.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- rquote/__init__.py,sha256=PB620yEq2QZyfDweKY_8qMEsZMKhskGfhmfDkch_0j0,462
2
- rquote/main.py,sha256=8_-JjaoMWt66SrEzKmSh30-VPMKidOTNOd2qCYDy1R0,18955
3
- rquote/plots.py,sha256=N8uvD6ju9tow0DllPQiXiM7EoPC2bK8X7QF6NQainKs,2342
4
- rquote/utils.py,sha256=4Neb9_R-EKAd6s1Qj4O_vs9jXWyvroxEEhdqH35vxVE,6808
5
- rquote-0.3.0.dist-info/METADATA,sha256=p11Jj4lQO9C2jBwrPUvLR76IEMwmtzsfp0GwJqvU9Xw,7273
6
- rquote-0.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- rquote-0.3.0.dist-info/top_level.txt,sha256=CehAiaZx7Fo8HGoV2zd5GhILUW1jQEN8YS-cWMlrK9Y,7
8
- rquote-0.3.0.dist-info/RECORD,,
File without changes