Versions in this module Expand all Collapse all v0 v0.1.0 Apr 4, 2021 Changes in this version + type Client struct + HttpClient tkthttp.Client + func NewClient(minInterval time.Duration) *Client + func (c *Client) FetchDailyQuotes(code string, year int, month time.Month) ([]Quote, error) + func (c *Client) FetchDayQuotes(date time.Time) (map[string]Quote, error) + func (c *Client) FetchMonthlyQuotes(code string, year int) ([]Quote, error) + func (c *Client) FetchYearlyQuotes(code string) ([]Quote, error) + type Quote struct + Close float64 + Code string + Date time.Time + DateOfHigh time.Time + DateOfLow time.Time + High float64 + Low float64 + Name string + Open float64 + Transactions uint64 + Value uint64 + Volume uint64