Documentation
¶
Index ¶
- type AllyAgent
- func (ag *AllyAgent) ConsumerKey() string
- func (ag *AllyAgent) ConsumerSecret() string
- func (ag *AllyAgent) GetHistory(ctx context.Context, symbol core.StockSymbolType, ...) ([]*core.SibylHistoryRecord, error)
- func (ag *AllyAgent) GetIntraday(ctx context.Context, symbol core.StockSymbolType, ...) ([]*core.SibylIntradayRecord, error)
- func (ag *AllyAgent) GetQuotes(ctx context.Context, stockSymbols map[core.StockSymbolType]bool, ...) ([]*core.SibylStockQuoteRecord, []*core.SibylOptionQuoteRecord, error)
- func (ag *AllyAgent) GetStableQuotes(ctx context.Context, stockSymbols map[core.StockSymbolType]bool, ...) ([]*core.SibylStableStockQuoteRecord, []*core.SibylStableOptionQuoteRecord, ...)
- func (ag *AllyAgent) GetStockOptionSymbols(ctx context.Context, symbol core.StockSymbolType) ([]*core.OptionSymbolType, error)
- func (ag *AllyAgent) OAuthToken() string
- func (ag *AllyAgent) OAuthTokenSecret() string
- func (ac *AllyAgent) String() string
- func (ag *AllyAgent) VerifyStockSymbol(ctx context.Context, symbol core.StockSymbolType) (good, hasOptions bool, exchange, exchangeName, name string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllyAgent ¶
type AllyAgent struct {
// contains filtered or unexported fields
}
func NewAllyAgent ¶
func (*AllyAgent) ConsumerKey ¶
func (*AllyAgent) ConsumerSecret ¶
func (*AllyAgent) GetHistory ¶
func (ag *AllyAgent) GetHistory(ctx context.Context, symbol core.StockSymbolType, interval core.HistoryInterval, startDate, endDate core.DateType) ([]*core.SibylHistoryRecord, error)
func (*AllyAgent) GetIntraday ¶
func (ag *AllyAgent) GetIntraday(ctx context.Context, symbol core.StockSymbolType, interval core.IntradayInterval, startDate, endDate core.TimestampType) ([]*core.SibylIntradayRecord, error)
func (*AllyAgent) GetQuotes ¶
func (ag *AllyAgent) GetQuotes(ctx context.Context, stockSymbols map[core.StockSymbolType]bool, optionSymbols map[core.OptionSymbolType]bool) ([]*core.SibylStockQuoteRecord, []*core.SibylOptionQuoteRecord, error)
func (*AllyAgent) GetStableQuotes ¶
func (ag *AllyAgent) GetStableQuotes(ctx context.Context, stockSymbols map[core.StockSymbolType]bool, optionSymbols map[core.OptionSymbolType]bool) ([]*core.SibylStableStockQuoteRecord, []*core.SibylStableOptionQuoteRecord, error)
////////////////////////
func (*AllyAgent) GetStockOptionSymbols ¶
func (ag *AllyAgent) GetStockOptionSymbols(ctx context.Context, symbol core.StockSymbolType) ([]*core.OptionSymbolType, error)
func (*AllyAgent) OAuthToken ¶
func (*AllyAgent) OAuthTokenSecret ¶
func (*AllyAgent) VerifyStockSymbol ¶
Click to show internal directories.
Click to hide internal directories.