Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Finance::YahooProfile 0.12

    Download button

    No screenshots available
    Downloads: 561  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Sidharth Malhotra | More programs
    Perl Artistic License / FREE
    September 28th, 2007, 02:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Finance::YahooProfile 0.12 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 => ['intc', 'ibm'] ); ## 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

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    stock profiles | Yahoo profile | Perl module | Yahoo | stock | profiles

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM