barchart

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Barchart Scraper

Barchart 数据爬虫

Extrae datos de Barchart mediante scraping HTML. Sin bs4, sin lxml, sin API key.

通过HTML爬取Barchart提取数据。无需bs4、lxml,也无需API密钥。

⚠️ Datos clave

⚠️ 关键信息

ConceptoRespuesta
Tipo de datosQuotes + fundamentals + insider + analyst ratings + earnings estimates + financial summary + income/balance/cashflow detail + company profile
LatenciaDelayed 15-20 min (exchange delay estándar). Futuros: 10 min. No es tiempo real
Cobertura~30,000+ símbolos US: NYSE, NASDAQ, AMEX, OTC-US. ADRs globales incluidos (GGAL, BABA, SUPV, etc.)
Requiere registro/API keyNo
DependenciasSolo
pip install requests
MétodoScraping de HTML estático. Barchart usa AngularJS — datos renderizados client-side no disponibles

概念详情
数据类型报价 + 基本面 + 内部交易 + 分析师评级 + 盈利预测 + 财务摘要 + 损益/资产负债/现金流明细 + 公司概况
延迟情况延迟15-20分钟(交易所标准延迟)。期货数据延迟10分钟,非实时数据
覆盖范围~30,000+ 美国标的:NYSE、NASDAQ、AMEX、OTC-US,包含全球ADR(如GGAL、BABA、SUPV等)
是否需要注册/API密钥
依赖项仅需
pip install requests
实现方式静态HTML爬取。Barchart使用AngularJS,客户端渲染数据无法获取

Instalación

安装

bash
pip install requests

bash
pip install requests

Scripts

脚本说明

ScriptDescripción
fetch_barchart.py
Scraper: quote + fundamentals + insider + analysts + earnings estimates + income/balance/cashflow detail + company profile

脚本描述
fetch_barchart.py
爬虫脚本:获取报价 + 基本面 + 内部交易 + 分析师评级 + 盈利预测 + 损益/资产负债/现金流明细 + 公司概况

Uso rápido

快速使用

bash
undefined
bash
undefined

Quote + fundamentals (27 campos) — sin flags extra

获取报价 + 基本面(27个字段)—— 无需额外参数

py fetch_barchart.py AAPL py fetch_barchart.py AAPL,MSFT,GGAL # Multi-ticker
py fetch_barchart.py AAPL py fetch_barchart.py AAPL,MSFT,GGAL # 多标的查询

Insider summary (--insider)

获取内部交易摘要(--insider)

py fetch_barchart.py AAPL --insider
py fetch_barchart.py AAPL --insider

Analyst ratings (--analysts)

获取分析师评级(--analysts)

py fetch_barchart.py AAPL --analysts
py fetch_barchart.py AAPL --analysts

Earnings estimates (--estimates)

获取盈利预测(--estimates)

py fetch_barchart.py AAPL --estimates
py fetch_barchart.py AAPL --estimates

Financial summary annual (--financials)

获取年度财务摘要(--financials)

py fetch_barchart.py GGAL --financials
py fetch_barchart.py GGAL --financials

Financial summary quarterly (--financials quarterly)

获取季度财务摘要(--financials quarterly)

py fetch_barchart.py GGAL --financials quarterly
py fetch_barchart.py GGAL --financials quarterly

Income statement detail (--income)

获取损益表明细(--income)

py fetch_barchart.py GGAL --income # trimestral (default) py fetch_barchart.py GGAL --income annual
py fetch_barchart.py GGAL --income # 默认季度数据 py fetch_barchart.py GGAL --income annual

Balance sheet detail (--balance)

获取资产负债表明细(--balance)

py fetch_barchart.py GGAL --balance # trimestral (default) py fetch_barchart.py GGAL --balance annual
py fetch_barchart.py GGAL --balance # 默认季度数据 py fetch_barchart.py GGAL --balance annual

Cash flow detail (--cashflow)

获取现金流明细(--cashflow)

py fetch_barchart.py GGAL --cashflow # trimestral (default) py fetch_barchart.py GGAL --cashflow annual
py fetch_barchart.py GGAL --cashflow # 默认季度数据 py fetch_barchart.py GGAL --cashflow annual

Company profile (--profile)

获取公司概况(--profile)

py fetch_barchart.py GGAL --profile
py fetch_barchart.py GGAL --profile

Combinar flags

组合参数使用

py fetch_barchart.py GGAL --insider --analysts --estimates --income --balance --cashflow
py fetch_barchart.py GGAL --insider --analysts --estimates --income --balance --cashflow

Output

输出设置

py fetch_barchart.py AAPL -o aapl.json # Guardar JSON py fetch_barchart.py AAPL -q # JSON a stdout

---
py fetch_barchart.py AAPL -o aapl.json # 保存为JSON文件 py fetch_barchart.py AAPL -q # 将JSON输出到标准输出

---

Output real por flag

各参数对应的实际输出示例

py fetch_barchart.py AAPL
(quote + fundamentals)

py fetch_barchart.py AAPL
(报价 + 基本面)

  ticker: AAPL
  symbol: AAPL
  name: Apple Inc
  lastPrice: 310.26
  netChange: -4.94
  percentChange: -1.57%
  bid: 313.88
  ask: 313.97
  exchange: NASDAQ
  tradeTime: 06/03/26
  marketCap: 4,629,454,720          # en $K (dividir /1000)
  sharesOutstanding: 14,687,355      # en K
  annualSales: 416,161 M
  annualIncome: 112,010 M
  ebit: 147,366 M
  ebitda: 159,064 M
  beta: 1.09
  priceSales: 10.81
  priceCashFlow: 36.59
  priceBook: 42.25
  peRatio: 37.04
  eps: 8.27
  mostRecentEarnings: $2.01 on 04/30/26
  nextEarningsDate: 07/30/26
  dividend: 1.08 (0.35%)             # monto anual + yield
  mostRecentDividend: 0.270 on 05/11/26
  ticker: AAPL
  symbol: AAPL
  name: Apple Inc
  lastPrice: 310.26
  netChange: -4.94
  percentChange: -1.57%
  bid: 313.88
  ask: 313.97
  exchange: NASDAQ
  tradeTime: 06/03/26
  marketCap: 4,629,454,720          # 单位为$K(需除以1000转换为美元)
  sharesOutstanding: 14,687,355      # 单位为千股
  annualSales: 416,161 M
  annualIncome: 112,010 M
  ebit: 147,366 M
  ebitda: 159,064 M
  beta: 1.09
  priceSales: 10.81
  priceCashFlow: 36.59
  priceBook: 42.25
  peRatio: 37.04
  eps: 8.27
  mostRecentEarnings: $2.01 on 04/30/26
  nextEarningsDate: 07/30/26
  dividend: 1.08 (0.35%)             # 年度股息金额 + 股息率
  mostRecentDividend: 0.270 on 05/11/26

