It is currently April 19th, 2024, 12:16 am

Looking stock graph

General topics related to Rainmeter.
omaha
Posts: 12
Joined: August 24th, 2016, 9:23 pm

Looking stock graph

Post by omaha »

Anybody can help me with searching stock market widget, with showing graph ?
User avatar
ikarus1969
Posts: 571
Joined: February 28th, 2011, 3:20 pm
Location: Vienna, Austria

Re: Looking stock graph

Post by ikarus1969 »

While waiting for a more specific answer:

if you didn't already you can search on deviantart for such a skin: https://rainmeter.deviantart.com/
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Looking stock graph

Post by balala »

omaha wrote:Anybody can help me with searching stock market widget, with showing graph ?
First you should decide what URL you would like to take the information from (for example here I have a skin which shows the Euro - US Dollar reference rates, provided by the European Central Bank).
Then you'll have to use some WebParser measures to get those information. And finally, if those bars shown by the previous skin are not exactly what you'd like, you should use something like this, to create a "line" graph.
Please let us know if you can't handle any of these steps.
omaha
Posts: 12
Joined: August 24th, 2016, 9:23 pm

Re: Looking stock graph

Post by omaha »

balala wrote:First you should decide what URL you would like to take the information from (for example here I have a skin which shows the Euro - US Dollar reference rates, provided by the European Central Bank).
Then you'll have to use some WebParser measures to get those information. And finally, if those bars shown by the previous skin are not exactly what you'd like, you should use something like this, to create a "line" graph.
Please let us know if you can't handle any of these steps.
Last option look more better for my request.
For example, i need display this graph. How i need to code it in weather graph? Can u show me example with aapl ?
http://finance.yahoo.com/quote/AAPL
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Looking stock graph

Post by balala »

omaha wrote:Last option look more better for my request.
For example, i need display this graph. How i need to code it in weather graph? Can u show me example with aapl ?
http://finance.yahoo.com/quote/AAPL
You (we) should get the values on which that graph was created. Where can we see them?
omaha
Posts: 12
Joined: August 24th, 2016, 9:23 pm

Re: Looking stock graph

Post by omaha »

balala wrote:You (we) should get the values on which that graph was created. Where can we see them?
I need only graphs, like that:

http://www.askdavetaylor.com/1-blog-pics/mac-stock-widget-2.png

https://www.apple.com/downloads/dashboard/business/images/eurostocks_20070626161453.jpg
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Looking stock graph

Post by balala »

Ok, I understood. But to create it, we'd need to read from a site, the values on which the graph will be created. Where can we read them?
omaha
Posts: 12
Joined: August 24th, 2016, 9:23 pm

Re: Looking stock graph

Post by omaha »

balala wrote:Ok, I understood. But to create it, we'd need to read from a site, the values on which the graph will be created. Where can we read them?
http://finance.yahoo.com/quote/AAPL
http://finance.yahoo.com/quote/CSCO
http://finance.yahoo.com/quote/MSFT
http://finance.yahoo.com/quote/INTC

This work with yahoo,u can see code http://mordasius.deviantart.com/art/Market-Prices-252394349
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Looking stock graph

Post by balala »

Yes, but on the site used by Mordasius in his skin, we don't have (at least I couldn't find) the evolution of the prices, from hour to hour, or at some regular interval. The posted graphs does this: they show the evolution of the price on the last few hours. But I can't find the exact values of those prices. These would be what we'd need, to can create a somehow similar graph like those posted by you.
So, again: can we find those values somewhere?
omaha
Posts: 12
Joined: August 24th, 2016, 9:23 pm

Re: Looking stock graph

Post by omaha »

balala wrote:Yes, but on the site used by Mordasius in his skin, we don't have (at least I couldn't find) the evolution of the prices, from hour to hour, or at some regular interval. The posted graphs does this: they show the evolution of the price on the last few hours. But I can't find the exact values of those prices. These would be what we'd need, to can create a somehow similar graph like those posted by you.
So, again: can we find those values somewhere?
https://forum.rainmeter.net/viewtopic.php?t=21052 this work with currency

https://forum.rainmeter.net/viewtopic.php?t=21282

function getData(){getDataURL('http://download.finance.yahoo.com/d/quotes.csv?s='+symbolInput1.value+'+'+symbolInput2.value+'+'+symbolInput3.value+'+'+symbolInput4.value+'+'+symbolInput5.value+'+'+symbolInput6.value+'+&f=sl1xn');}function getDataURL(getURL){xmlReq2=new XMLHttpRequest();xmlReq2.open("GET", getURL);xmlReq2.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");xmlReq2.onreadystatechange=retrievedData;xmlReq2.send(null);}function retrievedData(){if (xmlReq2.readyState == 4 && xmlReq2.status == 200)

i find this code here http://addgadgets.com/stock_meter/