marketday

package module
v0.0.0-...-f2cd444 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: LGPL-2.1 Imports: 2 Imported by: 2

README

marketday

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Day

func Day(year int, month time.Month, day int) time.Time

func IsFullMarketDay

func IsFullMarketDay(date time.Time) bool

func IsMarketDay

func IsMarketDay(date time.Time) bool

func PreviousMarketDay

func PreviousMarketDay(date time.Time) time.Time

func PreviousMarketDays

func PreviousMarketDays(date time.Time, count int) []time.Time

Types

type EODData

type EODData struct {
	Symbol string
	Date   time.Time
	Open   float64
	High   float64
	Low    float64
	Close  float64
	Volume float64
}

func (*EODData) Equal

func (a *EODData) Equal(b *EODData) bool

Jump to

Keyboard shortcuts

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