py fetch_barchart.py GGAL
(mismos campos para ADR)

py fetch_barchart.py GGAL
(ADR标的的相同字段)

  ticker: GGAL
  symbol: GGAL
  name: Grupo Fin Galicia ADR
  lastPrice: 48.33
  netChange: -2.00
  percentChange: -3.97%
  bid: 47.15 / ask: 49.99
  exchange: NASDAQ
  marketCap: 8,084,256 $K
  sharesOutstanding: 160,625 K
  annualSales: 10,559 M
  annualIncome: 170,020 K            # utilidad negativa
  ebit: -1,178 M
  ebitda: -934 M
  beta: 1.32
  priceSales: 0.78
  priceBook: 1.37
  peRatio: 0.00
  eps: 2.27
  dividend: 4.86 (9.50%)
  nextEarningsDate: 08/25/26
  ticker: GGAL
  symbol: GGAL
  name: Grupo Fin Galicia ADR
  lastPrice: 48.33
  netChange: -2.00
  percentChange: -3.97%
  bid: 47.15 / ask: 49.99
  exchange: NASDAQ
  marketCap: 8,084,256 $K
  sharesOutstanding: 160,625 K
  annualSales: 10,559 M
  annualIncome: 170,020 K            # 净利润为负
  ebit: -1,178 M
  ebitda: -934 M
  beta: 1.32
  priceSales: 0.78
  priceBook: 1.37
  peRatio: 0.00
  eps: 2.27
  dividend: 4.86 (9.50%)
  nextEarningsDate: 08/25/26

--insider
(agrega)

--insider
(新增内容)

  --- insider ---
  summaryLast3M:
    buys: 0
    buyShares: 0
    sells: 6
    sellShares: 397759
Qué significa: Últimos 3 meses hubo 0 compras y 6 ventas por 397,759 acciones por parte de insiders de la compañía.
  --- insider ---
  summaryLast3M:
    buys: 0
    buyShares: 0
    sells: 6
    sellShares: 397759
说明: 过去3个月内,公司内部人员的买入交易为0笔,卖出交易为6笔,共卖出397,759股。

--analysts
(agrega)

--analysts
(新增内容)

  --- analysts ---
  current:     Moderate Buy (4.12) - 42 analysts
  1_mth_ago:   Moderate Buy (4.12) - 42 analysts
  2_mths_ago:  Moderate Buy (4.07) - 42 analysts
  3_mths_ago:  Moderate Buy (4.07) - 42 analysts
Qué significa: Rating actual = Moderate Buy con valor 4.12/5 basado en 42 analistas. La escala va de 1 (Strong Sell) a 5 (Strong Buy). Se muestra también el histórico de los últimos 3 meses.
  --- analysts ---
  current:     Moderate Buy (4.12) - 42 analysts
  1_mth_ago:   Moderate Buy (4.12) - 42 analysts
  2_mths_ago:  Moderate Buy (4.07) - 42 analysts
  3_mths_ago:  Moderate Buy (4.07) - 42 analysts
说明: 当前评级为Moderate Buy(适度买入),评分4.12/5,基于42位分析师的评价。评分范围为1(强力卖出)到5(强力买入),同时展示过去3个月的评级历史。

--estimates
(agrega)

--estimates
(新增内容)

  --- earnings estimates ---
  Average Earnings Estimate: $0.82 | $1.11 | $3.69 | $6.42
  Number of Estimates: 3 | 2 | 3 | 3
  High Estimate: $1.02 | $1.30 | $4.45 | $8.12
  Low Estimate: $0.69 | $0.92 | $3.29 | $5.21
  Prior Year: $0.94 | $0.08 | N/A | $3.69
  Growth Rate Est. (yoy): -12.77% | +1,287.50% | -99.63% | +73.98%
Columnas de la tabla: Current Qtr (06/2026) | Next Qtr (09/2026) | Fiscal Yr (12/2026) | Fiscal Yr (12/2027)
Qué significa:
  • Average Earnings Estimate = estimación de EPS promedio de los analistas
  • Number of Estimates = cuántos analistas dieron estimación para ese período
  • High/Low Estimate = estimación más optimista y más pesimista
  • Prior Year = EPS reportado en el mismo período del año anterior
  • Growth Rate Est. = crecimiento estimado vs año anterior
  --- earnings estimates ---
  Average Earnings Estimate: $0.82 | $1.11 | $3.69 | $6.42
  Number of Estimates: 3 | 2 | 3 | 3
  High Estimate: $1.02 | $1.30 | $4.45 | $8.12
  Low Estimate: $0.69 | $0.92 | $3.29 | $5.21
  Prior Year: $0.94 | $0.08 | N/A | $3.69
  Growth Rate Est. (yoy): -12.77% | +1,287.50% | -99.63% | +73.98%
表格列说明: 当前季度(06/2026)| 下一季度(09/2026)| 财年(12/2026)| 财年(12/2027)
说明:
  • Average Earnings Estimate = 分析师平均EPS预测值
  • Number of Estimates = 对该时间段给出预测的分析师数量
  • High/Low Estimate = 最乐观和最悲观的预测值
  • Prior Year = 去年同期的实际EPS
  • Growth Rate Est. = 较去年同期的预测增长率

