quantMA

package
v0.0.0-...-4fdae40 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(appNameInit string)

func WrappedPlotlyHandlerMA

func WrappedPlotlyHandlerMA(dlGroupChan chan *downloader.Group, tradingSymbols []string) http.HandlerFunc

Types

type Group

type Group struct {
	Name   string
	Issues []Issue
}

func GetGroup

func GetGroup(downloaderGroup *downloader.Group, tradingSymbols []string, maLength int, maSplit float64) *Group

func (Group) String

func (grp Group) String() string

func (*Group) UpdateIssue

func (grp *Group) UpdateIssue(index int, maLength int, maSplit float64)

type Issue

type Issue struct {
	DownloaderIssue   *downloader.Issue
	QuantsetAsColumns QuantMA
}

func (Issue) String

func (iss Issue) String() string

type QuantMA

type QuantMA struct {
	PriceNormalizedClose []float64
	PriceNormalizedHigh  []float64
	PriceNormalizedLow   []float64
	PriceNormalizedOpen  []float64
	PriceMA              []float64
	PriceMAHigh          []float64
	PriceMALow           []float64
	Results              quant.Results
}

Jump to

Keyboard shortcuts

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