Link to home
Start Free TrialLog in
Avatar of designersx
designersx

asked on

want to show the share price of each company in my drupal stock market site

i have a site in drupal which is related to stock market. i am showing the companies list on the front end. now i want to show the share price of that company on the above of each company which should get updated  every time like yahoo does.

http://www.futureofstock.com/

does yahoo provide something for this any rss ?? or can i get any script from the internet or something else that work for me.help can be taken from
www.bse.com, www.nasdaq.com.

please help me.
Avatar of nanharbison
nanharbison
Flag of United States of America image

I get stock prices for my own amusement using some code called Snoopy, it is very cool
http://sourceforge.net/projects/snoopy/files/

the prices get added to my database with a cron job

there are probably lots of ways to do this though.
you can see my use of this here:
http://www.nanharbison.com/screenscraper/
Avatar of designersx
designersx

ASKER

thanks for ur above post. ur work seems to be nice but do the prices get refreshed every time or after how much time?

is snoopy a module? could u please tell me more something i how should i proceed? i downloaded the snoopy from the link you gave me and placed it in the modules folder but from admin nothing seems to be coming in it.

how can i relate the cron job with snoopy.

If could help me, i would be very thankful to you for ur great help.

thanks.
well, it's quite easy.

use an rss feed + the rss-module.

You can choose how often the module should refresh and output the content to a blocl

That's it!
that's really cool , thanks for ur advice. sir can u please tell me which rss-module i need to install. can u give me the link. how it will show the prices of each company?? please respond. i will be very thankful to you.

i don't know where nanharbison: sir has gone?
The RSS-Module is part of drupal core!

Just activate it in your module section!
there is a module named aggregator that i have enabled it. this is for showing rss on the page.
i do not want to show the rss , my site is

futureofstock.com/ it  is related to stocks. so i was asking you about showing the current stock price of each company and get updated every second as is on finance.yahoo.com

i am attaching the snapshot , tell me where is the rss module, i can't see any rss module, yes there is a module named aggregator but i think that is for showing rss news. right?
see the snapshot.
sna2.bmp
ASKER CERTIFIED SOLUTION
Avatar of Anybody13
Anybody13
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial