Documentation ¶
Index ¶
- func Annually() func(t time.Time, _ []float64) bool
- func Daily() func(t time.Time, _ []float64) bool
- func Monthly() func(t time.Time, currentWeights []float64) bool
- func Never() func(t time.Time, currentWeights []float64) bool
- func Quarterly() func(t time.Time, _ []float64) bool
- func TruncateWithLookBack(end, start time.Time, dur Window, returns returns.List) returns.List
- func Weekly() func(t time.Time, _ []float64) bool
- type Interval
- type IntervalCheckFunc
- type Window
- func (dur Window) Add(t time.Time) time.Time
- func (dur Window) Function(today time.Time, table returns.Table) returns.Table
- func (dur Window) IsSet() bool
- func (dur Window) Options() []Window
- func (dur Window) String() string
- func (dur Window) Sub(t time.Time) time.Time
- func (dur Window) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TruncateWithLookBack ¶
Types ¶
type IntervalCheckFunc ¶
Click to show internal directories.
Click to hide internal directories.