charts

package
v0.0.0-...-f05cc18 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CandlesticksPayload

type CandlesticksPayload struct {
	Name         string
	Candlesticks cdksclient.ReadCandlesticksPayload
}

type Generator

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

func NewGenerator

func NewGenerator(client client.Services) *Generator

func (Generator) Candlesticks

func (c Generator) Candlesticks(ctx context.Context, payload CandlesticksPayload) (*charts.Kline, error)

func (Generator) SMA

func (c Generator) SMA(ctx context.Context, payload SMAPayload) (*charts.Line, error)

type SMAPayload

type SMAPayload struct {
	SMA   indclient.SMAPayload
	Color string
}

Jump to

Keyboard shortcuts

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