Skip to content

MagicMirror module for displaying market indicies using (free) Yahoo Finance API

License

Notifications You must be signed in to change notification settings

thess/MMM-MktIndex

Repository files navigation

MMM-MktIndex

MagicMirror module for displaying market indicies using Yahoo Finance Quotes.

Note: Module currently assumes the US Eastern time-zone calculating market open times and locales.

Screenshot

  • Example (Using defaults)
    ScreenShot of Table

Installation

cd ~/MagicMirror/modules
git clone https://github.com/thess/MMM-MktIndex
cd MMM-MktIndex
npm install

API Key

None required.

Configuration

Simple

{
  //disabled: true,
  module: "MMM-MktIndex",
  position: "top_right",
  config: {
    timeFormat: "YYYY-MM-DD HH:mm:ss"
  }
},

Details and Defaults Values

{
  module: "MMM-MktIndex",
  position: "top_right",
  config: {
    timeFormat: "DD-MM HH:mm",
    symbols: ["^DJI", "^IXIC", "^GSPC", "^TNX", "CL=F", "EURUSD=X"],
    // Label name for each symbol. When you use `alias`, the number of symbols and aliases should be the same.
    // If value is null or "", symbol string will be used by default.
    alias: ["DOW 30", "Nasdaq", "S&P 500", "10yr Bond", "Crude Oil", "EUR/USD"],
    updateInterval: 180,    // Query interval in seconds
  }
},

About

MagicMirror module for displaying market indicies using (free) Yahoo Finance API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published