Finance::YahooProfile

Finance::YahooProfile can get a stock profiles from Yahoo!
Download

Finance::YahooProfile Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sidharth Malhotra
  • Publisher web site:
  • http://search.cpan.org/~smalhotra/Finance-YahooProfile-0.12/YahooProfile.pm

Finance::YahooProfile Tags


Finance::YahooProfile Description

Finance::YahooProfile can get a stock profiles from Yahoo! SYNOPSIS use Finance::YahooProfile; my $fyp = new Finance::YahooProfile ( timeout => $timeout ); my $profile = $fyp->profile( s => 'intc' ); ## for single stock my @profiles = $fyp->profile( s => ); ## for many stocks my $bookvalue = $res->{'book_value'};WARNING: This module has not been fully tested all sorts of stocks so it may NOT always parse the page correctly and return any useful information. Any version number ending in a letter (as in v.0.12b, 0.12c) is a beta versions and have barely been tested. These versions are simply the previous version with a slight bug fix of some sort.This module accesses the company profile from Yahoo! Finance and extracts the numbers from there so that they can be easily used in Perl programs. The following keys are available in the results hash: 52_week_change 52-Week percent change 52_week_change_sp500 52-Week percent change relative to the S&P 500 52_week_high 52-Week high 52_week_high_date Date on which 52-Week high was reached 52_week_low 52-Week low 52_week_low_date Date on which 52-Week high was reached beta Beta relative to S&P 500 current_ratio Current ratio (Current Assets / Current Liabilities) daily_volume_10da Average of the last 10 days' trading volume daily_volume_3ma Average of the last 3 months trading volume debt_equity Debt / Equity dividend Amount of the last dividend paid dividend_yield Yield of the last dividend fiscal_year_ends End of fiscal year last_split_date Date of the last split last_split_factor Factor of the last split (e.g. 2 for 1) last_updated Date when profile was last updated market Market on which the stock is traded market_capitalization Market capitalization (Stock Price x Shares Outstanding) most_recent_quarter most_recent_quarter_fe Most recent quarter - flash earnings (if available) operating_margin Operating Margin (Earnings / Operating Expenses) profit_margin Profit Margin (Earnings / Total Expenses) recent_price Price at which the stock was last traded return_on_assets Return on assets (Earnings / Total Assets) return_on_equity Return on equity (Earnings / Shareholder's Equity) sales Sales from the income statement part (usually ttm) shares_float Number of shares freely trading in the markets shares_outstanding Total number of shares issued short_daily_volume short_interest Number of shares sold short short_interest_date short_percent Short Interest / Floating Shares short_previous_month Short Interest previous month short_ratio success Whether the parsing was a success symbol total_cash Total current assets in the balance sheet Requirements: · Perl


Finance::YahooProfile Related Software