stocks

package
v0.0.0-...-d6e6fda Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2013 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryResult

type QueryResult struct {
	Quotes []Quote `xml:"results>quote"`
}

type Quote

type Quote struct {
	Symbol             string `xml:"symbol,attr"`
	Name               string
	Ask                string
	Bid                string // monetary
	AskRealtime        string // monetary
	BidRealtime        string // monetary
	Change             string
	Open               string // monetary
	PreviousClose      string // monetary
	DaysLow            string // monetary
	DaysHigh           string // monetary
	PercentChange      string
	LastTradePriceOnly string // monetary
	Error              string `xml:"ErrorIndicationreturnedforsymbolchangedinvalid"`
}

Jump to

Keyboard shortcuts

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