All Projects → philcallister → Ticker Elixir

philcallister / Ticker Elixir

Licence: mit
Elixir OTP Stock Quotes App (IEX Group) | Current Branch: elixir_1.8_iex

Programming Languages

elixir
2628 projects

Labels

Projects that are alternatives of or similar to Ticker Elixir

Otp.net
A .NET implementation of TOTP and HOTP for things like two-factor authentication codes.
Stars: ✭ 424 (+497.18%)
Mutual labels:  otp
Dolphin
**pigame** is a game server template for Erlang.
Stars: ✭ 23 (-67.61%)
Mutual labels:  otp
Privacyidea
🔐 multi factor authentication system (2FA, MFA, OTP Server)
Stars: ✭ 1,027 (+1346.48%)
Mutual labels:  otp
Memento
Simple + Powerful interface to the Mnesia Distributed Database 💾
Stars: ✭ 597 (+740.85%)
Mutual labels:  otp
Loader
deploy
Stars: ✭ 6 (-91.55%)
Mutual labels:  otp
Authenticator
Authenticator generates 2-Step Verification codes in your browser.
Stars: ✭ 979 (+1278.87%)
Mutual labels:  otp
Erlexec
Execute and control OS processes from Erlang/OTP
Stars: ✭ 421 (+492.96%)
Mutual labels:  otp
Mnesiac
Mnesia autoclustering made easy!
Stars: ✭ 62 (-12.68%)
Mutual labels:  otp
Otplib
🔑 One Time Password (OTP) / 2FA for Node.js and Browser - Supports HOTP, TOTP and Google Authenticator
Stars: ✭ 916 (+1190.14%)
Mutual labels:  otp
Elixirbooks
List of Elixir books
Stars: ✭ 1,021 (+1338.03%)
Mutual labels:  otp
Hedwig
An Adapter-based Bot Framework for Elixir Applications
Stars: ✭ 609 (+757.75%)
Mutual labels:  otp
Pinview
A pinview library for android. ✨
Stars: ✭ 650 (+815.49%)
Mutual labels:  otp
Whatsup
**Deprecated** Real time chat app written in Swift 4 using Firebase and OTP Authentication
Stars: ✭ 39 (-45.07%)
Mutual labels:  otp
Freeipa
Mirror of FreeIPA, an integrated security information management solution
Stars: ✭ 520 (+632.39%)
Mutual labels:  otp
Gortas
Gortas is an API based authentication service, allows adding authentication to your site or service with minimum efforts.
Stars: ✭ 48 (-32.39%)
Mutual labels:  otp
Android Otpview Pinview
A custom view to enter otp of different sizes used usually in cases of authentication.
Stars: ✭ 422 (+494.37%)
Mutual labels:  otp
Otphp
🔐 A PHP library for generating one time passwords according to RFC 4226 (HOTP) and the RFC 6238 (TOTP)
Stars: ✭ 857 (+1107.04%)
Mutual labels:  otp
Jsotp
Javascript One-Time Password module.
Stars: ✭ 71 (+0%)
Mutual labels:  otp
Lager
A logging framework for Erlang/OTP
Stars: ✭ 1,060 (+1392.96%)
Mutual labels:  otp
Login otp
OTP authentication for OpenBSD implementing RFC 6238 and RFC 4226.
Stars: ✭ 43 (-39.44%)
Mutual labels:  otp

Build Status Coverage Status

ticker-elixir

ticker-elixir is an example Elixir OTP app which periodically pulls quotes for configured symbols. In this example, quotes are pulled from the defunct, but still available, Google Finance API. Additiionly, quotes can be simulated (the current default). Retrieved quotes are stored within individual symbol GenServers. These quotes are then rolled up into time-frame intervals using ETS tables, stored within additional GenServers, all supervised by OTP.

To broadcast quote/time-frame information, callbacks can be configured to notify of updates. These callbacks are how the ticker-phoenix application captures quotes/time-frames and publishes them to Phoenix channels.

While currently not implemented at this time, it might be interesting to build an adapter layer to configure this OTP app to consume different quote endpoints. Obviously, Google Finance is just a very simple example, but there's no reason why professional quality feeds couldn't be consumed.

A HUGE missing piece to this puzzle is that historical data is currently only stored within ETS. The 2nd phase will be to wire this into Cassandra, a perfect solution for time-based historical data. Stay tuned!

To see the ticker-elixir app in action, head over to

To run the three apps togther, follow the startup instructions for both ticker-phoenix & ticker-react. This app, ticker-elixir, will be included within ticker-phoenix

Example screenshot of the three applications being used together

Stock Ticker

Environment

The sample was developed using the following

  • Elixir 1.3.0
  • OS X El Capitan (10.11)

Note: Pull the elixir_1.4 branch to use Elixir 1.4. This branch also includes an update to use the Elixir 1.4 Registry in place of gproc 👍

Setup

Clone Repo

git clone https://github.com/philcallister/ticker.git

Dependencies

mix deps.get
mix deps.compile

Run It

Start the server

mix ticker.server

OR within iex

iex -S mix ticker.server

Installation within OTP app

  1. Add ticker to your list of dependencies in mix.exs:

    def deps do
    	[{:ticker, git: "https://github.com/philcallister/ticker-elixir.git"}]
    end
    
  2. Ensure ticker is started before your application:

    def application do
    	[applications: [:ticker]]
    end
    

License

MIT License

Free Software, Hell Yeah!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].