--financials
annual (agrega)

--financials
annual(新增内容)

  --- financial summary (annual) ---

  incomeStatement:
    Periods: 12-2025 | 12-2024 | 12-2023 | 12-2022 | 12-2021
    Sales: $10.56B | $11.64B | $24.99B | $9.99B | $5.11B
    Net Income: $170.02M | $1.79B | $1.28B | $374.52M | $326.49M

  balanceSheet:
    Periods: 12-2025 | 12-2024 | 12-2023 | 12-2022 | 12-2021
    Assets: $36.54B | $35.77B | $38.82B | $25.96B | $17.62B
    Liabilities: $30.33B | $29.10B | $31.16B | $21.27B | $14.42B

  cashFlow:
    Periods: 12-2025 | 12-2024 | 12-2023 | 12-2022 | 12-2021
    Cash (Operating): $-1.28B | $3.85B | $6.34B | $4.47B | $2.97B
    Net Cash Flow: $423.52M | $320.47M | $-3.28B | $588.02M | $736.72M
Qué significa: Income statement con Sales y Net Income de los últimos 5 años, Balance Sheet con Assets y Liabilities, Cash Flow con Operating Cash Flow y Net Cash Flow. Cada valor está formateado en B (billones) o M (millones). Los períodos son
MM-YYYY
.
  --- financial summary (annual) ---

  incomeStatement:
    Periods: 12-2025 | 12-2024 | 12-2023 | 12-2022 | 12-2021
    Sales: $10.56B | $11.64B | $24.99B | $9.99B | $5.11B
    Net Income: $170.02M | $1.79B | $1.28B | $374.52M | $326.49M

  balanceSheet:
    Periods: 12-2025 | 12-2024 | 12-2023 | 12-2022 | 12-2021
    Assets: $36.54B | $35.77B | $38.82B | $25.96B | $17.62B
    Liabilities: $30.33B | $29.10B | $31.16B | $21.27B | $14.42B

  cashFlow:
    Periods: 12-2025 | 12-2024 | 12-2023 | 12-2022 | 12-2021
    Cash (Operating): $-1.28B | $3.85B | $6.34B | $4.47B | $2.97B
    Net Cash Flow: $423.52M | $320.47M | $-3.28B | $588.02M | $736.72M
说明: 包含过去5年的损益表(销售额、净利润)、资产负债表(资产、负债)、现金流表(经营现金流、净现金流)。数值单位为B(十亿)或M(百万),时间段格式为
MM-YYYY

--financials quarterly
(agrega)

--financials quarterly
(新增内容)

  --- financial summary (quarterly) ---

  incomeStatement:
    Periods: 03-2026 | 09-2025 | 06-2025 | 03-2025 | 12-2024
    Sales: $672.00M | $409.98M | $2.24B | $2.18B | $8.58B
    Net Income: $46.54M | $-70.17M | $150.71M | $146.32M | $846.01M

  balanceSheet:
    Periods: 03-2026 | 09-2025 | 06-2025 | 03-2025 | 12-2024
    Assets: $31.61B | $36.54B | $33.60B | $31.33B | $35.77B
    Liabilities: $25.60B | $30.33B | $27.92B | $25.26B | $29.10B

  cashFlow:
    Periods: 03-2026 | 09-2025 | 06-2025 | 03-2025 | 12-2024
    Cash (Operating): $-1.28B | $-966.19M | $3.85B | $5.32B | $0.00
    Net Cash Flow: $423.52M | $-1.16B | $320.47M | $1.14B | $0.00
Qué significa: Mismos campos que annual pero para los últimos 5 trimestres en lugar de años.
  --- financial summary (quarterly) ---

  incomeStatement:
    Periods: 03-2026 | 09-2025 | 06-2025 | 03-2025 | 12-2024
    Sales: $672.00M | $409.98M | $2.24B | $2.18B | $8.58B
    Net Income: $46.54M | $-70.17M | $150.71M | $146.32M | $846.01M

  balanceSheet:
    Periods: 03-2026 | 09-2025 | 06-2025 | 03-2025 | 12-2024
    Assets: $31.61B | $36.54B | $33.60B | $31.33B | $35.77B
    Liabilities: $25.60B | $30.33B | $27.92B | $25.26B | $29.10B

  cashFlow:
    Periods: 03-2026 | 09-2025 | 06-2025 | 03-2025 | 12-2024
    Cash (Operating): $-1.28B | $-966.19M | $3.85B | $5.32B | $0.00
    Net Cash Flow: $423.52M | $-1.16B | $320.47M | $1.14B | $0.00
说明: 字段与年度版本一致,但数据为过去5个季度的数值。

--income quarterly
(agrega income statement detallado)

--income quarterly
(新增详细损益表)

  --- income statement detail (quarterly) ---
    Periods: 09-2025 | 03-2025 | 12-2024 | 09-2024 | 06-2024
    Interest Income: N/A | 1,590,672 | 7,624,088 | 1,444,576 | N/A
    Interest Expense: 0 | 628,468 | 2,797,842 | 606,029 | 0
    Interest Income (Net of Interest Expense): 996,333 | 962,204 | 1,774,389 | 838,547 | 1,400,136
    Non-Interest Income: 409,984 | 589,955 | 959,292 | 576,923 | 526,451
    Sales: 1,406,317 | 1,552,158 | 2,997,404 | 1,415,470 | 1,926,588
    Credit Losses Provision: N/A | N/A | N/A | N/A | 160,058
    Non Interest Expenses: 1,545,414 | 1,340,467 | 2,005,786 | 1,132,053 | 1,074,184
    Pre-tax Income: -139,097 | 211,692 | 991,619 | 283,417 | 692,346
    Income Tax: -68,924 | 65,327 | 145,681 | 98,683 | 242,396
    Other Income: -139,097 | 840,160 | 3,789,461 | 889,446 | 692,346
    Net Income: $-70,168 | $146,321 | $846,011 | $184,766 | $449,884
    EPS Basic Continuous Ops: -0.44 | 0.92 | 4.62 | 1.25 | 3.05
    EPS Basic Total Ops: -0.44 | 0.92 | 5.67 | 1.25 | 3.05
    EPS Diluted Continuous Ops: -0.44 | 0.92 | 4.62 | 1.25 | 3.05
    EPS Diluted Total Ops: -0.44 | 0.92 | 5.67 | 1.25 | 3.05
    EPS Diluted Before Non-Recurring Items: 0.08 | 0.96 | N/A | N/A | N/A
    EBITDA(a): $N/A | $N/A | $N/A | $N/A | $N/A
