Posted: June 2nd, 2021

Python homework | Acct | University of Texas at Arlington

 The CNN Money’s Market Movers website (https://money.cnn.com/data/hotstocks/ ) tracks the most active stocks on a real time basis.  Specifically, the most active, the top gainers and top losers are listed at any instance in time. You will first write Python scripts that collect the list of most actives, gainers and losers from the above website. Next, your programs should take the ticker symbols of these companies and build a csv file (called stocks.csv) with data about each stock from the website: https://finance.yahoo.com/quote/AMD?p=AMD&.tsrc=fin-srch-v1 which gives the quote for ticker symbol AMD as an example. The data to be collected from the Yahoo Finance site should include: OPEN price PREV CLOSE price VOLUME MARKET CAP 

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

 

Your code should also list the names of the companies in the order and categories listed in the website: https://money.cnn.com/data/hotstocks/ and ask the user to choose a company to get the data on. Once the user chooses the company of interest, your program should display its corresponding data (Open, Prev Close, Volume and Market Cap). 

 

Sample Runs (user input in RED): This is a program to scrape data from the https://money.cnn.com/data/hotstocks/  for a class project.  

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

 

Which stock are you interested in: 

 

Most Actives: AMD Advanced Micro Devices Inc GE General Electric Co BAC Bank of America Corp WBA Walgreens Boots Alliance Inc AAPL Apple Inc F Ford Motor Co FCX Freeport-McMoRan Inc CSCO Cisco Systems Inc OXY Occidental Petroleum Corp MU Micron Technology Inc 

 

Gainers: WBA Walgreens Boots Alliance Inc MKTX Marketaxess Holdings Inc NVR NVR Inc ARNC Arconic Inc GPS Gap Inc EQIX Equinix Inc ULTA Ulta Beauty Inc TTWO Take-Two Interactive Software Inc M Macy’s Inc NWSA News Corp 

 

Losers: FCX Freeport-McMoRan Inc WYNN Wynn Resorts Ltd COTY Coty Inc CNP CenterPoint Energy Inc ABC AmerisourceBergen Corp MRO Marathon Oil Corp ATVI Activision Blizzard Inc COG Cabot Oil & Gas Corp XRAY Dentsply Sirona Inc 

 

 

User inputs: COTY 

 

The data for COTY Coty Inc is the following: 

 

COTY Coty Inc OPEN: 12.78 PREV CLOSE: 12.84 VOLUME: 2,000,995 MARKET CAP: 9.580B 

 

 

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
error: Content is protected !!
Open chat
1
Order through WhatsApp!
affordablepaperwritings.com
Hello!
You Can Now Place your Order through WhatsApp
 

 

Order your essay today and save 30% with the discount code DISCOUNTS2022