Read the statement by Michael Teeuw here.
Stocks
-
Ok, so I think i figured it out. Still not sure why it worked, but for some reason, running a console.log("descriptive text " + this) seems to corrupt or change the type of “this”. If I put two consecutive console.log() calls–first with descriptive text, second with just “this”–then it works. Basically in the example above, if I just comment out the first two console.log() calls, then it no longer prints “undefined” and instead prints “MSFT”. Sorry for all the trouble!
-
Several weeks ago this module seemed to stop working. It doesn’t generate any errors, just won’t display. Has anyone else seen this?
Thanks, Dave
-
@Mitch1138 Yes same for me, this module no longer works.
-
@Mitch1138 said in Stocks: > Has anyone else seen this?
@pugsly > Yes same for me, this module no longer works.
At first glance, putting the url into a browser results in a 404 error
http://finance.google.com/finance/info?client=ig&q=.DJI,MSFT,AAPL,GOOG,INTC,CICS,TSLA,FB -
The url in the module no longer works… it won’t give an error it’s a 404 error…
I’m seeing if I can find a url replacement…
-
@alexyak
can’t seem to get this updating on the MM display, any ideas? Was there any change to the original code? -
@cowboysdude
Did you find a working URL replacement?
Have you been using another Stocks module instead? -
@homebrew No sorry I haven’t. I don’t use stock modules :) I don’t do stocks LOL
BUT if you can find a url that works I can look at the module for you…
-
@Mykle1
have you found a replacement url or just using another stocks module? -
Like @cowboysdude, I don’t use stock modules. My interest in this topic was to troubleshoot for @Mitch1138 3 months ago. The API that was being used is no longer available. Cowboysdude and I both looked for a free API but there didn’t seem to be one available at the time.
If you can find a free API then I’ll certainly collaborate with Cowboysdude if he wanted some assistance
-
@homebrew
i’m too - i can’t see anything on my display if i use the Stocks module.
I‘m useing mm 2.2.1 on a raspberry pi. -
I’ve found a web service which provides free intraday stock quotes. You will only need to register to get an API key.
https://www.alphavantage.co/support/#api-key
The code in the module will need to be modified though to parse a different payload result. I will try to update it today or tomorrow.
-
@alexyak
Many Thanks - i‘m looking forward.
If you update your code - i will Test it ;) -
I’ve updated the code to support the new API’s from https://iextrading.com/developer/docs/#stocks. Which BTW, doesn’t even require registration.
-
Alexyak this is great thanks! The iex API seems to only support US stocks. Any chance of integrating Alphavantage into this great module? Would love to get some CDN ( TSX ) stocks into it
Thanks!
-
Many thanks for all your work Alexyak. I can’t seem to get the stock to display. I am using the default configuration file and this is display on the terminal during execution:
Connecting socket for: stocks stocks helper started ... Sockets connected & modules started ... Launching application. url:https://api.iextrading.com/1.0/stock/.DJI/quote url:https://api.iextrading.com/1.0/stock/MSFT/quote url:https://api.iextrading.com/1.0/stock/AAPL/quote url:https://api.iextrading.com/1.0/stock/GOOG/quote url:https://api.iextrading.com/1.0/stock/INTC/quote url:https://api.iextrading.com/1.0/stock/CICS/quote url:https://api.iextrading.com/1.0/stock/TSLA/quote url:https://api.iextrading.com/1.0/stock/FB/quoteAny suggestions?
Thanks, Mitch -
Me too - i do not see anything on my display.
I use the default config too. -
There are a few symbols that don’t exist. Remove .DJI and CICS
-
Thanks again, that fixed it (although the DJI would be nice…).
I really appreciate your efforts.
Mitch
-
Awesome, and chance of getting alpha api to work for Canadian Stocks? ;) Thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login