The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Finance::Robinhood - Trade stocks and ETFs with free brokerage Robinhood

SYNOPSIS

    use Finance::Robinhood::Instrument;

    my $MC = Finance::Robinhood::Instrument::search('APPL');

DESCRIPTION

This class represents a single financial instrument. Objects are usually created by Finance::Robinhood. If you intend to create your own, please use Finance::Robinhood-instrument(...)>.

METHODS

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

quote( )

Makes an API call and returns a Finance::Robinhood::Quote object with current data on this security.

market( ... )

This makes an API call for information this particular instrument is traded on.

tradeable( )

Returns a boolean value indicating whether this security is tradeable on Robinhood.

symbol( )

The ticker symbol for this particular security.

name( )

The actual name of the security.

For example, AAPL would be 'Apple Inc. - Common Stock'.

bloomberg_unique( )

Returns the Bloomberg Global ID (BBGID) for this security.

See http://bsym.bloomberg.com/sym/

id( )

The unique ID Robinhood uses to refer to this particular security.

maintenance_ratio( )

Margin ratio.

splits( )

Returns a list of current share splits for this security.

fundamentals( )

Makes and API call and returns a hash containing the following data:

average_volume
description
dividend_yield
high
high_52_weeks
low
low_52_weeks
market_cap
open
pe_ratio
volume

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 incured 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>