Versions in this module Expand all Collapse all v0 v0.1.0 Sep 11, 2013 Changes in this version + type Column struct + type ColumnEditor struct + func (editor *ColumnEditor) Handle(event termbox.Event) bool + func (editor *ColumnEditor) Initialize(screen *Screen, quotes *Quotes) *ColumnEditor + type Layout struct + func (layout *Layout) Header(profile *Profile) string + func (layout *Layout) Initialize() *Layout + func (layout *Layout) Market(market *Market) string + func (layout *Layout) Quotes(quotes *Quotes) string + func (layout *Layout) TotalColumns() int + type LineEditor struct + func (editor *LineEditor) Handle(ev termbox.Event) bool + func (editor *LineEditor) Initialize(screen *Screen, quotes *Quotes) *LineEditor + func (editor *LineEditor) Prompt(command rune) *LineEditor + type Market struct + Advances map[string]string + Declines map[string]string + Dow map[string]string + Highs map[string]string + IsClosed bool + Lows map[string]string + Nasdaq map[string]string + Sp500 map[string]string + Unchanged map[string]string + func (market *Market) Fetch() (self *Market) + func (market *Market) Initialize() *Market + func (market *Market) Ok() (bool, string) + type Markup struct + Background termbox.Attribute + Foreground termbox.Attribute + RightAligned bool + func (markup *Markup) Initialize() *Markup + func (markup *Markup) IsTag(str string) bool + func (markup *Markup) Tokenize(str string) []string + type Profile struct + Ascending bool + Grouped bool + MarketRefresh int + QuotesRefresh int + SortColumn int + Tickers []string + func (profile *Profile) AddTickers(tickers []string) (added int, err error) + func (profile *Profile) Initialize() *Profile + func (profile *Profile) Regroup() error + func (profile *Profile) RemoveTickers(tickers []string) (removed int, err error) + func (profile *Profile) Reorder() error + func (profile *Profile) Save() error + type Quotes struct + func (quotes *Quotes) AddTickers(tickers []string) (added int, err error) + func (quotes *Quotes) Fetch() (self *Quotes) + func (quotes *Quotes) Initialize(market *Market, profile *Profile) *Quotes + func (quotes *Quotes) Ok() (bool, string) + func (quotes *Quotes) RemoveTickers(tickers []string) (removed int, err error) + type Screen struct + func (screen *Screen) Clear() *Screen + func (screen *Screen) ClearLine(x int, y int) *Screen + func (screen *Screen) Close() *Screen + func (screen *Screen) Draw(objects ...interface{}) *Screen + func (screen *Screen) DrawLine(x int, y int, str string) + func (screen *Screen) Initialize() *Screen + func (screen *Screen) Resize() *Screen + type Sorter struct + func (sorter *Sorter) Initialize(profile *Profile) *Sorter + func (sorter *Sorter) SortByCurrentColumn(stocks []Stock) *Sorter + type Stock struct + Advancing bool + AvgVolume string + Change string + ChangePct string + Dividend string + High string + High52 string + LastTrade string + Low string + Low52 string + MarketCap string + MarketCapX string + Open string + PeRatio string + PeRatioX string + Ticker string + Volume string + Yield string