session

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pause

type Pause struct {
	From *data.Time `json:"from"`
	To   *data.Time `json:"to"`
}

type SessionDay

type SessionDay struct {
	Day    int        `json:"day"`
	Start  *data.Time `json:"start"`
	End    *data.Time `json:"end"`
	Pauses []*Pause   `json:"pauses"`
}

type TradingSession

type TradingSession struct {
	Days []*SessionDay `json:"days"`
}

func (*TradingSession) IsStartOfSession

func (td *TradingSession) IsStartOfSession(t time.Time, timeframe int) bool

Jump to

Keyboard shortcuts

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