optimus-y
Pulls options data from Yahoo Finance.
Last updated 2 years ago by dguttman .
MIT · Original npm · Tarball · package.json
$ cnpm install optimus-y 
SYNC missed versions from official npm registry.

Optimus Y

Pulls options data from Yahoo Finance.

Usage:


optimus({symbol}, function (err, data) {
  console.log(data)

  // { quote:
  //    { quoteType:
  //       { exchange: 'NMS',
  //         shortName: 'Facebook, Inc.',
  //         longName: 'Facebook, Inc.',
  //         exchangeTimezoneName: 'America/New_York',
  //         exchangeTimezoneShortName: 'EDT',
  //         isEsgPopulated: true,
  //         gmtOffSetMilliseconds: '-14400000',
  //         underlyingSymbol: null,
  //         quoteType: 'EQUITY',
  //         symbol: 'FB',
  //         underlyingExchangeSymbol: null,
  //         headSymbol: null,
  //         messageBoardId: 'finmb_20765463',
  //         uuid: '30781f1f-c2f9-342c-ab1a-d2f6f35a51db',
  //         market: 'us_market' },
  //      symbol: 'FB',
  //      price:
  //       { quoteSourceName: 'Delayed Quote',
  //         regularMarketOpen: [Object],
  //         averageDailyVolume3Month: [Object],
  //         exchange: 'NMS',
  //         regularMarketTime: 1533931201,
  //         volume24Hr: {},
  //         regularMarketDayHigh: [Object],
  //         shortName: 'Facebook, Inc.',
  //         averageDailyVolume10Day: [Object],
  //         longName: 'Facebook, Inc.',
  //         regularMarketChange: [Object],
  //         currencySymbol: '$',
  //         regularMarketPreviousClose: [Object],
  //         postMarketTime: 1533945521,
  //         preMarketPrice: {},
  //         exchangeDataDelayedBy: 0,
  //         postMarketChange: [Object],
  //         postMarketPrice: [Object],
  //         exchangeName: 'NasdaqGS',
  //         preMarketChange: {},
  //         circulatingSupply: {},
  //         regularMarketDayLow: [Object],
  //         priceHint: [Object],
  //         currency: 'USD',
  //         regularMarketPrice: [Object],
  //         regularMarketVolume: [Object],
  //         lastMarket: null,
  //         regularMarketSource: 'FREE_REALTIME',
  //         openInterest: {},
  //         marketState: 'CLOSED',
  //         underlyingSymbol: null,
  //         marketCap: [Object],
  //         quoteType: 'EQUITY',
  //         volumeAllCurrencies: {},
  //         postMarketSource: 'DELAYED',
  //         strikePrice: {},
  //         symbol: 'FB',
  //         postMarketChangePercent: [Object],
  //         preMarketSource: 'FREE_REALTIME',
  //         maxAge: 1,
  //         fromCurrency: null,
  //         regularMarketChangePercent: [Object] },
  //      summaryDetail:
  //       { previousClose: [Object],
  //         regularMarketOpen: [Object],
  //         twoHundredDayAverage: [Object],
  //         trailingAnnualDividendYield: {},
  //         payoutRatio: [Object],
  //         volume24Hr: {},
  //         regularMarketDayHigh: [Object],
  //         navPrice: {},
  //         averageDailyVolume10Day: [Object],
  //         totalAssets: {},
  //         regularMarketPreviousClose: [Object],
  //         fiftyDayAverage: [Object],
  //         trailingAnnualDividendRate: {},
  //         open: [Object],
  //         averageVolume10days: [Object],
  //         expireDate: {},
  //         yield: {},
  //         algorithm: null,
  //         dividendRate: {},
  //         exDividendDate: {},
  //         beta: [Object],
  //         circulatingSupply: {},
  //         startDate: {},
  //         regularMarketDayLow: [Object],
  //         priceHint: [Object],
  //         currency: 'USD',
  //         trailingPE: [Object],
  //         regularMarketVolume: [Object],
  //         lastMarket: null,
  //         maxSupply: {},
  //         openInterest: {},
  //         marketCap: [Object],
  //         volumeAllCurrencies: {},
  //         strikePrice: {},
  //         averageVolume: [Object],
  //         priceToSalesTrailing12Months: [Object],
  //         dayLow: [Object],
  //         ask: [Object],
  //         ytdReturn: {},
  //         askSize: [Object],
  //         volume: [Object],
  //         fiftyTwoWeekHigh: [Object],
  //         forwardPE: [Object],
  //         maxAge: 1,
  //         fromCurrency: null,
  //         fiveYearAvgDividendYield: {},
  //         fiftyTwoWeekLow: [Object],
  //         bid: [Object],
  //         tradeable: true,
  //         dividendYield: {},
  //         bidSize: [Object],
  //         dayHigh: [Object] } },
  //   calls:
  //    [ { contractSymbol: 'FB180817C00100000',
  //        impliedVolatility: [Object],
  //        expiration: [Object],
  //        change: [Object],
  //        currency: 'USD',
  //        strike: [Object],
  //        contractSize: 'REGULAR',
  //        lastPrice: [Object],
  //        inTheMoney: true,
  //        openInterest: [Object],
  //        percentChange: [Object],
  //        ask: [Object],
  //        volume: [Object],
  //        lastTradeDate: [Object],
  //        bid: [Object] },
  //      })
  //      ...
  //    ],
  //  puts: [...]}

Current Tags

  • 2.0.0                                ...           latest (2 years ago)

3 Versions

  • 2.0.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 3
Last Day 0
Last Week 0
Last Month 2
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |