Documentation ¶
Index ¶
- Constants
- type Actions
- type Adjust
- func (adj *Adjust) Accum(cols io.ColumnInterface) error
- func (adj *Adjust) GetInitArgs() []io.DataShape
- func (adj *Adjust) GetOptionalArgs() []io.DataShape
- func (adj *Adjust) GetRequiredArgs() []io.DataShape
- func (adj *Adjust) Init(args ...interface{}) error
- func (adj *Adjust) New() (uda.AggInterface, *functions.ArgumentMap)
- func (adj *Adjust) Output() *io.ColumnSeries
- func (adj *Adjust) Reset()
- func (adj *Adjust) SetTimeBucketKey(tbk io.TimeBucketKey)
- type CARows
- type CacheKey
- type RateChange
- type RateChangeCache
- type RateChangeGetter
Constants ¶
View Source
const CacheLifetime = 24 * time.Hour
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
type Actions struct { Symbol string Tbk *io.TimeBucketKey Rows *CARows }
func NewCorporateActions ¶
func (*Actions) RateChangeEvents ¶
func (act *Actions) RateChangeEvents(includeSplits, includeDividends bool) []RateChange
type Adjust ¶
type Adjust struct { uda.AggInterface ArgMap *functions.ArgumentMap AdjustDividend bool AdjustSplit bool // contains filtered or unexported fields }
func (*Adjust) GetInitArgs ¶
func (*Adjust) GetOptionalArgs ¶
func (*Adjust) GetRequiredArgs ¶
func (*Adjust) New ¶
func (adj *Adjust) New() (uda.AggInterface, *functions.ArgumentMap)
func (*Adjust) Output ¶
func (adj *Adjust) Output() *io.ColumnSeries
func (*Adjust) SetTimeBucketKey ¶
func (adj *Adjust) SetTimeBucketKey(tbk io.TimeBucketKey)
type CARows ¶
type CARows struct { EntryDates []int64 TextNumbers []int64 UpdateTextNumbers []int64 DeleteTextNumbers []int64 NotificationTypes []byte Statuses []byte UpdatedNotificationTypes []byte SecurityTypes []byte VoluntaryMandatoryCodes []byte EffectiveDates []int64 RecordDates []int64 ExpirationDates []int64 NewRates []float64 OldRates []float64 Rates []float64 }
type RateChange ¶
type RateChange struct { Textnumber int64 Epoch int64 Type enum.NotificationType Rate float64 }
func GetRateChanges ¶
func GetRateChanges(symbol string, includeSplits, includeDividends bool) []RateChange
type RateChangeCache ¶
type RateChangeCache struct { Changes []RateChange Access int64 CreatedAt time.Time }
type RateChangeGetter ¶
type RateChangeGetter func(string, bool, bool) []RateChange
Click to show internal directories.
Click to hide internal directories.