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

NAME

Finance::Robinhood::Position - Where my money at?

SYNOPSIS

    use Finance::Robinhood;

    my $rh = Finance::Robinhood->new( token => ... );
    $rh->positions(); # List of these objects, actually

DESCRIPTION

This class represents a single security you have or do own. These objects are not to be created directly.

METHODS

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

account( )

Returns the Finance::Robinhood::Account object related to this order.

average_buy_price( )

How much you spent on average for shares of this security.

intraday_average_buy_price( )

created_at( )

Timestamp of your first buy of this this security.

instrument( )

Builds a Finance::Robinhood::Instrument object related to this security.

average_price( )

Average price paid for all shares executed in this order.

intraday_quantity( )

Total number of shares traded on the current day.

quantity( )

Current number of shares of this security owned by you.

shares_held_for_buys( )

Number of shares in buy orders which have not fully executed.

shares_held_for_sells( )

Number of shares held in sell orders which have not fully executed.

upated_at( )

Timestamp of the last change made to this order.

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>