Packages

This is a simple Yahoo Finance module capable of getting current data for several symbols in bulk as well as individually. Additional features include getting stock symbols filtered by stock market.

Current section

Files

Jump to
yahoo_finanza lib yahoo_finanza.ex
Raw

lib/yahoo_finanza.ex

defmodule YahooFinanza do
use Application
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
# Define workers and child supervisors to be supervised
worker(YahooFinanza.Symbol, [])
]
opts = [strategy: :one_for_one, name: YahooFinanza.Supervisor]
Supervisor.start_link(children, opts)
end
end