finnhub

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const FinnHubSource = "FINNHUB"

Variables

This section is empty.

Functions

func New

func New(token string) source.Source

Types

type Finnhub

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

func (*Finnhub) Candles

func (f *Finnhub) Candles(res models.Resolution, symbol *symbols.Symbol, from time.Time, to time.Time) ([]*models.Candle, error)

func (*Finnhub) Quote

func (f *Finnhub) Quote(symbol *symbols.Symbol) (*models.Quote, error)

Jump to

Keyboard shortcuts

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