Con
--income annual
cambian los períodos a
12-YYYY
y los valores son anuales.
  --- income statement detail (quarterly) ---
    Periods: 09-2025 | 03-2025 | 12-2024 | 09-2024 | 06-2024
    Interest Income: N/A | 1,590,672 | 7,624,088 | 1,444,576 | N/A
    Interest Expense: 0 | 628,468 | 2,797,842 | 606,029 | 0
    Interest Income (Net of Interest Expense): 996,333 | 962,204 | 1,774,389 | 838,547 | 1,400,136
    Non-Interest Income: 409,984 | 589,955 | 959,292 | 576,923 | 526,451
    Sales: 1,406,317 | 1,552,158 | 2,997,404 | 1,415,470 | 1,926,588
    Credit Losses Provision: N/A | N/A | N/A | N/A | 160,058
    Non Interest Expenses: 1,545,414 | 1,340,467 | 2,005,786 | 1,132,053 | 1,074,184
    Pre-tax Income: -139,097 | 211,692 | 991,619 | 283,417 | 692,346
    Income Tax: -68,924 | 65,327 | 145,681 | 98,683 | 242,396
    Other Income: -139,097 | 840,160 | 3,789,461 | 889,446 | 692,346
    Net Income: $-70,168 | $146,321 | $846,011 | $184,766 | $449,884
    EPS Basic Continuous Ops: -0.44 | 0.92 | 4.62 | 1.25 | 3.05
    EPS Basic Total Ops: -0.44 | 0.92 | 5.67 | 1.25 | 3.05
    EPS Diluted Continuous Ops: -0.44 | 0.92 | 4.62 | 1.25 | 3.05
    EPS Diluted Total Ops: -0.44 | 0.92 | 5.67 | 1.25 | 3.05
    EPS Diluted Before Non-Recurring Items: 0.08 | 0.96 | N/A | N/A | N/A
    EBITDA(a): $N/A | $N/A | $N/A | $N/A | $N/A
使用
--income annual
时,时间段会变为
12-YYYY
,数值为年度数据。

--balance quarterly
(agrega balance sheet detallado)

--balance quarterly
(新增详细资产负债表)

  --- balance sheet detail (quarterly) ---
    Periods: 09-2025 | 03-2025 | 12-2024 | 09-2024 | 06-2024
    Assets:
    Cash & Cash Equivalents: 6,955,327 | 5,545,430 | 7,419,325 | 7,422,673 | 2,853,684
    Securities And Investments: 676,711 | 6,598,840 | 8,225,726 | 6,138,255 | 1,748,708
    Loans Gross: 17,647,550 | 15,687,540 | 16,561,370 | 10,078,030 | 7,070,364
    PPE Net: 936,089 | 989,632 | 1,095,073 | 810,412 | 720,216
    Total Assets: $33,596,770 | $31,332,270 | $35,769,780 | $25,272,940 | $19,191,830
    Total deposits: 19,632,510 | 17,298,760 | 20,497,760 | 15,073,540 | 9,613,379
    Long Term Debt: N/A | 1,421,175 | 1,110,457 | 507,279 | N/A
    Total Liabilities: $27,922,710 | $25,256,920 | $29,099,660 | $20,389,730 | $15,007,280
    Retained earnings: N/A | 558,626 | 464,154 | -172,847 | N/A
    Total Liabilities And Equity: $33,596,766 | $31,332,267 | $35,769,779 | $25,272,935 | $19,191,833
  --- balance sheet detail (quarterly) ---
    Periods: 09-2025 | 03-2025 | 12-2024 | 09-2024 | 06-2024
    Assets:
    Cash & Cash Equivalents: 6,955,327 | 5,545,430 | 7,419,325 | 7,422,673 | 2,853,684
    Securities And Investments: 676,711 | 6,598,840 | 8,225,726 | 6,138,255 | 1,748,708
    Loans Gross: 17,647,550 | 15,687,540 | 16,561,370 | 10,078,030 | 7,070,364
    PPE Net: 936,089 | 989,632 | 1,095,073 | 810,412 | 720,216
    Total Assets: $33,596,770 | $31,332,270 | $35,769,780 | $25,272,940 | $19,191,830
    Total deposits: 19,632,510 | 17,298,760 | 20,497,760 | 15,073,540 | 9,613,379
    Long Term Debt: N/A | 1,421,175 | 1,110,457 | 507,279 | N/A
    Total Liabilities: $27,922,710 | $25,256,920 | $29,099,660 | $20,389,730 | $15,007,280
    Retained earnings: N/A | 558,626 | 464,154 | -172,847 | N/A
    Total Liabilities And Equity: $33,596,766 | $31,332,267 | $35,769,779 | $25,272,935 | $19,191,833

--cashflow quarterly
(agrega cash flow detallado)

