iex

package
v0.0.0-...-6c4cad4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Quote *quoteEndpoint
	// contains filtered or unexported fields
}

Client provides methods to interact with IEX's HTTP API for developers.

func NewClient

func NewClient(client *http.Client) *Client

type Quote

type Quote struct {
	LatestUpdate int     `json:"latestUpdate"`
	Symbol       string  `json:"symbol"`
	CompanyName  string  `json:"companyName"`
	Close        float64 `json:"close"`
	High         float64 `json:"high"`
	Low          float64 `json:"low"`
	Open         float64 `json:"open"`
	Volume       int64   `json:"volume"`
}

Jump to

Keyboard shortcuts

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