Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Screener ¶
type Screener struct{}
Screener is a struct to fetch all available Stocks from external API.
func (*Screener) FetchFromNasdaq ¶
FetchFromNasdaq fetches all available Stocks from nasdaq API and returns them as a map of `ticker` -> Stock. ! NOTE: nasdaq is not available in EU region yet.
func (*Screener) FetchFromString ¶
FetchFromString fetches all available Stocks from string (env STOCK_SYMBOLS) separated with | (pipe) and returns them as a map of `ticker` -> Stock. ! NOTE: string only contains tickers, no other data. So expect empty Stock structs for now.
Click to show internal directories.
Click to hide internal directories.