stoxir v0.1.2 Stoxir

Provides an interface to the IEx Trading Stocks API (https://iextrading.com/developer/docs/#stocks)

Link to this section Summary

Functions

GET /market/batch?symbols=?&types=?

GET /symbol/chart

GET /symbol/chart/period

GET /symbol/company

GET /symbol/delayed-quote

GET /symbol/earnings

GET /symbol/financials

GET /symbol/stats

GET /symbol/logo

GET /symbol/news

GET /symbol/news/last/range

GET /symbol/price

GET /symbol/quote

Link to this section Functions

Link to this function batch(symbols, types)
batch(list, list) :: %{string: map}

GET /market/batch?symbols=?&types=?

Examples

Stoxir.batch(["AAPL", "TSLA"], ["quote", "stats"])

Reference

https://iextrading.com/developer/docs/#batch-requests

Link to this function chart(symbol)
chart(binary) :: [{:key, binary | number}]

GET /symbol/chart

Examples

Stoxir.chart("AAPL")

Reference

https://iextrading.com/developer/docs/#chart

Link to this function chart(symbol, period)
chart(binary, binary) :: [{:key, binary | number}]

GET /symbol/chart/period

Examples

Stoxir.chart("AAPL", "5y")

Reference

https://iextrading.com/developer/docs/#chart

Link to this function company(symbol)
company(binary) :: [{:key, binary | number}]

GET /symbol/company

Examples

Stoxir.company("AAPL")

Reference

https://iextrading.com/developer/docs/#company

Link to this function delayed_quote(symbol)
delayed_quote(binary) :: [{:key, binary | number}]

GET /symbol/delayed-quote

Examples

Stoxir.delayed_quote("AAPL")

Reference

https://iextrading.com/developer/docs/#delayed-quote

Link to this function earnings(symbol)
earnings(binary) :: [{:key, binary | number}]

GET /symbol/earnings

Examples

Stoxir.earnings("AAPL")

Reference

https://iextrading.com/developer/docs/#earnings

Link to this function financials(symbol)
financials(binary) :: [{:key, binary | number}]

GET /symbol/financials

Examples

Stoxir.financials("AAPL")

Reference

https://iextrading.com/developer/docs/#financials

Link to this function key_stats(symbol)
key_stats(binary) :: [{:key, binary | number}]

GET /symbol/stats

Examples

Stoxir.key_stats("AAPL")

Reference

https://iextrading.com/developer/docs/#key-stats

Link to this function logo(symbol)
logo(binary) :: [{:key, binary}]

GET /symbol/logo

Examples

Stoxir.logo("AAPL")

Reference

https://iextrading.com/developer/docs/#logo

Link to this function news(symbol)
news(binary) :: [{:key, binary | number}]

GET /symbol/news

Examples

Stoxir.news("AAPL")

Reference

https://iextrading.com/developer/docs/#news

Link to this function news(symbol, last)
news(binary, number) :: [{:key, binary | number}]

GET /symbol/news/last/range

Examples

Stoxir.news("AAPL", 5)

Reference

https://iextrading.com/developer/docs/#news

Link to this function price(symbol)
price(binary) :: number

GET /symbol/price

Examples

Stoxir.price("AAPL")

Reference

https://iextrading.com/developer/docs/#price

Link to this function quote(symbol)
quote(binary) :: [{:key, binary | number}]

GET /symbol/quote

Examples

Stoxir.quote("AAPL")

Reference

https://iextrading.com/developer/docs/#quote