-
-
28 Dec 2017 22:17:53 UTC
- Distribution: Finance-Robinhood
- Module version: 0.21
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (1)
- Testers (616 / 141 / 31)
- Kwalitee
Bus factor: 1- 54.95% Coverage
- License: artistic_2
- Perl: v5.12.0
- Activity
24 month- Tools
- Download (41.7KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
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>
Module Install Instructions
To install Finance::Robinhood, copy and paste the appropriate command in to your terminal.
cpanm Finance::Robinhood
perl -MCPAN -e shell install Finance::Robinhood
For more information on module installation, please visit the detailed CPAN module installation guide.