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::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 <firstname.lastname@example.org>
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.