Accessing the internet with a program

I want to download and use the entire historical stock data for various company stocks. I know the page showing these is http://finance.yahoo.com/q/hp?s=AAPL (replace AAPL with any ticker symbol), and on that page is a link to download the CSV file containing the entire history. How would I be able to get this information into a usable format in java?

Use code like URL mURL = new URL(URI);
BufferedReader  reader = new BufferedReader( new InputStreamReader(mURL.openStream()) );
String line = null;
while ( (line = reader.readLine()) != null) {
//Parse  or store CSV data here
...to get data into your Java program with URI like:
http://ichart.finance.yahoo.com/table.csv?s=AAPL&d=3&e=13&f=2006&g=d&a=8&b=7&c=1984&ignore=.csv

Similar Messages

  • I uninstalled Norton 360 under windows xp and now I'm getting this problem that firefox will no longer load pages. IE and Outlook still work and I can access the internet with them, I can ping any website I like successfully but Firefox won't load any pa

    I uninstalled Norton 360 under windows xp and now I'm getting this problem that firefox will no longer load pages. IE and Outlook still work and I can access the internet with them, I can ping any website I like successfully but Firefox won't load any pages ... N
    == This happened ==
    Every time Firefox opened
    == I uninstalled Norton 360 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; Media Center PC 4.0; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    I found a fix for this, not only firefox but several other networking programs were broken as well (Outlook and IE were ok for some reason) so I reasoned that the Norton uninstall was incomplete somehow - I had done it from the add/remove programs in the control panel. Sure enough that's not enough to release Norton's tentacles in your system, there's an uninstall tool on their website (a whole set of them actually) that managed to carve it out completely and after a restart everything was back to normal. My machines will definitely be Norton-free from now on ... N

  • I can't access the internet with Firefox on my computer (Windows 7 PC). I have used Firefox as my browser for 1 year but 5 days ago it stopped working even though Internet Explorer worked fine. I can't solve the problem and need some help.Randy Brown

    September 26, 2011
    Dear Mozilla,
    I am having some difficulty accessing the internet with Firefox on one of my PC computers. I normally use Mozilla Firefox as my web browser and google is my homepage and gmail is my email system. The operating system is Windows 7. For over a year this system worked perfectly but a few days ago it stopped working. When I launch Firefox now I get the message that that website (www.google.com) is unavailable. In fact, I can’t access any website and I am blocked from the internet entirely within Firefox. My internet connection is fine because Internet Explorer works fine. I can access google and any other website within that web browser. I have investigated all the security issue I can manage and found no smoking gun. I’ve tried uninstalling and reinstalling Firefox to no avail. Is Windows 7 compromising the effectiveness of Firefox? Any suggestions or other assistance you can offer would be appreciated.
    Sincerely,
    Randy Brown
    [email protected]

    You only have to clone your mac when using certain cable modem.  You don't clone your mac when using dsl.
    Greetings from Northern Ontario, Canada

  • TS3406 I have a connection in the top left hand corner and can access the internet with and without internet on my iphone 5c but I can't receive and create texts and calls, someone please help have tried everything!

    I have a connection in the top left hand corner and can access the internet with and without internet on my iphone 5c but I can't receive and create texts and calls, someone please help have tried everything!

    YOu will need to contact your cell phone provider to resolve those issue, those are carrier features.

  • I can't get the Siri dictation tool to work when I access the Internet via Wi-Fi at work. It will work if I access the Internet with a cellular connection. What can I do to get it to work on the Wi-Fi?

    I can't get the Siri dictation tool to work when I access the Internet via Wi-Fi at work. It will work if I access the Internet with a cellular connection. What can I do to get it to work on the Wi-Fi?

    Thanks for your note. My tech dept could not come up with any explanation for the dictation tool not working. We have about 1,000 employees in our office - I think I will send an all employee message to see if anyone else has the issue.

  • Cannot access the internet with Safari

    Safari locked up and made me restart the computer. When I did, I could no longer access the internet with Safari. I could still get into the ITunes store, had internet contect come over my dashboard, but cannot get online. I spent two hours with customer service, emptying caches, re-installing Safari, etc. but still have no luck as of today. Any help is greatly appreciated.

    Hi
    Welcome to  Discussions
    I grew up in the Delaware Valley - Delaware County/Media.
    Do you remember specifically what you were doing in Safari when it locked up, locking up your entire system. It's rare this happens in OS X.
    Also, which version of OS X Tiger are you using - the latest is 10.4.9? You can determine such by going to the Apple Menu in the upper left of the screen and selecting "about this Mac". The next panel will show you your OS X version, plus other information about your system.
    Regarding the inability to connect, try Safari from another User Account. In case you require it, here's how to set up another account:
    Here is guidance from Apple on how to set up the account. You can ignore step 7 in the article.
    Also, on the system preference>Accounts panel, click on "log-in" options. There, select "fast user switching". This allows you to go back and forth between user accounts via an icon in your Menu Bar at the top of the computer screen.
    Log-on to the new account and start Safari. If Safari connects to the internet in the new account, then your problem is specific to your regular user account. Otherwise, similar response means a system-wide problem.
    Post back

  • I cannot retrieve the password for the wifi connection on my imac and so cannot access the internet with my ipad at home.  I have a cable modem. Help please!

    I cannot retrieve the password for the wifi connection on my imac and so cannot access the internet with my ipad at home.  I have a cable modem. Help please!

    If you mean that you cannot remember the password for your WiFi network this will work for you - or it should work if you are the administrator on the Mac.
    You will need to be logged in as the administrator on your Mac and you must know the password - Open Keychain Access on your Mac in the utilities folder, click on Passwords. Find the Airport Network Password listed on the right. Double click on it. Click on show password in the the window that pops up. Enter your administrator password when prompted and click allow.
    If Keychain is locked - you must enter the administrator password there as well to unlock it and access the password.
    If you have set the Mac up for Internet Sharing for the iPad to share the Mac's connection, just create a new network On the Mac with Internet sharing and a new password.

  • I can't access the internet with IE 11 on my PC so I would like to download Firefox on my laptop and install it on my PC. I've been using Firefox on my laptop.

    I use Mozilla Firefox on my laptop and would like to install it on my PC because Internet Explorer 11 stopped working. I can't access the internet so I downloaded the Firefox setup on my laptop and saved it to run on my PC. It initializes, but can't connect to the internet to retrieve the program. How can I get around this and install your browser?

    Download one of these installers: http://www.mozilla.org/en-US/firefox/all/
    If you machine can't connect to the internet to even download that though, you may have other problems (Using Firefox rather than IE is always a good choice though ;)
    [[Websites don't load - troubleshoot and fix error messages]] might help. Also, [[Firefox and other browsers can't load websites]]

  • Can I use my iPhone to access the Internet with my laptop

    I would like to use my iPhone to access the Internet from my laptop.  Is a connection between my iPhone and my laptop (using Vista OS) possible?

    This may help
    http://support.apple.com/kb/HT3574
    and this completes the picture
    http://support.apple.com/kb/HT4517

  • I can't access the internet with boot camp -- windows 7

    Just bought the computer yesterday (15 inch mac book pro) and installed windows 7 with boot camp.  I have a wireless network with a comcast modem and apple ariport extremes.  The macs (including the new mac book pro when not running windows) and a different windows computer can reach the internet fine using the wireless network.  When I run windows through boot camp it can't find the network.  Any help would be greatly appreciated!

    Glad it has a simple cure

  • Firefox cannot access the internet but other programs can, and all the steps in the help section don't help.

    When ever I open Firefox it says "unable to connect" but internet explorer can connect. This started yesturday. I had been online with firefox then I closed the window and ten minutes later when I tried to get back on it started this unable to connect.
    == This happened ==
    Every time Firefox opened
    == I tried to open Firefox yesturday. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; CPDTDF)

    See https://support.mozilla.com/en-US/kb/Firefox+cannot+load+websites+but+other+programs+can

  • Server unavailable  I keep getting this message on my iPad 2 whenever I try to access the internet, in any program or app.  It happens for both cellular and wi-fi.  What's going on?  How can I fix it?

    Server unavailable.  All internet, wi-fi and cellular. iPad2

    Hello, susan9941.  
    Thank you for visiting Apple Support Communities.  
    I understand you are not receiving internet via Wi-Fi or through your carrier.  Start with a reset of your network settings: Tap Settings > General > Reset > Reset Network Settings.  Reconnect to your network and test.  If the issue persists, try going through the steps in the two articles below.  
    iPhone cellular data connection issues
    http://support.apple.com/en-us/HT201415
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/en-us/TS1398
    Cheers, 
    Jason H.  

  • I cannot access the internet with firefox any longer. I can with Internet explorer so I know it is not my internet connection. I reinstalled firefox and still have the same issue HELP!!!!

    All I get is "unable to connect". Any suggestions? If I start in safe mode with plugins disable it will connect..................

    I notice that the home page redirects to a secure (HTTPS) address. I wonder whether there is a setting blocking this? What if you go directly to a secure page -- will it load?
    https://www.itvsn.com.au/include/sweb.dll/product?product=155602&category=92010&site_id=ITVSN
    Your add-ons list shows AVG, ZoneAlarm, and McAfee products. Could one of them be blocking this site? See whether you can add exceptions or just disable them temporarily and test whether that helps.

  • Since uploading ios7 my ipad acts as if I am accessing the internet with a modem instead of fios?  Any suggestions???

    SInce uploading ios7 on my ipad 2 using verizon fios service my response time surfing the web acts as if I am using a modem.  Any ideas how i can fix this??

    Try this...   Settings>General>Reset>Reset all settings.
    This has helped many users get their devices back "up to speed".

  • IPod touch connects to our wi-fi but cannot access the internet. It functions fine using other wi-fi at other locations just not ours at home. We have 2 other iPods in the house that use ours fine, with no issues....

    I have done all the troubleshooting from the support page. The ipod shows that it is connected to our wi-fi and sometimes even shows the ip addresses but it wont let us connect to the internet/itunes store etc... the other ipods in the house use the wi-fi with no issues and this ipod is able to connect to public wi-fi and other location wi-fis and access the internet with no problems. What else do I do?

    luvlabs
    Thank you for your reply. I have tried your suggestion. Emmm I have an AirLive router, there are so many wires o.O I don't know which one to plug out. I think it is the yellow one which says WAN? But I wasn't so sure. So I tried plugging out each wire and followed your instructions. Sorry, but it didn't work I'm going mad xD! I even tried re-doing your instructions on WAN wire, and it didn't work.
    Hmm according to step 4 (Log back into your network using Settings > WiFi > Other. Re-enter your network name (SSID), security, and network password.)
    My network name is already available in the list. So I didn't need to do that. Or is it neccesary?
    Thanks a bunch! Reply soon
    Message was edited by: carmenc23

Maybe you are looking for

  • Suppressing Field In Receiver File Adapter

    Hi I have a Data type with fields 1. name 2. No 3. city. I am using File adapter @ receiver end to create a flat file using this data type. But the requirement is to have only 2 fields in the Output file( say name , no). How to suppress the city fiel

  • Code Portabiltiy problem

    I have translated some c code that we use to encrypt files. I have a problem when I try to move the code to another machine. I wrote the code on a sun under solaris 8, using java 1.4.0-b92. The other machine I am trying is also solair 8, with the sam

  • Multiple Application Servers - Same class instance

    Hi, Due to increasing load we have to add multiple Web Servers and Application Servers (custom built) for our Web Application. As currently we are using 'synchronized' for adding and releasing connection in ConnectionPool and also using static in sev

  • Email Marketing Templates - Other than BC

    Hello, I was wondering if I can use email newsletter templates, other than the ones in Business Catalyst, for my email marketing templates?  For example, if I purchase templates from another site, can I use them and modify them in Business Catalyst? 

  • Why do I keep getting an error message that my contacts have stopped working

    Sometimes, I am getting an error message that says that my contacts have quit working. Also sometimes I can't use my phone because the same error message appears when I tap the phone icon. Turning the phone off and on again sometimes helps, other tim