RepositoryGoUSHoa Kỳ
PI

piquette/finance-go

:bar_chart: Financial markets data library implemented in go.

791sao
107fork
16issue
3lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: financial-data

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: financial-markets

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: pandas

#1 Repository của tháng

📊 Thư viện Go lấy dữ liệu tài chính từ Yahoo Finance

Một gói Go streamlined để kéo quote, historical data và options info từ Yahoo Finance vào ứng dụng của bạn chỉ với vài dòng mã.

piquette/finance-go là thư viện Go cung cấp quyền truy cập dữ liệu thị trường tài chính hiện tại và lịch sử từ Yahoo Finance, được đóng gói thành các struct rõ ràng và dễ sử dụng. Dự án được thiết kế theo hướng dẫn của stripe-go, tập trung vào việc mỗi hàm làm đúng một việc — lấy giá cổ phiếu, lấy lịch sử giao dịch, hay tính options straddle.

✅ Điểm nổi bật

  • Nhiều loại tài sản: hỗ trợ equity, index, option, forex pair, cryptocurrency pair, futures, ETF, mutual fund — tất cả từ Yahoo Finance
  • Historical OHLCV: kéo dữ liệu giá lịch sử theo khoảng thời gian tùy chọn (1h, 1d, 1w...)
  • Options straddles: tính toán chuỗi straddle từ Yahoo Finance
  • CLI companion: đi kèm ứng dụng qtrn để in quote/options trực tiếp trên terminal
  • Go 1.13+ module: cài đặt đơn giản bằng go get github.com/piquette/finance-go
  • API đơn giản: quote.Get("AAPL") hoặc equity.Get("AAPL") — rõ ràng, ít boilerplate

💡 Vì sao đáng chú ý

Thư viện lấp đầy khoảng trống cho lập trình Go muốn làm việc với dữ liệu tài chính mà không cần chuyển sang Python/pandas. Mỗi loại tài sản có hàm riêng biệt (quote, equity, chart,...) nên người dùng không bị lạc trong một API chung chung. Cộng đồng duy trì project này cũng cung cấp finance-mock — một test server local giúp chạy unit test ổn định mà không phụ thuộc hoàn toàn vào Yahoo Finance API.

Lưu ý: Yahoo Finance thay đổi API mà không báo trước, nên project có thể gặp instability theo thời gian. Dù vậy, đây vẫn là lựa chọn nhẹ và thực tế cho các ứng dụng Go cần dữ liệu thị trường.


#Go #Finance #StockMarket #FinancialData #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
wilsonfreitas/awesome-quant

A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)

31.0k
Nov 29, 2026
RepositoryC++
Fincept-Corporation/FinceptTerminal

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

34.5k
Nov 19, 2026
RepositoryPython
ranaroussi/yfinance

Download market data from Yahoo! Finance's API

26.0k
Nov 26, 2026
RepositoryPython
RomelTorres/alpha_vantage

A python wrapper for Alpha Vantage API for financial data.

4.9k
Jul 26, 2026
RepositoryPython
shashankvemuri/Finance

Python toolkit for quantitative finance: stock analysis, technical indicators, strategy backtesting, portfolio optimization, and financial modeling.

4.4k
Sep 12, 2026
RepositoryPython
pydata/pandas-datareader

Extract data from a wide range of Internet sources into a pandas DataFrame.

3.3k
Jul 21, 2026
RepositoryPython
microsoft/qlib

Qlib is an AI-oriented Quant investment platform that aims to use AI tech to empower Quant Research, from exploring ideas to implementing productions. Qlib supports diverse ML modeling paradigms, including supervised learning, market dynamics modeling, and RL, and is now equipped with https://github.com/microsoft/RD-Agent to automate R&D process.

50.7k
Nov 4, 2026
RepositoryC#
QuantConnect/Lean

Lean Algorithmic Trading Engine by QuantConnect (Python, C#)

22.8k
Nov 30, 2026
RepositoryJupyter Notebook
AI4Finance-Foundation/FinRL

FinRL®: Financial Reinforcement Learning. 🔥

17.2k
Nov 27, 2026