title: How can I get Yahoo realtime stock quotes in Perl?
body: <p>There's a fairly easy way of retrieving 15-minute delayed quotes off of Yahoo! Finance web site ("quotes.csv" API).</p>
  
  <p>However, so far I was unable to find any info on how to access real-time quotes.</p>
  
  <p>The hang-ups with real-time quotes are:</p>
  
  <ul>
  <li>Only available to logged-in user</li>
  <li>No API</li>
  <li>Non-obvious how to scrape the info - I'm somewhat convinced they are placed on the page by some weird Ajax call.</li>
  </ul>
  
  <p>So I was wondering if anyone had managed to develop a publically available solution to retrieve real-time quotes for a stock from Yahoo! Finance.</p>
  
  <p>Notes:</p>
  
  <ul>
  <li><p>Implementation language/framework need is flexible but Perl or Excel is highly preferred.</p></li>
  <li><p>Assume that security is not an issue - I'm willing to supply yahoo userid and pasword, even in cleartext.</p></li>
  <li><p>I'm not 100% hung up on Yahoo - they are merely the only provider of free realtime stock quotes I'm familiar with. if the same thing can be done with Google Finance, I'd be just as happy.</p></li>
  <li><p>This is for a personal project, so scalability/fault tolerance/etc... are not important.</p></li>
  <li><p>I'm looking for a "do the whole retrieval" library ideally, but if I'm pointed to partial solutions (e.g. how to retrieve info from Yahoo's user-logged-in pages; how to scrape realtime quotes from Yahoo's page) I can fill in the blanks.</p></li>
  </ul>
  
  <p>I saw <a href="http://search.cpan.org/perldoc/Finance::YahooQuote" rel="nofollow noreferrer">Finance::YahooQuote</a> but it does not seem to allow you to supply log-in information and appears to use the lagging quotes.csv API</p>
  
  <p>Thanks!</p>