scraping

package
v0.0.0-...-33a1497 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStockSummary

func GetStockSummary(stock string) (nosqlDomain.SummaryStock, error)

func GetTimeOpenMarket

func GetTimeOpenMarket() bool

func TransformDate

func TransformDate(dateString string) (time.Time, error)

func TransformToPrice

func TransformToPrice(v string) decimal.Decimal

Types

type Service

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

func NewScrapingService

func NewScrapingService(conn *db.Connections) *Service

func (*Service) GetAllStocks

func (s *Service) GetAllStocks() []string

func (*Service) GetSummaryStock

func (s *Service) GetSummaryStock(stock string) (nosqlDomain.SummaryStock, error)

Jump to

Keyboard shortcuts

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