Giter VIP home page Giter VIP logo

pubnub-eon's Introduction

Pubnub-Eon

D3 powered pubnub eon spline chart that updates when it receives streaming data from a source.

Include following dependencies

<script src=https://cdn.pubnub.com/sdk/javascript/pubnub.4.0.11.min.js></script>
<script type="text/javascript" src="https://pubnub.github.io/eon/v/eon/1.0.0/eon.js"></script>

Streaming data is fetched from a freely available API - Alpha Vantage API
Stock time series data - returns the following daily time series data for equities in JSON format
-Date
-Daily open
-Daily close
-Daily high
-Daily low
-Daily volume

URI used - https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=<insert_symbol>&apikey=<insert_authKey>
Optional query parameter - outputsize
By default, outputsize=compact. Strings compact and full are accepted with the following specifications:
compact returns only the latest 100 data points
full returns the full-length time series of up to 20 years of historical data.
The equity symbol is taken as input from the user.

Three Eon spline charts are generated
-Open and Close for 100 dates back from today
-High and low for 100 dates back from today
-Volume for 100 dates back from today

pubnub-eon's People

Contributors

renuka-raju avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.