yahoofinance

package
v0.0.0-...-afd3e11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2021 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Date  = 0
	Close = 4
)
View Source
const DataSourceCode = "yahoofinance"

Variables

This section is empty.

Functions

func DownloadHistoricalPrice

func DownloadHistoricalPrice(ctx context.Context, baseCurrency string, quote string) ([]byte, error)

func GetCurrencySymbol

func GetCurrencySymbol(name string) string

Types

type HistoricalPriceLoader

type HistoricalPriceLoader struct {
	// contains filtered or unexported fields
}

func NewHistoricalPriceLoader

func NewHistoricalPriceLoader(currency, baseCurrency string) *HistoricalPriceLoader

func (*HistoricalPriceLoader) Execute

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL