Finance::Robinhood::Market - Information Related to a Specific Exchange
use Finance::Robinhood::Market; my $NYSE = Finance::Robinhood::Market->new('XNYS'); my $MC = Finance::Robinhood::instrument('AAPL'); my $market = $MC->market(); print $market->acronym() . ' is based in ' . $market->city();
This class represents a single financial market. Objects are usually created by Finance::Robinhood. If you're looking for information about the market where a particular security is traded, use
Finance::Robinhood::instrument($symbol)->market(). To gather a list of all supported markets, use
This class has several getters and a few methods as follows...
Create a new object for the given market. Use the ISO 10383 Market Identifier Code. For example...
my $NASDAQ = Finance::Robinhood::Market->new('XNAS');
...would scrape the API and return an object related to the NASDAQ. Currently supported MICs are:
OTCM Otc Markets XASE NYSE Mkt Llc ARCX NYSE Arca XNYS New York Stock Exchange, Inc. XNAS NASDAQ - All Markets BATS BATS Exchange
The common acronym used for this particular market or exchange.
The city this particular market is based in.
The country this particular market is based in.
Market Identifier Code (MIC) used to identify this exchange or market.
See ISO 10383.
The common name of the market.
Identifies the entity operating the exchange.
The time zone this market operates in.
Returns the URL for this market's website.
Generates a Finance::Robinhood::Market::Hours object for the current day's operating hours for this particular market.
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>