Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Brent Sullivan
Brent Sullivan
9,877 Points

Project help: live stock market data

Hi all,

I would like to create a website that presents live stock market data in a certain (hopefully humorous) way but I am not really sure where to begin.

My impression is that this problem has already been solved, or that subsets of this problem have been solved, at least.

Some hand-holding is probably necessary: What data source would you recommend for stock market data (free)? How do I extract the data? Where do I store the data? (is storage even necessary?) How do I query these data to draw a chart?

Is this a Ruby project?

I eventually want users to be able to comment on market movement and to have these comments appear like a speech bubble near an (x,y) coordinate on a stock's chart.

Yep, I am in over my head, but that is just fine. Any helpful insights/reading would be really great!

Thanks!

Brent

p.s. I work in the industry and am aware of disclosures required surrounding the presentation of financial data to the general public.

2 Answers

Hi Brent,

Chech this out and see if it is something you are interested in. HOW TO ADD STOCK QUOTES TO YOUR WEBSITE. On the page they offer the following script snippet.

<script src="http://markets.financialcontent.com/stocks?
Module=snapshot&Ticker=$COMP+$SPX+GOOG+FB+MCD&Output=JS">
</script>

Copy and paste the url into the address bar of your browser and view the code they used to do this. This might solve part of your challenge.

Edit: Maybe something here?

SaneBull

How can I embed a live stock market ticker into my home page?

Jeff

Brent Sullivan
Brent Sullivan
9,877 Points

These are great suggestions. Thank you very much.