NAME

Finance::Robinhood::Equity::Market - Represents a Single Equity Market

SYNOPSIS

use Finance::Robinhood;
my $rh = Finance::Robinhood->new;
my $msft = $rh->equity_instrument_by_symbol('MSFT');

CORE::say $msft->symbol . ' is traded on ' . $msft->market->name;

METHODS

acronym( )

Simple acronym typically used to identify the exchange. Note that the same acronym may be used for more than one venue.

city( )

Location of the exchange/market.

country( )

Location of the exchange/market.

mic( )

Returns the ISO 10383 Market Identifier Code.

name( )

Name of the exchange/market. Suited for display.

operating_mic( )

Returns the ISO 20022 Operating Market Identifier Code.

timezone( )

Timezone of the exchange/market.

website()

Website of the exchange in a Mojo::URL object.

todays_hours( )

my $hours = $market->todays_hours( );

Return a Finance::Robinhood::Equity::Market::Hours object with today's data.

hours( ... )

my $hours = $market->hours( $date );

Returns the Finance::Robinhood::Equity::Market::Hours object for the given date. This method expects $date to be a Time::Moment 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>