NAME

Finance::Robinhood::Forex::Currency - Represents a Single Forex Currency Watchlist

SYNOPSIS

use Finance::Robinhood;
my $rh = Finance::Robinhood->new;

# TODO

METHODS

brand_color( )

If defined, this returns a hex color code used for display.

code( )

Short code used to represent this currency for display. 'USD', for example.

id( )

Returns a UUID.

increment( )

The increment used as a minimum for display, etc. For example, USD would return 0.01 to prevent sub-penny price display.

name( )

Returns a string suited for display. And example would be 'US Dollar'.

type( )

This is the asset type. Currently, fiat or cryptocurrency.

news( )

my $news = $currency->news;

Returns an iterator containing Finance::Robinhood::News elements.

pair( )

my $pair = $currency->pair;

Returns a Finance::Robinhood::Forex::Pair 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>