Documentation ¶
Index ¶
- Constants
- Variables
- func New() forecast.Source
- type BloombergSource
- func (s *BloombergSource) DividendHist(symbols []string) (models.DividendHistMap, error)
- func (s *BloombergSource) DividendHistLimit(symbols []string, start time.Time, end time.Time) (models.DividendHistMap, error)
- func (s *BloombergSource) Hist(symbols []string) (models.HistMap, error)
- func (s *BloombergSource) HistLimit(symbols []string, start time.Time, end time.Time) (models.HistMap, error)
- func (s *BloombergSource) Quote(symbols []string) (models.Quotes, error)
- func (s *BloombergSource) String() string
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 ¶
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) Quote ¶
func (s *BloombergSource) Quote(symbols []string) (models.Quotes, error)
func (*BloombergSource) String ¶
func (s *BloombergSource) String() string
Click to show internal directories.
Click to hide internal directories.