Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added currency_name and round_lot to Ticker Details #112

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

justinpolygon
Copy link
Contributor

@justinpolygon justinpolygon commented Jul 13, 2023

In the TickerDetails class, added currency_name and round_lot. Changed total_employees to be a Long, not String.

{
    "request_id": "0cf80fd9d4ece74f6b6749271088028c",
    "results": {
        "ticker": "AAPL",
        "name": "Apple Inc.",
        "market": "stocks",
        "locale": "us",
        "primary_exchange": "XNAS",
        "type": "CS",
        "active": true,
        "currency_name": "usd",
        "cik": "0000320193",
        "composite_figi": "BBG000B9XRY4",
        "share_class_figi": "BBG001S5N8V8",
        "market_cap": 2998675463429.8,
        "phone_number": "(408) 996-1010",
        "address": {
            "address1": "ONE APPLE PARK WAY",
            "city": "CUPERTINO",
            "state": "CA",
            "postal_code": "95014"
        },
        "description": "Apple designs a wide variety of consumer electronic devices, including smartphones (iPhone), tablets (iPad), PCs (Mac), smartwatches (Apple Watch), and AirPods, among others. In addition, Apple offers its customers a variety of services such as Apple Music, iCloud, Apple Care, Apple TV+, Apple Arcade, Apple Fitness, Apple Card, and Apple Pay, among others. Apple's products include internally developed software and semiconductors, and the firm is well known for its integration of hardware, software, semiconductors, and services. Apple's products are distributed online as well as through company-owned stores and third-party retailers.",
        "sic_code": "3571",
        "sic_description": "ELECTRONIC COMPUTERS",
        "ticker_root": "AAPL",
        "homepage_url": "https://www.apple.com",
        "total_employees": 164000,
        "list_date": "1980-12-12",
        "branding": {
            "logo_url": "https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2023-05-01_logo.svg",
            "icon_url": "https://api.polygon.io/v1/reference/company-branding/d3d3LmFwcGxlLmNvbQ/images/2023-05-01_icon.jpeg"
        },
        "share_class_shares_outstanding": 15728700000,
        "weighted_shares_outstanding": 15728702000,
        "round_lot": 100
    },
    "status": "OK"
}

In the TickerDetails class, added currency_name and round_lot. Changed total_employees to be a Long, not String.
@justinpolygon justinpolygon marked this pull request as ready for review July 13, 2023 19:23
@justinpolygon justinpolygon changed the title Update TickerDetails.kt to match spec Add currency_name and round_lot to Ticker Details Jul 13, 2023
@justinpolygon justinpolygon changed the title Add currency_name and round_lot to Ticker Details Added currency_name and round_lot to Ticker Details Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants