Documentation
¶
Index ¶
- Constants
- type Alpaca
- func (pio *Alpaca) BarRequest(ctx context.Context, ticker string, intervalValue interval.Interval, ...) (*agents.BarHistoryResults, error)
- func (pio *Alpaca) DataSourceId() int
- func (pio *Alpaca) MarketHoursRequest(ctx context.Context, start, end time.Time) ([]*ent.MarketHoursCreate, []time.Time, error)
- func (pio *Alpaca) MaxTimeRange(intervalValue interval.Interval) (time.Time, time.Time)
- func (pio *Alpaca) Name() string
- type Plan
Constants ¶
View Source
const ( Free = Plan("free") Unlimited = Plan("unlimited") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alpaca ¶
type Alpaca struct {
// contains filtered or unexported fields
}
func (*Alpaca) BarRequest ¶
func (*Alpaca) DataSourceId ¶
DataSourceId provides the database DataSourceID for Alpaca
func (*Alpaca) MarketHoursRequest ¶
func (*Alpaca) MaxTimeRange ¶
MaxTimeRange returns the valid time range based on the particular Alpaca plan
Click to show internal directories.
Click to hide internal directories.