Skip to content

An OTP application that provides real time stock & crypto data.

License

Notifications You must be signed in to change notification settings

mkwalker4/exmarket

 
 

Repository files navigation

CircleCI License

Exmarket

An OTP application that provides real time stock & crypto data. This project is a WIP under active development.

Installation

Package is available in Hex, and can be installed by adding exmarket to your list of dependencies in mix.exs:

def deps do
  [
    {:exmarket, "~> 0.1.1"}
  ]
end

The docs can be found at https://hexdocs.pm/exmarket.

After adding {:exmarket, "~> 0.1.0"} to your list of dependencies, access the API either by creating a unique alias or referring to Exmarket directly. For example:

defmodule MyApp do
  alias Exmarket, as: Market

  def get_price(ticker) do
    Market.get_price(ticker)
  end

end

Calling MyApp.get_price("aapl") returns "204.53".

About

An OTP application that provides real time stock & crypto data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%