Micro-sheep / Micro-sheep/efinance

get_realtime_quotes()和get_latest_quote(code)是否能增加 ’今开‘这个字段

Open
#11 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.1k
Forks
755
PR merge metrics
No merged PRs in 30d

Description

ef.stock.get_latest_quote(code)
股票代码 | 股票名称 | 涨跌幅 | 最新价 | 最高 | 最低 | 涨跌额 | 换手率 | 动态市盈率 | 成交量 | 成交额 | 昨日收盘 | 总市值 | 流通市值 | 市场类型
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
515650 | 消费50ETF | 0.27 | 1.4630 | 1.4670 | 1.4470 | 0.0040 | 2.97 | 0.0 | 299247 | 4.352412e+07 | 1.4590 | 1473510192 | 1473510192 | 沪A

ef.stock.get_realtime_quotes()
股票代码 | 股票名称 | 涨跌幅 | 最新价 | 最高 | 最低 | 涨跌额 | 换手率 | 动态市盈率 | 成交量 | 成交额 | 昨日收盘 | 总市值 | 流通市值 | 行情ID | 市场类型
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
601139 | 深圳燃气 | 10.04 | 10.63 | 10.63 | 9.31 | 0.97 | 2.64 | 17.94 | 760195 | 753869120.0 | 9.66 | 30580038993 | 30579645151 | 1.601139 | 沪A

如果能添加今日开盘 这个字段,日线时间切片数据就齐了。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the implementations of efinance.stock.get_latest_quote(code) and efinance.stock.get_realtime_quotes(). Trace how their quote fields are assembled and identify the source value corresponding to today’s opening price. The work is done when both outputs expose that field while retaining their existing columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.