JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q43001F
  • License MIT

Free financial quotes.

Package Exports

  • quoth

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (quoth) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

#Quoth

A free financial quotes library

var quoth = require("quoth");

// Listed companies
quoth.companies((err, results) => { });

// Quotes
quoth.spot(symbol, (err, result) => { });
quoth.statistics(symbol, (err, results) => { });
quoth.keyStatistics(symbol, (err, results) => { });
quoth.volatility(symbol, (err, results) => { });
quoth.historicals(symbol, from, to, (err, results) => { });

// Fundamentals
quoth.fundamentals(symbol, (err, results) => { });
quoth.balanceSheet(symbol, (err, results) => { });
quoth.cashflow(symbol, (err, results) => { });
quoth.income(symbol, (err, results) => { });

// Bonds
quoth.treasuries((err, results) => { });

// Global Indices
quoth.indices = { ... };
quoth.commodities = { ... };
quoth.globalIndicies((err, result) => { });

// Sentiment and Emotion
quoth.sentiment.init({
    consumer_key: '...',
    consumer_secret: '...',
    access_token_key: '...',
    access_token_secret: '...'
}, (err) => { 
    if (err) throw err;
    else quote.sentiment.fetch(symbol, (err, results) => { });
});