Documentation ¶
Index ¶
- func Get1DBar(client *alpaca.Client, symbols []string) error
- func Get1MinBar(client *alpaca.Client, symbols []string) error
- func GetQuotes(client *alpaca.Client, symbols []string) error
- func GetSymbols() ([]string, error)
- func GetTrades(client *alpaca.Client, symbols []string) error
- func IndexChunks(length int, chunkSize int) <-chan IndexChunk
- type IndexChunk
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSymbols ¶
GetSymbols scrapes list of symbols of S&P 500 companies from https://en.wikipedia.org/wiki/List_of_S%26P_500_companies
func IndexChunks ¶
func IndexChunks(length int, chunkSize int) <-chan IndexChunk
Types ¶
type IndexChunk ¶
type IndexChunk struct {
From, To int
}
Click to show internal directories.
Click to hide internal directories.