Logo Barchart

Barchart

Cộng đồng
gauss314
barchart

Quotes, fundamentals, insider, analyst ratings, earnings estimates, financial summary, income/balance/cashflow detail y company profile (delayed 15-20min). 30K+ stocks US y ADRs globales. Sin API key.

Add to TypingMind

Tổng quan

Nhà phát hànhgauss314
Kho mãskills
Tên kỹ năngbarchart
Sao
250
Bản fork
35
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được gauss314 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Barchart trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/gauss314/skills/tree/main/skills/barchart
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gauss314/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/barchart .claude/skills/barchart
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Barchart trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Barchart ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Barchart với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Barchart Scraper

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


⚠️ Datos clave

ConceptoRespuesta
Tipo de datosQuotes + fundamentals + insider + analyst ratings + earnings estimates + financial summary + income/balance/cashflow detail + company profile
Latencia❌ Delayed 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

Instalación

bash
pip install requests

Scripts

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

Uso rápido

bash
# Quote + fundamentals (27 campos) — sin flags extra
py fetch_barchart.py AAPL
py fetch_barchart.py AAPL,MSFT,GGAL         # Multi-ticker

# Insider summary (--insider)
py fetch_barchart.py AAPL --insider

# Analyst ratings (--analysts)
py fetch_barchart.py AAPL --analysts

# Earnings estimates (--estimates)
py fetch_barchart.py AAPL --estimates

# Financial summary annual (--financials)
py fetch_barchart.py GGAL --financials

# Financial summary quarterly (--financials quarterly)
py fetch_barchart.py GGAL --financials quarterly

# Income statement detail (--income)
py fetch_barchart.py GGAL --income                    # trimestral (default)
py fetch_barchart.py GGAL --income annual

# Balance sheet detail (--balance)
py fetch_barchart.py GGAL --balance                    # trimestral (default)
py fetch_barchart.py GGAL --balance annual

# Cash flow detail (--cashflow)
py fetch_barchart.py GGAL --cashflow                   # trimestral (default)
py fetch_barchart.py GGAL --cashflow annual

# Company profile (--profile)
py fetch_barchart.py GGAL --profile

# Combinar flags
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

Output real por flag

py fetch_barchart.py AAPL (quote + fundamentals)

  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

py fetch_barchart.py GGAL (mismos campos para 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

--insider (agrega)

  --- 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.

--analysts (agrega)

  --- 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.

--estimates (agrega)

  --- 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

--financials annual (agrega)

  --- 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.

--financials quarterly (agrega)

  --- 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.

--income quarterly (agrega income statement detallado)

  --- 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.

--balance quarterly (agrega balance sheet detallado)

  --- 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)

  --- 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 ---
    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

#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

--insider agrega: 4 campos

#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

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

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

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

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%

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-summarySolo income/balance/cash flow están disponibles con --financials. Growth rates (%) no están
/stocks/quotes/{TICKER}/optionsOptions chain
/stocks/quotes/{TICKER}/technical-analysisRSI, Stochastic, ATR, ADX, Moving Averages, Volatility
/stocks/quotes/{TICKER}/analyst-ratingsPrice targets (High/Mean/Low), Ratings breakdown (cantidad por categoría)
/stocks/quotes/{TICKER}/insider-tradesTransacciones detalladas (solo summary disponible)
/stocks/quotes/{TICKER}/related-etfsTabla de ETFs relacionados (symbol, name, weight) — todo AngularJS
/stocks/signals/top-bottom/topScreener / Top lists

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

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"

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}

Earnings estimates

GET https://www.barchart.com/stocks/quotes/{TICKER}/earnings-estimates
  • Extrae tabla HTML de estimaciones de 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

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)

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)

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)

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

Flags del script

FlagDescripciónEndpoint
TICKERTicker(s) separados por coma (ej: AAPL,MSFT,GGAL)Siempre
--insiderResumen de insider trading últimos 3 meses/insider-trades
--analystsAnalyst ratings actual + histórico 3 meses/analyst-ratings
--estimatesEarnings estimates (4 períodos)/earnings-estimates
--financialsFinancial summary anual (default)/financial-summary/annual
--financials quarterlyFinancial summary trimestral/financial-summary/quarterly
--incomeIncome statement detallado trimestral (default)/income-statement/quarterly
--income annualIncome statement detallado anual/income-statement/annual
--balanceBalance sheet detallado trimestral (default)/balance-sheet/quarterly
--balance annualBalance sheet detallado anual/balance-sheet/annual
--cashflowCash flow detallado trimestral (default)/cash-flow/quarterly
--cashflow annualCash flow detallado anual/cash-flow/annual
--profileCompany profile + key statistics/profile
--output / -oGuarda output en archivo JSON-
--quiet / -qOutput 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


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)

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Barchart làm được gì?

Quotes, fundamentals, insider, analyst ratings, earnings estimates, financial summary, income/balance/cashflow detail y company profile (delayed 15-20min). 30K+ stocks US y ADRs globales. Sin API key.

Vì sao nên dùng Barchart trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Barchart là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Barchart trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/gauss314/skills/tree/main/skills/barchart. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Barchart?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Barchart với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Barchart với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Barchart có miễn phí không?

Có. Kỹ năng này được gauss314 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