data

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

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

func NewDownloader

func NewDownloader(exchange exchange.Exchange) Downloader

func (Downloader) Download

func (d Downloader) Download(ctx context.Context, symbol, timeframe string, output string, options ...Option) error

type Option

type Option func(*Parameters)

func WithDays

func WithDays(days int) Option

func WithInterval

func WithInterval(start, end time.Time) Option

type Parameters

type Parameters struct {
	Start time.Time
	End   time.Time
}

Jump to

Keyboard shortcuts

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