1.1.1 • Published 6 years ago

@muppets/finance-data-example1 v1.1.1

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
6 years ago

finance data example

overview

does the stuff with the things

install

yarn add @muppets/finance-data-example1

#or

npm i @muppets/finance-data-example1

usage

getXyz provides several commonly used stock queries. each query method returns a list of stock entries - these may be further manipulated with the groupByXyz functions

const {
  getGainers,
  groupByExchange,
} = require('@muppets/finance-data-example1')

getGainers()
  .then((gainers) => {
    //view list of gainers
    console.log(gainers)

    //view grouped exchanges
    console.log(groupByExchange(gainers))
  })
  .catch(console.error)

cli

this project supports a cli that provides basic query and formatting commands

npx stock-query --help

#or

yarn stock-query --help