atr

package
v0.0.0-...-bbd37fe Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type  = "ATR"
	Descr = "Average True Range"
)

Variables

This section is empty.

Functions

func New

func New() blocks.Block

Types

type ATR

type ATR struct {
	// contains filtered or unexported fields
}

func (*ATR) GetDescription

func (blk *ATR) GetDescription() string

func (*ATR) GetInputs

func (blk *ATR) GetInputs() blocks.Inputs

func (*ATR) GetOutputs

func (blk *ATR) GetOutputs() blocks.Outputs

func (*ATR) GetParams

func (blk *ATR) GetParams() blocks.Params

func (*ATR) GetType

func (blk *ATR) GetType() string

func (*ATR) GetWarmupPeriod

func (blk *ATR) GetWarmupPeriod() int

func (*ATR) Init

func (blk *ATR) Init() error

func (*ATR) IsWarm

func (blk *ATR) IsWarm() bool

func (*ATR) Update

func (blk *ATR) Update(cur *models.Bar, isLast bool)

Jump to

Keyboard shortcuts

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