Git Product home page Git Product logo

hubot-stocks's People

Contributors

7ac avatar nibroc avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

kwandrews7

hubot-stocks's Issues

No definition for table `quote`

Running the script results in:

[Thu Sep 21 2017 11:32:56 GMT-0700 (PDT)] ERROR TypeError: Cannot read property 'results' of undefined                 
    at parseQuoteForSymbol (/Users/gvalente/src/hubot/node_modules/hubot-stocks/src/service/stock.coffee:12:27)                                                                                                                               
    at /Users/gvalente/src/hubot/node_modules/hubot-stocks/src/service/stock.coffee:45:19
    at /Users/gvalente/src/hubot/node_modules/hubot-stocks/src/service/stock.coffee:9:5
    at IncomingMessage.<anonymous> (/Users/gvalente/src/hubot/node_modules/scoped-http-client/src/index.js:95:22)      
    at emitNone (events.js:110:20)                                                                                     
    at IncomingMessage.emit (events.js:207:7)              
    at endReadableNT (_stream_readable.js:1059:12)         
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Which is due to the server returning

{ error:                                                   
   { lang: 'en-US',                                        
     description: 'No definition found for Table yahoo.finance.quote' } }

Am I missing something with the install?

Hello, thanks for the script. I followed the instructions and have the following error when I call hubot stock aapl:

[Sat Feb 03 2018 22:06:27 GMT-0500 (EST)] ERROR TypeError: Cannot read property 'results' of undefined
  at parseQuoteForSymbol (/home/andyph666/myhubot/node_modules/hubot-stocks/src/service/stock.coffee:12:21, <js>:18:30)
  at /home/andyph666/myhubot/node_modules/hubot-stocks/src/service/stock.coffee:45:11, <js>:57:28
  at /home/andyph666/myhubot/node_modules/hubot-stocks/src/service/stock.coffee:9:5, <js>:12:14
  at IncomingMessage.<anonymous> (/home/andyph666/myhubot/node_modules/scoped-http-client/src/index.js:95:22)
  at IncomingMessage.emit (events.js:165:20)
  at endReadableNT (_stream_readable.js:1101:12)
  at process._tickCallback (internal/process/next_tick.js:152:19)

Has anyone come across this problem? Thanks.

Yahoo has apparently dropped support for this API

It looks like Yahoo has officially removed support for this API:
https://yahoo.uservoice.com/forums/382977-finance/suggestions/32103877-http-download-finance-yahoo-com-d-quotes-csv-s-a
And: https://forums.yahoo.net/t5/Yahoo-Finance-help/http-download-finance-yahoo-com-d-quotes-csv-s-GOOG-amp-f/td-p/387096

The API calls actually respond with the same message:

It has come to our attention that this service is being used in violation of the Yahoo Terms of Service. As such, the service is being discontinued. For all future markets and equities data research, please refer to finance.yahoo.com.

Any ideas or suggestions to use a different endpoint to fetch stock data?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.