English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to put a small box on my site that shows the latest prices of my own little stock index of about 20 stock picks. It would need to get the latest prices from somewhere, calculate my weightings, and present the up-to-date price of the total index.

How do I do this?

The Yahoo Finance Badge doesn't show the full value of the portfolio/index, just the individual stocks.

Thanks!

2007-02-01 04:47:44 · 6 answers · asked by Jim S 1 in Computers & Internet Programming & Design

6 answers

There's probably an RSS feed you could use, some blogging sites will display this for you, just tell it the URL to download.

I'm not an Ajax expert, but I've played with it, and this is certainly a good time to use it, I think. Google (or yahoo!) XmlHttpRequest and you'll get lots of info on how to use it.

The hardest part about Ajax is that you can't communicate with a 3rd party server, due to security restrictions in modern browsers. So your ajax code can only communicate with the domain it came from. Because of this you'll need to store the RSS feed on your site and read it from there, or make a proxy on your site that just pulls the RSS feed down and returns it.

Then you'd use your XmlHttpRequest object (on the client side) to get the feed, parse it, and update a div on your page with the info.

Maybe there's an easier way, but this is how I do this kind of stuff.

2007-02-01 05:47:44 · answer #1 · answered by fixedinseattle 4 · 0 0

This penny stock service has years of proven experience. Ultimately it is the best service for beginners to use https://tr.im/dEq7d
You will have to wait between 3 and 10 days to get into the system in most cases. When I signed up it took 8 days. I wished it was faster, but if you can wait a week or two to start earn life changing money than you will have what it takes to make it in this business.

2016-02-16 10:58:31 · answer #2 · answered by ? 3 · 0 0

Where are you going to fetch the stock data from? If there is some service provider for data then you can use Ajax or Flash. I think using Ajax should be a better idea. As it would be light weight. You can use Dojo toolkit or Prototype Toolkit to get the work done.

--
Ck
http://www.gfour.net

2007-02-01 05:36:54 · answer #3 · answered by KingPin 3 · 0 0

Dire Straits - "Money for Nothing" Dr. Hook and the Medicine Show - "The Cover of the Rolling Stone" "Working For MCA" - Lynyrd Skynyrd "Video Killed The Radio Star" - The Buggles "Life's Been Good" - Joe Walsh "Shooting Star" - Bad Comapny

2016-03-28 23:55:59 · answer #4 · answered by Anonymous · 0 0

Hi,
Penny stocks, also known as cent stocks in some countries, are common shares of small public companies that trade at low prices per share. They are notoriously risky but if you follow a special method I've learned you can earn good money at almost no risk. This is the site I use: http://pennystocks.toptips.org

I definitely recommend subscribing to this site in particular. Very good research, quality stocks. I was a bit weary of penny stocks from all the bad hype they receive but this guy is pretty legit. He's put my mind at ease with a lot of the fears I've had. I especially like that he doesn't send out announcements left and right. I've signed up for other websites that fill my in-box with one company after the other. I don't know where to even start with so many choices in front of me! Nathan sends me one idea a week and that's all I need. Working so many hours during the week leaves me with very little time when I get home to start doing tons of penny stock research. I'm always eager to see what Nathan's next suggestion is each Friday and I love having time on the weekend to do my research.

As said above if you want to make money with penny stocks you have to follow some proven methods. This one in my opinion is the best: http://pennystocks.toptips.org
Have a nice day

2014-09-22 03:52:22 · answer #5 · answered by Anonymous · 0 0

fedest.com, questions and answers