--cashflow quarterly
(新增详细现金流表)

  --- cash flow detail (quarterly) ---
    Periods: 09-2025 | 03-2025 | 12-2024 | 09-2024 | 06-2024
    Net Income: N/A | 211,692 | 2,432,345 | 1,610,563 | N/A
    Depreciation Amortization: N/A | 55,824 | 206,874 | 125,586 | N/A
    Operating Cash Flow: $N/A | $-966,190 | $3,853,060 | $5,324,640 | $N/A
    Investing Cash Flow: $N/A | $-65,007 | $951,697 | $-142,836 | $N/A
    Financing Cash Flow: $N/A | $147,569 | $454,877 | $-490,960 | $N/A
    End Cash Position: N/A | 6,077,983 | 8,147,057 | 8,384,714 | N/A
    Net Cash Flow: $N/A | $-1,158,989 | $320,472 | $1,140,003 | $N/A
    Free Cash Flow: 0 | -1,056,768 | 3,616,886 | 5,176,481 | 0
  --- cash flow detail (quarterly) ---
    Periods: 09-2025 | 03-2025 | 12-2024 | 09-2024 | 06-2024
    Net Income: N/A | 211,692 | 2,432,345 | 1,610,563 | N/A
    Depreciation Amortization: N/A | 55,824 | 206,874 | 125,586 | N/A
    Operating Cash Flow: $N/A | $-966,190 | $3,853,060 | $5,324,640 | $N/A
    Investing Cash Flow: $N/A | $-65,007 | $951,697 | $-142,836 | $N/A
    Financing Cash Flow: $N/A | $147,569 | $454,877 | $-490,960 | $N/A
    End Cash Position: N/A | 6,077,983 | 8,147,057 | 8,384,714 | N/A
    Net Cash Flow: $N/A | $-1,158,989 | $320,472 | $1,140,003 | $N/A
    Free Cash Flow: 0 | -1,056,768 | 3,616,886 | 5,176,481 | 0

--profile
(agrega company profile + key statistics)

--profile
(新增公司概况 + 关键统计数据)

  --- profile ---
    Name: Grupo Fin Galicia ADR
    Address: TTE. GRAL. JUAN D. PERON 430 25TH FLOOR BUENOS AIRES C1 CP1038AAJ ARG
    Website: http://www.gfgsa.com
    Employees: 10,079
    Phone: 54-11-4343-7528
    Fax: 114-331-9183
    Sector: Finance
    Industries: SIC-6029 Commercial Banks, NEC, Banks - Foreign, Indices Nasdaq Composite
    Description: Grupo Financiero Galicia SA. is involved in the Financial Services Industry...

    --- overview ---
      Market Capitalization, $K: 8,084,256
      Enterprise Value, $K: 2,012,866
      Shares Outstanding, K: 160,625
      Float, K: 160,625
      % Float: 100.00%
      Short Interest, K: 6,552
      Short Float: 4.08%
      Days to Cover: 6.72
      Short Volume Ratio: 0.53
      % of Institutional Shareholders: 0.00%

    --- financials ---
      Annual Sales, $: 10,559 M
      Annual Net Income, $: 170,020 K
      Last Quarter Sales, $: 672,000 K
      Last Quarter Net Income, $: 46,540 K
      EBIT, $: -1,178 M
      EBITDA, $: -934,100 K

    --- growth ---
      1-Year Return: -14.61%
      3-Year Return: 226.33%
      5-Year Return: 387.69%
      5-Year Revenue Growth: 141.77%
      5-Year Earnings Growth: -100.00%
      5-Year Dividend Growth: 2,725.00%

    --- perShareInfo ---
      Most Recent Earnings: 0.29 on 05/26/26
      Next Earnings Date: 08/25/26
      Earnings Per Share ttm: 2.27
      EPS Growth vs. Prev Year: -69.79%
      Annual Dividend & Yield (Paid): 2.16 (4.28%)
      Annual Dividend & Yield (Fwd): 4.86 (9.50%)
      Most Recent Dividend: 0.405 on 05/11/26
      Next Ex-Dividends Date: 05/11/26
      Dividend Payable Date: 05/29/26
      Dividend Payout Ratio: 51.43%

    --- ratios ---
      Price/Earnings ttm: 0.00
      Price/Earnings forward: 13.85
      Price/Earnings to Growth: 0.36
      Return-on-Equity %: 0.00%
      Return-on-Assets %: 0.00%
      Profit Margin %: 1.61%
      Debt/Equity: 0.00
      Price/Sales: 0.78
      Price/Cash Flow: 19.86
      Price/Book: 1.37
      Book Value/Share: 37.43
      Interest Coverage: -1.21
      60-Month Beta: 1.32

    --- dividendHistory ---
      Date: Value
      05/11/26: $0.4050
      05/04/26: $0.1640
      03/30/26: $0.1600
      ... (12+ entries)

  --- profile ---
    Name: Grupo Fin Galicia ADR
    Address: TTE. GRAL. JUAN D. PERON 430 25TH FLOOR BUENOS AIRES C1 CP1038AAJ ARG
    Website: http://www.gfgsa.com
    Employees: 10,079
    Phone: 54-11-4343-7528
    Fax: 114-331-9183
    Sector: Finance
    Industries: SIC-6029 Commercial Banks, NEC, Banks - Foreign, Indices Nasdaq Composite
    Description: Grupo Financiero Galicia SA. is involved in the Financial Services Industry...

    --- overview ---
      Market Capitalization, $K: 8,084,256
      Enterprise Value, $K: 2,012,866
      Shares Outstanding, K: 160,625
      Float, K: 160,625
      % Float: 100.00%
      Short Interest, K: 6,552
      Short Float: 4.08%
      Days to Cover: 6.72
      Short Volume Ratio: 0.53
      % of Institutional Shareholders: 0.00%

    --- financials ---
      Annual Sales, $: 10,559 M
      Annual Net Income, $: 170,020 K
      Last Quarter Sales, $: 672,000 K
      Last Quarter Net Income, $: 46,540 K
      EBIT, $: -1,178 M
      EBITDA, $: -934,100 K

    --- growth ---
      1-Year Return: -14.61%
      3-Year Return: 226.33%
      5-Year Return: 387.69%
      5-Year Revenue Growth: 141.77%
      5-Year Earnings Growth: -100.00%
      5-Year Dividend Growth: 2,725.00%

    --- perShareInfo ---
      Most Recent Earnings: 0.29 on 05/26/26
      Next Earnings Date: 08/25/26
      Earnings Per Share ttm: 2.27
      EPS Growth vs. Prev Year: -69.79%
      Annual Dividend & Yield (Paid): 2.16 (4.28%)
      Annual Dividend & Yield (Fwd): 4.86 (9.50%)
      Most Recent Dividend: 0.405 on 05/11/26
      Next Ex-Dividends Date: 05/11/26
      Dividend Payable Date: 05/29/26
      Dividend Payout Ratio: 51.43%

    --- ratios ---
      Price/Earnings ttm: 0.00
      Price/Earnings forward: 13.85
      Price/Earnings to Growth: 0.36
      Return-on-Equity %: 0.00%
      Return-on-Assets %: 0.00%
      Profit Margin %: 1.61%
      Debt/Equity: 0.00
      Price/Sales: 0.78
      Price/Cash Flow: 19.86
      Price/Book: 1.37
      Book Value/Share: 37.43
      Interest Coverage: -1.21
      60-Month Beta: 1.32

    --- dividendHistory ---
      Date: Value
      05/11/26: $0.4050
      05/04/26: $0.1640
      03/30/26: $0.1600
      ... (12+ entries)

