StockModule (stock_module v0.1.0)

Documentation for StockModule.

Link to this section Summary

Functions

Fetch price information for given stock_symbol from Alpha Vantage API using the provided api_key for the last interval minutes.

Link to this section Functions

Link to this function

fetch_current_prices(stock_symbol, interval, api_key)

Fetch price information for given stock_symbol from Alpha Vantage API using the provided api_key for the last interval minutes.

Returns a list of prices with the following pattern: [open_price, high_price, low_price, close_price].

Examples

iex> StockModule.fetch_current_prices "IBM", "demo"