bands

package
v0.0.0-...-0c7f176 Latest Latest
Warning

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

Go to latest
Published: May 21, 2014 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Band

type Band struct {
	Date  time.Time
	Close float64
	SMA   float64
	Up    float64
	Down  float64
}

func All

func All(symbol string) (bands []Band)

Calculates bands for all days

func One

func One(historical []ystock.ClosingValue) (result Band)

Calculates bands for one day

Jump to

Keyboard shortcuts

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