Lo que trae cada flag (resumen)

各参数包含的字段汇总

py fetch_barchart.py TICKER
— Siempre: 27 campos de quote + fundamentals

py fetch_barchart.py TICKER
— 默认返回:27个报价 + 基本面字段

#CampoDescripciónEjemplo AAPLNota
1tickerInput del usuarioAAPL
2symbolSímbolo en BarchartAAPL
3nameNombre de la empresaApple Inc
4lastPriceÚltimo precio310.26Delayed 15-20 min
5netChangeCambio neto en $-4.94
6percentChangeCambio porcentual-1.57%
7bidBid price actual313.88
8askAsk price actual313.97
9exchangeExchange donde cotizaNASDAQ
10tradeTimeHora de última operación06/03/26
11marketCapMarket cap en $K4,629,454,720Dividir /1000 para $
12sharesOutstandingShares en circulación K14,687,355En miles
13annualSalesVentas anuales416,161 MM = millones
14annualIncomeIngreso neto anual112,010 M
15ebitEBIT147,366 M
16ebitdaEBITDA159,064 M
17betaBeta 60 meses1.09
18priceSalesPrice/Sales ratio10.81
19priceCashFlowPrice/Cash Flow ratio36.59
20priceBookPrice/Book ratio42.25
21peRatioPrice/Earnings ttm37.04
22epsEarnings Per Share ttm8.27
23mostRecentEarningsÚltimo earnings reportado$2.01 on 04/30/26
24nextEarningsDatePróximo earnings date07/30/26
25dividendDividendo anual + yield1.08 (0.35%)
26mostRecentDividendÚltimo dividendo pagado0.270 on 05/11/26
27sectorSector de la empresaTechnology
#字段描述AAPL示例备注
1ticker用户输入的标的代码AAPL
2symbolBarchart上的标的代码AAPL
3name公司名称Apple Inc
4lastPrice最新价格310.26延迟15-20分钟
5netChange美元净变动-4.94
6percentChange百分比变动-1.57%
7bid当前买价313.88
8ask当前卖价313.97
9exchange上市交易所NASDAQ
10tradeTime最新交易时间06/03/26
11marketCap市值(单位$K)4,629,454,720除以1000转换为美元
12sharesOutstanding流通股数(单位千股)14,687,355
13annualSales年度销售额416,161 MM=百万
14annualIncome年度净利润112,010 M
15ebitEBIT147,366 M
16ebitdaEBITDA159,064 M
17beta60个月Beta值1.09
18priceSales市销率10.81
19priceCashFlow市现率36.59
20priceBook市净率42.25
21peRatio滚动市盈率37.04
22eps滚动EPS8.27
23mostRecentEarnings最新公布的盈利$2.01 on 04/30/26
24nextEarningsDate下一次盈利公布日期07/30/26
25dividend年度股息 + 股息率1.08 (0.35%)
26mostRecentDividend最新已支付股息0.270 on 05/11/26
27sector公司所属行业Technology

--insider
agrega: 4 campos

--insider
新增:4个字段

#CampoDescripciónEjemplo AAPL
28summaryLast3M.buysCantidad de transacciones de compra por insiders (3 meses)0
29summaryLast3M.buySharesAcciones compradas por insiders0
30summaryLast3M.sellsCantidad de transacciones de venta6
31summaryLast3M.sellSharesAcciones vendidas por insiders397,759
#字段描述AAPL示例
28summaryLast3M.buys过去3个月内部人员买入交易次数0
29summaryLast3M.buyShares过去3个月内部人员买入股数0
30summaryLast3M.sells过去3个月内部人员卖出交易次数6
31summaryLast3M.sellShares过去3个月内部人员卖出股数397,759

--analysts
agrega: 4 períodos × 3 campos = 12 campos

--analysts
新增:4个时间段 × 3个字段 = 12个字段

