NAME
Finance::Robinhood::Equity::Position - Represents a Single Equity Position on a Robinhood Account
SYNOPSIS
use Finance::Robinhood;
my $rh = Finance::Robinhood->new->login('user', 'pass');
my $account = $rh->equity_accounts->current();
for my $position ($account->equity_positions) {
CORE::say $position->instrument->symbol;
}
METHODS
average_buy_price( )
intraday_average_buy_price( )
intraday_quantity( )
pending_average_buy_price( )
quantity( )
shares_held_for_buys( )
shares_held_for_options_collateral( )
Shares held for collateral for a sold call, etc.
shares_held_for_options_events( )
shares_held_for_sells( )
Shares that are marked to be sold in outstanding orders.
shares_held_for_stock_grants( )
Shares that were a reward (referral, etc.) and must be held for a period before they can be sold.
shares_pending_from_options_events( )
created_at( )
Returns a Time::Moment object.
updated_at( )
Returns a Time::Moment object.
instrument( )
Returns the related Finance::Robinhood::Equity::Instrument object.
account( )
Returns the related Finance::Robinhood::Equity::Account 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>