NAME
Finance::Robinhood::Equity::Quote - Represents Quote Data for a Single Equity Instrument
SYNOPSIS
use Finance::Robinhood;
my $rh = Finance::Robinhood->new;
my $instruments = $rh->instruments();
for my $instrument ($instruments->all) {
CORE::say $instrument->quote->last_trade_price;
}
METHODS
adjusted_previous_close( )
ask_price( )
Delayed ask price.
ask_size( )
Delayed ask size.
bid_price( )
Delayed bid price.
bid_size( )
Delayed bid size.
has_traded( )
Boolean value... no idea what this means yet.
last_extended_hours_trade_price( )
Last pre- or after-hours trading price.
last_trade_price( )
last_trade_price_source( )
Which venue provided the last trade price.
previous_close( )
The price at the most recent close.
symbol( )
The ticker symbol of the instrument related to this quote data. See instrument( )
to be given the instrument object itself.
trading_halted( )
Returns a boolean value; true if trading is halted.
previous_close_date( )
$quote->previous_close_date();
Returns a Time::Moment object.
updated_at( )
$quote->updated_at();
Returns a Time::Moment object.
instrument( )
my $instrument = $quote->instrument();
Loops back to a Finance::Robinhood::Equity::Instrument object.
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. This software is not affiliated with Robinhood Financial LLC in any way.
For Robinhood's terms and disclosures, please see their website at https://robinhood.com/legal/
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>