PeríodoCamposEjemplo AAPL
currentrating (texto), value (1-5), analysts (#)Moderate Buy, 4.12, 42
1_mth_agorating, value, analystsModerate Buy, 4.12, 42
2_mths_agorating, value, analystsModerate Buy, 4.07, 42
3_mths_agorating, value, analystsModerate Buy, 4.07, 42
时间段字段AAPL示例
current评级(文本)、评分(1-5)、分析师数量Moderate Buy, 4.12, 42
1_mth_ago评级、评分、分析师数量Moderate Buy, 4.12, 42
2_mths_ago评级、评分、分析师数量Moderate Buy, 4.07, 42
3_mths_ago评级、评分、分析师数量Moderate Buy, 4.07, 42

--estimates
agrega: 5+ filas × 4 períodos

--estimates
新增:5+行 × 4个时间段

FilaDescripciónEjemplo GGAL Current Qtr
Average Earnings EstimateEPS estimado promedio$0.82
Number of EstimatesCantidad de analistas que estiman3
High EstimateEPS estimado más optimista$1.02
Low EstimateEPS estimado más pesimista$0.69
Prior YearEPS del año anterior en mismo período$0.94
Growth Rate Est.Crecimiento estimado vs año anterior-12.77%

描述GGAL当前季度示例
Average Earnings Estimate平均EPS预测值$0.82
Number of Estimates给出预测的分析师数量3
High Estimate最乐观EPS预测值$1.02
Low Estimate最悲观EPS预测值$0.69
Prior Year去年同期实际EPS$0.94
Growth Rate Est.较去年同期的预测增长率-12.77%

Lo que NO trae el script

脚本无法获取的数据

Toda esta data se renderiza con AngularJS y no está disponible en el HTML estático. Hay que usar un headless browser (Playwright, Selenium, etc.).
PáginaDatos no disponibles
/stocks/quotes/{TICKER}/financial-summary
Solo income/balance/cash flow están disponibles con
--financials
. Growth rates (%) no están
/stocks/quotes/{TICKER}/options
Options chain
/stocks/quotes/{TICKER}/technical-analysis
RSI, Stochastic, ATR, ADX, Moving Averages, Volatility
/stocks/quotes/{TICKER}/analyst-ratings
Price targets (High/Mean/Low), Ratings breakdown (cantidad por categoría)
/stocks/quotes/{TICKER}/insider-trades
Transacciones detalladas (solo summary disponible)
/stocks/quotes/{TICKER}/related-etfs
Tabla de ETFs relacionados (symbol, name, weight) — todo AngularJS
/stocks/signals/top-bottom/top
Screener / Top lists

以下数据由AngularJS渲染,静态HTML中无法获取,需使用无头浏览器(如Playwright、Selenium等)获取。
页面无法获取的数据
/stocks/quotes/{TICKER}/financial-summary
仅能通过
--financials
获取损益/资产负债/现金流数据
,增长率(%)无法获取
/stocks/quotes/{TICKER}/options
期权链数据
/stocks/quotes/{TICKER}/technical-analysis
RSI、随机指标、ATR、ADX、移动平均线、波动率
/stocks/quotes/{TICKER}/analyst-ratings
目标价(最高/平均/最低)、评级细分(各评级类别数量)
/stocks/quotes/{TICKER}/insider-trades
详细交易记录(仅能获取摘要)
/stocks/quotes/{TICKER}/related-etfs
相关ETF表格(代码、名称、权重)—— 全部为AngularJS渲染
/stocks/signals/top-bottom/top
筛选器/排行榜数据

Cómo funciona — endpoints

实现原理 — 接口说明

Quote + fundamentals

报价 + 基本面

GET https://www.barchart.com/stocks/quotes/{TICKER}
  1. Extrae JSON del atributo
    data-ng-init='init({...})'
    (symbol, lastPrice, bid/ask, exchange, tradeTime)
  2. Extrae pares
    <span class="left">Label</span>
    +
    <span class="right">Value</span>
    para fundamentals
GET https://www.barchart.com/stocks/quotes/{TICKER}
  1. data-ng-init='init({...})'
    属性中提取JSON数据(包含代码、最新价格、买卖价、交易所、交易时间)
  2. <span class="left">Label</span>
    +
    <span class="right">Value</span>
    标签对中提取基本面数据

Insider

内部交易

GET https://www.barchart.com/stocks/quotes/{TICKER}/insider-trades
  • Extrae resumen de texto plano: "Last 3 Months: X Buys, Y Shares; Z Sells, W Shares"
GET https://www.barchart.com/stocks/quotes/{TICKER}/insider-trades
  • 从纯文本中提取摘要:"Last 3 Months: X Buys, Y Shares; Z Sells, W Shares"

Analyst ratings

分析师评级

GET https://www.barchart.com/stocks/quotes/{TICKER}/analyst-ratings
  • Extrae de texto plano el patrón:
    {Período}\n{Rating}\n{Valor}\nBased on\n{Cantidad}
GET https://www.barchart.com/stocks/quotes/{TICKER}/analyst-ratings
  • 从纯文本中提取模式:
    {时间段}\n{评级}\n{评分}\nBased on\n{分析师数量}

Earnings estimates

盈利预测

GET https://www.barchart.com/stocks/quotes/{TICKER}/earnings-estimates
  • Extrae tabla HTML de estimaciones de EPS
GET https://www.barchart.com/stocks/quotes/{TICKER}/earnings-estimates
  • 从HTML表格中提取EPS预测数据

Financial summary

财务摘要

GET https://www.barchart.com/stocks/quotes/{TICKER}/financial-summary/{annual|quarterly}
  • Extrae JSON del atributo
    data-content
    con Income Statement (Sales, Net Income), Balance Sheet (Assets, Liabilities) y Cash Flow (Operating Cash Flow, Net Cash Flow) para 5 períodos
GET https://www.barchart.com/stocks/quotes/{TICKER}/financial-summary/{annual|quarterly}
  • data-content
    属性中提取JSON数据,包含5个时间段的损益表(销售额、净利润)、资产负债表(资产、负债)、现金流表(经营现金流、净现金流)

Income statement detail

损益表明细

GET https://www.barchart.com/stocks/quotes/{TICKER}/income-statement/{quarterly|annual}
  • Extrae tabla HTML con Income Statement detallado: Interest Income/Expense, Sales, Net Income, EPS (Basic/Diluted), EBITDA y más (~17 filas)
GET https://www.barchart.com/stocks/quotes/{TICKER}/income-statement/{quarterly|annual}
  • 从HTML表格中提取详细损益表数据:利息收入/支出、销售额、净利润、EPS(基本/稀释)、EBITDA等(约17行)

Balance sheet detail

资产负债表明细

GET https://www.barchart.com/stocks/quotes/{TICKER}/balance-sheet/{quarterly|annual}
  • Extrae tabla HTML con Balance Sheet detallado: Cash, Securities, Loans, Total Assets/Liabilities, Shareholders' Equity y más (~23 filas)
GET https://www.barchart.com/stocks/quotes/{TICKER}/balance-sheet/{quarterly|annual}
  • 从HTML表格中提取详细资产负债表数据:现金、证券、贷款、总资产/负债、股东权益等(约23行)

Cash flow detail

现金流明细

GET https://www.barchart.com/stocks/quotes/{TICKER}/cash-flow/{quarterly|annual}
  • Extrae tabla HTML con Cash Flow detallado: Operating, Investing, Financing Cash Flow, Free Cash Flow, Net Cash Flow, End Cash Position y más (~27 filas)
GET https://www.barchart.com/stocks/quotes/{TICKER}/cash-flow/{quarterly|annual}
  • 从HTML表格中提取详细现金流表数据:经营、投资、融资现金流、自由现金流、净现金流、期末现金余额等(约27行)

Company profile

公司概况

GET https://www.barchart.com/stocks/quotes/{TICKER}/profile
  • Extrae company info desde la sección Company Info (address, website, employees, phone, fax, sector, industries, description)
  • Extrae 6 tablas de key statistics: overview (enterprise value, float, short interest), financials (last quarter data), growth (returns, CAGR), per-share info (EPS growth, payout ratio, ex-div date), ratios (P/E forward, PEG, ROE, ROA, profit margin, book value/share), dividend history

GET https://www.barchart.com/stocks/quotes/{TICKER}/profile
  • 从Company Info区域提取公司信息(地址、官网、员工数、电话、传真、行业、产业、描述)
  • 提取6个关键统计表格:概述(企业价值、流通股、空头持仓)、财务数据(上季度数据)、增长情况(回报率、复合增长率)、每股信息(EPS增长率、派息率、除息日)、比率(远期市盈率、PEG、ROE、ROA、利润率、每股账面价值)、股息历史

Flags del script

脚本参数说明

FlagDescripciónEndpoint
TICKER
Ticker(s) separados por coma (ej:
AAPL,MSFT,GGAL
)
Siempre
--insider
Resumen de insider trading últimos 3 meses
/insider-trades
--analysts
Analyst ratings actual + histórico 3 meses
/analyst-ratings
--estimates
Earnings estimates (4 períodos)
/earnings-estimates
--financials
Financial summary anual (default)
/financial-summary/annual
--financials quarterly
Financial summary trimestral
/financial-summary/quarterly
--income
Income statement detallado trimestral (default)
/income-statement/quarterly
--income annual
Income statement detallado anual
/income-statement/annual
--balance
Balance sheet detallado trimestral (default)
/balance-sheet/quarterly
--balance annual
Balance sheet detallado anual
/balance-sheet/annual
--cashflow
Cash flow detallado trimestral (default)
/cash-flow/quarterly
--cashflow annual
Cash flow detallado anual
/cash-flow/annual
--profile
Company profile + key statistics
/profile
--output
/
-o
Guarda output en archivo JSON-
--quiet
/
-q
Output solo JSON a stdout (modo pipe)-
Se pueden combinar:
py fetch_barchart.py AAPL --insider --analysts --estimates --financials --income --balance --cashflow -o aapl_full.json

参数描述接口
TICKER
用逗号分隔的标的代码(示例:
AAPL,MSFT,GGAL
必选
--insider
获取过去3个月内部交易摘要
/insider-trades
--analysts
获取当前及过去3个月的分析师评级
/analyst-ratings
--estimates
获取4个时间段的盈利预测
/earnings-estimates
--financials
获取年度财务摘要(默认)
/financial-summary/annual
--financials quarterly
获取季度财务摘要
/financial-summary/quarterly
--income
获取季度详细损益表(默认)
/income-statement/quarterly
--income annual
获取年度详细损益表
/income-statement/annual
--balance
获取季度详细资产负债表(默认)
/balance-sheet/quarterly
--balance annual
获取年度详细资产负债表
/balance-sheet/annual
--cashflow
获取季度详细现金流表(默认)
/cash-flow/quarterly
--cashflow annual
获取年度详细现金流表
/cash-flow/annual
--profile
获取公司概况 + 关键统计数据
/profile
--output
/
-o
将输出保存为JSON文件-
--quiet
/
-q
仅将JSON输出到标准输出(管道模式)-
可组合使用参数:
py fetch_barchart.py AAPL --insider --analysts --estimates --financials --income --balance --cashflow -o aapl_full.json

Notas técnicas

技术说明

  • marketCap está en $K (miles). AAPL = 4,629,454,720 → $4.6T
  • sharesOutstanding está en K (miles)
  • annualSales/Income usan sufijos:
    M
    = millions,
    K
    = thousands
  • Los datos son delayed 15-20 min vs mercado en vivo
  • Cubre ADRs globales (GGAL, SUPV, BABA, etc.) listados en NYSE/NASDAQ
  • User-Agent de navegador requerido (ya incluido en el script)
  • Rate limit: ~300ms entre requests (configurable en el script)

  • marketCap单位为**$K**(千美元)。AAPL=4,629,454,720 → $4.6万亿
  • sharesOutstanding单位为K(千股)
  • annualSales/Income使用后缀:
    M
    =百万,
    K
    =千
  • 数据延迟15-20分钟,与实时市场存在时差
  • 支持全球ADR(如GGAL、SUPV、BABA等)在NYSE/NASDAQ上市的标的
  • 脚本已包含所需的浏览器User-Agent
  • 请求频率限制:请求间隔约300ms(可在脚本中配置)

Estructura del skill

技能结构

skills/barchart/
├── SKILL.md                       # Este archivo — documentación principal
├── references/
│   └── REFERENCE.md               # Referencia técnica detallada
├── scripts/
│   └── fetch_barchart.py          # Script principal (sin dependencias extra)
└── assets/

📖 Referencia técnica: references/REFERENCE.md — tabla campo por campo, detalle de extracción, notas técnicas
skills/barchart/
├── SKILL.md                       # 本文档 — 主文档
├── references/
│   └── REFERENCE.md               # 详细技术参考
├── scripts/
│   └── fetch_barchart.py          # 主脚本(无额外依赖)
└── assets/

📖 技术参考: references/REFERENCE.md — 逐字段表格、提取细节、技术说明