barresult

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Ent           *ent.Client
	DataSourceID  int
	Ticker        string
	Interval      interval.Interval
	IntervalStart time.Time
	IntervalEnd   time.Time
	// contains filtered or unexported fields
}

func (*Builder) AddBar

func (b *Builder) AddBar(open, high, low, close, volume float64, transactions int32, timestamp time.Time)

func (*Builder) Result

func (b *Builder) Result() *agents.BarHistoryResults

Jump to

Keyboard shortcuts

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