Registry / http-client / piquette-finance-go

piquette-finance-go

JSON →
library1.1.0gogounverified

A Go client for fetching financial data from Yahoo Finance.

go get github.com/piquette/finance-go
INSTALL
IMPORT
SIG · PIQUETTE-FINANCE-G
P
piquette-finance-go
http-clientgov1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

finance
github.com/piquette/finance-go

Fetch the current stock price for Apple (AAPL) from Yahoo Finance.

package main import ( "fmt" "github.com/piquette/finance-go/quote" ) func main() { q, err := quote.Get("AAPL") if err != nil { panic(err) } fmt.Println(q.Symbol, q.RegularMarketPrice) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources
piquette-finance-go — go get piquette-finance-go · libregistry