store

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	QuoteExpiration time.Duration
	Controller      *controller.Controller
	Cache           cache.Cache
	Source          source.Source
}

func (*Store) Candles

func (s *Store) Candles(res models.Resolution, rawSymbol string, from, to time.Time) ([]*models.Candle, error)

func (*Store) Close

func (s *Store) Close()

func (*Store) Quote

func (s *Store) Quote(rawSymbol string) (*models.Quote, error)

Jump to

Keyboard shortcuts

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