Documentation
¶
Index ¶
- Constants
- type Plan
- type Polygonio
- func (pio *Polygonio) BarRequest(ctx context.Context, ticker string, intervalValue interval.Interval, ...) (*agents.BarHistoryResults, error)
- func (pio *Polygonio) CompanyAddress() string
- func (pio *Polygonio) CompanyName() string
- func (pio *Polygonio) DataSourceId() int
- func (pio *Polygonio) DividendRequest(ctx context.Context, ticker string, start, end time.Time) (results []*ent.DividendCreate, payDates []time.Time, err error)
- func (pio *Polygonio) Entity(ctx context.Context, ticker string) (*ent.EntityCreate, error)
- func (pio *Polygonio) EntitySearch(ctx context.Context, ticker string, limit int) ([]agents.EntitySearchResults, error)
- func (pio *Polygonio) MaxTimeRange(intervalValue interval.Interval) (time.Time, time.Time)
- func (pio *Polygonio) Name() string
- func (pio *Polygonio) SplitRequest(ctx context.Context, ticker string, start, end time.Time) (results []*ent.SplitCreate, executionDates []time.Time, err error)
Constants ¶
View Source
const ( Basic = Plan("basic") Starter = Plan("starter") Developer = Plan("developer") Advanced = Plan("advanced") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Polygonio ¶
type Polygonio struct {
// contains filtered or unexported fields
}
func (*Polygonio) BarRequest ¶
func (*Polygonio) CompanyAddress ¶
func (*Polygonio) CompanyName ¶
func (*Polygonio) DataSourceId ¶
DataSourceId provides the database DataSourceID for Polygon.io
func (*Polygonio) DividendRequest ¶
func (*Polygonio) EntitySearch ¶
func (*Polygonio) MaxTimeRange ¶
MaxTimeRange: return the valid query time range based on the particular Polygon.io plan
Click to show internal directories.
Click to hide internal directories.