The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Finance::Robinhood::Quote - Securities Quote Data

SYNOPSIS

    use Finance::Robinhood::Quote;

    # ... $rh creation, login, etc...
    my $quote = $rh->quote('MSFT');
    warn 'Current asking price for  ' .  $quote->symbol() . ' is ' . $quote->ask_price();

DESCRIPTION

This class contains data related to a security's price and other trade data. They are gathered with the quote(...) function of Finance::Robinhood.

METHODS

This class has several getters and a few methods as follows...

adjusted_previous_close( )

A stock's closing price amended to include any distributions and corporate actions that occurred at any time prior to the next day's open.

ask_price( )

The best price per share being asked for by a market maker.

ask_size( )

Amount of a security being offered to sell at the ask price.

bid_price( )

The best price a buyer is willing to pay for a security.

bid_size( )

The total number of shares in all orders to buy this particular security.

last_extended_hours_trade_price( )

The last price at which this security was trading ended on the previous close date.

last_trade_price( )

The price at which the most recent trade for this security was executed.

previous_close( )

The price of the security per share at the close of the previous trading day.

previous_close_date( )

The date of the last trading day for this security.

trading_halted( )

If trading is halted on a security or its market, this will be a true value.

updated_at( )

The timestamp of the data. This is very important in cases where prices are being tracked.

last_trade_price_source( )

Where was the last trade price from.

Typically, 'consolidated' for the tape, 'nls' for live data from Nasdaq.

refresh( )

Reloads the object with current quote data.

LEGAL

This is a simple wrapper around the API used in the official apps. The author provides no investment, legal, or tax advice and is not responsible for any damages incurred while using this software. Neither this software nor its author are affiliated with Robinhood Financial LLC in any way.

For Robinhood's terms and disclosures, please see their website at http://robinhood.com/

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2.

Other copyrights, terms, and conditions may apply to data transmitted through this module. Please refer to the LEGAL section.

AUTHOR

Sanko Robinson <sanko@cpan.org>