Micro-sheep / Micro-sheep/efinance

ef.stock.get_realtime_quotes获得的数据中一部分含有A的股票名称使用的是全角A,另一部分使用的半角A

Open
#178 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.1k
Forks
755
PR merge metrics
No merged PRs in 30d

Description

import efinance as ef
bond_info = ef.stock.get_realtime_quotes()
其中"张 裕A","峨眉山A","深深房A","深天马A","深纺织A","粤高速A","穗恒运A","深华发A","深桑达A","深康佳A","陕国投A","鲁 泰A","渝三峡A","深振业A","粤宏远A","苏常柴A","华侨城A","粤电力A"这些股票的名称使用的是**全角A**,
但是另外一些名称'深物业A', '深中华A', '新大洲A', '白云山A', '琼民源A', '小天鹅A', 'PT中浩A', '*ST石化A', 'PT金田A', '安道麦A', '深南电A'使用的却是**半角A**,

建议全部统一为半角A

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the output from ef.stock.get_realtime_quotes() and inspect how stock names are obtained or normalized. The issue is done when the listed names consistently use half-width A characters and the returned data remains otherwise unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, fintech-quant
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.