28 Dec 2017 22:17:53 UTC
- Distribution: Finance-Robinhood
- Module version: 0.21
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (616 / 141 / 31)
- KwaliteeBus factor: 1
- 54.95% Coverage
- License: artistic_2
- Perl: v5.12.0
- Activity24 month
- Download (41.7KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Finance::Robinhood::Position - Where my money at?
use Finance::Robinhood; my $rh = Finance::Robinhood->new( token => ... ); $rh->positions(); # List of these objects, actually
This class represents a single security you have or do own. These objects are not to be created directly.
This class has several getters and a few methods as follows...
Returns the Finance::Robinhood::Account object related to this order.
How much you spent on average for shares of this security.
Timestamp of your first buy of this this security.
Builds a Finance::Robinhood::Instrument object related to this security.
Average price paid for all shares executed in this order.
Total number of shares traded on the current day.
Current number of shares of this security owned by you.
Number of shares in buy orders which have not fully executed.
Number of shares held in sell orders which have not fully executed.
Timestamp of the last change made to this order.
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/
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.
Sanko Robinson <email@example.com>
Module Install Instructions
To install Finance::Robinhood, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Finance::Robinhood
For more information on module installation, please visit the detailed CPAN module installation guide.