cnbc-market
v3.0.0
Published
Stock market information from CNBC
Downloads
5
Readme
cnbc-market
Stock market information from CNBC
Usage
const { cnbcMarket } = require("cnbc-market")
cnbcMarket().then( data => console.log(data) )
Example Output
[
{ symbol: '.SPX',
name: 'S&P 500 Index',
value: '2886.31',
change: '38.71',
changePcnt: '1.36' },
{ symbol: '.IXIC',
name: 'NASDAQ Composite',
value: '7895.45',
change: '128.83',
changePcnt: '1.66' },
{ symbol: '.FTSE',
name: 'FTSE 100',
value: '7117.15',
change: '50.14',
changePcnt: '0.71' },
{ symbol: '.N225',
name: 'Nikkei 225 Index',
value: '20418.81',
change: '13.16',
changePcnt: '0.06' },
{ symbol: '.HSI',
name: 'Hang Seng Index',
value: '25734.22',
change: '238.76',
changePcnt: '0.94' },
{ symbol: '.SSEC',
name: 'Shanghai',
value: '2823.82',
change: '8.03',
changePcnt: '0.29' },
{ symbol: '.VIX',
name: 'CBOE Volatility Index',
value: '19.02',
change: '-2.16',
changePcnt: '-10.20' },
{ symbol: '.GDAXI',
name: 'DAX',
value: '11562.74',
change: '150.07',
changePcnt: '1.31' },
{ symbol: 'US10Y',
name: 'U.S. 10 Year Treasury',
value: '1.539',
change: '0.012',
changePcnt: '0.00' },
{ symbol: 'US30Y',
name: 'U.S. 30 Year Treasury',
value: '1.999',
change: '0.019',
changePcnt: '0.00' },
{ symbol: 'US5Y',
name: 'U.S. 5 Year Treasury',
value: '1.414',
change: '-0.008',
changePcnt: '0.00' },
{ symbol: 'US2Y',
name: 'U.S. 2 Year Treasury',
value: '1.478',
change: '-0.018',
changePcnt: '0.00' },
{ symbol: 'US3M',
name: 'U.S. 3 Month Treasury',
value: '1.871',
change: '-0.031',
changePcnt: '0.00' },
{ symbol: 'DE10Y-DE',
name: 'Bund 10-YR',
value: '-0.688',
change: '-0.008',
changePcnt: '0.00' },
{ symbol: 'JP10Y-JP',
name: 'Japan 10 Year Treasury',
value: '-0.237',
change: '0.002',
changePcnt: '0.00' },
{ symbol: '@CL.1',
name: "WTI Crude (Sep'19)",
value: '54.92',
change: '0.45',
changePcnt: '0.83' },
{ symbol: '@NG.1',
name: "Natural Gas (Sep'19)",
value: '2.198',
change: '-0.034',
changePcnt: '-1.52' },
{ symbol: '@GC.1',
name: "Gold COMEX (Dec'19)",
value: '1526.80',
change: '-4.3999',
changePcnt: '-0.2873' },
{ symbol: '@SI.1',
name: "Silver COMEX (Sep'19)",
value: '17.16',
change: '-0.054',
changePcnt: '-0.31' },
{ symbol: '@W.1',
name: "Wheat (Sep'19)",
value: '470.25',
change: '1.25',
changePcnt: '0.27' },
{ symbol: '@HG.1',
name: "Copper (Sep'19)",
value: '2.5895',
change: '-0.0055',
changePcnt: '-0.21' },
{ symbol: 'JPYUSD=',
name: 'Japanese Yen/US Dollar FX Cross Rate',
value: '0.9408',
change: '-0.0014',
changePcnt: '-0.1486' },
{ symbol: '.DXY',
name: 'DXY US Dollar Currency Index',
value: '98.15',
change: '0.00',
changePcnt: '0.01' },
{ symbol: 'JPY=',
name: 'USD/JPY',
value: '106.27',
change: '0.16',
changePcnt: '0.15' },
{ symbol: 'GBP=',
name: 'GBP/USD',
value: '1.2149',
change: '0.0065',
changePcnt: '0.54' },
{ symbol: 'EUR=',
name: 'EUR/USD',
value: '1.1097',
change: '-0.0009',
changePcnt: '-0.081' },
{ symbol: 'USDCAD',
name: 'US Dollar/Canadian Dollar FX Spot Rate',
value: '1.327',
change: '-0.0038',
changePcnt: '-0.2855' },
{ symbol: 'AUD=',
name: 'Australian Dollar/US Dollar FX Spot Rate',
value: '0.6783',
change: '0.0008',
changePcnt: '0.12' },
{ symbol: '.RUT',
name: 'Russell 2000 Index',
value: '1493.30',
change: '31.65',
changePcnt: '2.17' },
{ symbol: '.GSPTSE',
name: 'TSX COMP',
value: '16139.64',
change: '127.11',
changePcnt: '0.79' }
]