provider

package
v0.0.0-...-0298df9 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2016 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Morningstar

type Morningstar struct {
}

Morningstar provides a morningstar scrapper

func NewMorningstar

func NewMorningstar() Morningstar

NewMorningstar will create a new Morningstar scrapper

func (*Morningstar) GetFinancials

func (p *Morningstar) GetFinancials(symbol string) ([]finance.Financials, error)

GetFinancials gets the financial information for the symbol

type Provider

type Provider struct {
}

Provider provides a Query interface implementation

func NewProvider

func NewProvider() Provider

NewProvider will create a new Yahoo Provider

func (*Provider) GetDividendHistory

func (p *Provider) GetDividendHistory(symbol string) ([]finance.DividendEntry, error)

GetDividendHistory retrieves the dividend history for a particular symbol

func (*Provider) GetFinancials

func (p *Provider) GetFinancials(symbol string) ([]finance.Financials, error)

GetFinancials gets the financial information for the symbol

func (*Provider) GetQuotes

func (p *Provider) GetQuotes(symbols ...string) ([]finance.Quote, error)

GetQuotes retrieves a quote through a yahoo provider

type YQLConn

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

func (*YQLConn) Begin

func (c *YQLConn) Begin() (driver.Tx, error)

func (*YQLConn) Close

func (c *YQLConn) Close() error

func (*YQLConn) Prepare

func (c *YQLConn) Prepare(query string) (driver.Stmt, error)

type YQLDriver

type YQLDriver struct{}

func (*YQLDriver) Open

func (d *YQLDriver) Open(dsn string) (driver.Conn, error)

type YQLResult

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

type YQLRows

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

func (*YQLRows) Close

func (rc *YQLRows) Close() error

func (*YQLRows) Columns

func (rc *YQLRows) Columns() []string

func (*YQLRows) Next

func (rc *YQLRows) Next(dest []driver.Value) error

type YQLStmt

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

func (*YQLStmt) Close

func (s *YQLStmt) Close() error

func (*YQLStmt) Exec

func (s *YQLStmt) Exec(args []driver.Value) (driver.Result, error)

func (*YQLStmt) NumInput

func (s *YQLStmt) NumInput() int

func (*YQLStmt) Query

func (s *YQLStmt) Query(args []driver.Value) (driver.Rows, error)

Jump to

Keyboard shortcuts

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