bloomberg

package
v0.0.0-...-952c1c6 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrTplNotSupported = "source '%s' does not support action '%s'"
)
View Source
const (
	HIST_URL = "http://www.bloomberg.com/markets/chart/data/%s/%s"
)

Variables

View Source
var VERBOSITY = 0

Functions

func New

func New() forecast.Source

Types

type BloombergSource

type BloombergSource struct {
}

func (*BloombergSource) DividendHist

func (s *BloombergSource) DividendHist(symbols []string) (models.DividendHistMap, error)

func (*BloombergSource) DividendHistLimit

func (s *BloombergSource) DividendHistLimit(symbols []string, start time.Time, end time.Time) (models.DividendHistMap, error)

func (*BloombergSource) Hist

func (s *BloombergSource) Hist(symbols []string) (models.HistMap, error)

func (*BloombergSource) HistLimit

func (s *BloombergSource) HistLimit(symbols []string, start time.Time, end time.Time) (models.HistMap, error)

func (*BloombergSource) Quote

func (s *BloombergSource) Quote(symbols []string) (models.Quotes, error)

func (*BloombergSource) String

func (s *BloombergSource) String() string

Jump to

Keyboard shortcuts

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