./yf.py {ticker}
replace {ticker} with a ticker as in ./yf.py DIS produces:
Walt Disney Company (The)
╷
Description │ 52 Week Stock Chart
╶──────────────────────────────────────────────────────────────────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────╴
The Walt Disney Company, together with its subsidiaries, operates as an entertainment │ ┌────────────────────────────────────────────────────────────────────┐
company worldwide. It operates through two segments, Disney Media and Entertainment │ 197.2┤ • │
Distribution; and Disney Parks, Experiences and Products. The company engages in the film │ │ • • │
and episodic television content production and distribution activities, as well as operates │ │ • • │
television broadcast networks under the ABC, Disney, ESPN, Freeform, FX, Fox, National │ 187.2┤ • •• • ••• │
Geographic, and Star brands; and studios that produces motion pictures under the Walt Disney │ │ •• • • • •• │
Pictures, Twentieth Century Studios, Marvel, Lucasfilm, Pixar, and Searchlight Pictures │ │ • • • • •• │
banners. It also offers direct-to-consumer streaming services through Disney+, Disney+ │ │ • • • • • •• • │
Hotstar, ESPN+, Hulu, and Star+; sale/licensing of film and television content to │ 177.2┤ • • •••• •••• •••• •• •••• │
third-party television and subscription video-on-demand services; theatrical, home │ │ • ••• •• • • • │
entertainment, and music distribution services; staging and licensing of live entertainment │ │• • • • • • │
events; and post-production services by Industrial Light & Magic and Skywalker Sound. In │ 167.3┤ • •• • │
addition, the company operates theme parks and resorts, such as Walt Disney World Resort in │ │ • │
Florida; Disneyland Resort in California; Disneyland Paris; Hong Kong Disneyland Resort; and │ │ • │
Shanghai Disney Resort; Disney Cruise Line, Disney Vacation Club, National Geographic │ │ • │
Expeditions, and Adventures by Disney as well as Aulani, a Disney resort and spa in Hawaii; │ 157.3┤ • •• │
licenses its intellectual property to a third party for the operations of the Tokyo Disney │ │ • •• • │
Resort; and provides consumer products, which include licensing of trade names, characters, │ │ • • • • │
visual, literary, and other IP for use on merchandise, published materials, and games. │ 147.3┤ • • • • │
Further, it sells branded merchandise through retail, online, and wholesale businesses; and │ │ • • │
develops and publishes books, comic books, and magazines. The Walt Disney Company was │ │ • │
founded in 1923 and is based in Burbank, California. │ │ • │
│ 137.4┤ ••│
│ └┬────────────────┬───────────┬───────────┬────────────┬─────────────┘
│ 01/18/2021 04/19/2021 06/28/2021 08/30/2021 11/08/2021
│
╵
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Basic financials ┃ Key Stats ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ 2021-10-02 2020-10-03 2019-09-28 2018-09-29 │ currentPrice: 137.4 ebitdaMargins: 12.8% profitMargins: 3.0% grossMargins: 33.1% │
│ Total Revenue 67418.0 65388.0 69607.0 59434.0 │ revenueGrowth: 26.0% totalRevenue: 67,418.0 ebitda: 8,603.00 52WeekChange: -20.1% │
│ Cost Of Revenue 45131.0 43880.0 42061.0 32726.0 │ numberOfAnalystOpinions: 0 enterpriseValue: 305734.6 enterpriseToRevenue: 4.5 enterpriseToEbitda: 35.5 │
│ Gross Profit 22287.0 21508.0 27546.0 26708.0 │ targetMedianPrice: 0.00 │
│ Operating Income 3492.0 3781.0 12030.0 14837.0 │ │
│ EBITDA 8603.0 9126.0 16197.0 17848.0 │ │
│ Capital Expenditures -3578.0 -4022.0 -4876.0 -4465.0 │ │
│ Cash 15959.0 17914.0 5418.0 4150.0 │ │
│ Long Term Debt 48540.0 52917.0 38129.0 17084.0 │ │
│ Net_Debt_to_EBITDA 3.787167 3.835525 2.019572 0.724675 │ │
└──────────────────────────────────────────────────────────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ News ┃ Recommendations. Median Target: 0.00 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Sony: Buy or Sell? │ Firm To Grade From Grade Action │
│ Why Netflix's growth story may not be over as Wall Street frets subscriber woes │ Date │
│ Cruises sail on in Omicron wave as CDC rules go voluntary, agents 'clarify messaging' │ 2022-01-14 12:35:19 Guggenheim Neutral Buy down │
│ Analyst Report: The Walt Disney Company │ 2022-01-13 15:08:46 Tigress Financial Buy main │
│ Why Disney Stock Dropped Today │ 2021-12-14 14:46:43 Morgan Stanley Overweight main │
│ Community Trust & Investment Co Buys Cheniere Energy Inc, Salesforce. ... │ 2021-12-14 13:35:53 Macquarie Outperform main │
│ Vantage Investment Partners, LLC Buys Snowflake Inc, Procore Technologies Inc, Intuitive ... │ 2021-11-22 12:56:20 Wells Fargo Overweight main │
│ Everhart Financial Group, Inc. Buys Tesla Inc, iShares Short-Term National Muni Bond ETF, ... │ │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────┘
- reads data from Yahoo Finance
- Uses yfinance python library to do so
- Uses rich library to create table
- Uses plotext to create simple stock price graph
- create a company name look up feature