Preliminary Assignment In this assignment, you will write simple trading strategies using Python. This will review Pytho
Posted: Tue Jul 12, 2022 8:21 am
https://www.nasdaq.com/screening/company-list.aspx 2. Preliminary Task 2: use the script read_and_save_stock_data.py to download daily stock data (5-years from Jan 1, 2016 to Dec 31,2020) for your ticker as a CSV file (using Pandas Yahoo stock market reader). In this script, you would need to change the location of the directory for the CSV file and change the ticker to the name that you have chosen in Task 1. This script downloads historical data and computes additional fields for time (week, day, month) and prices
(daily returns, 14- and 50-day moving price averages). 3. Preliminary Task 3: use the script read_stock_data_from_file.py to read your saved CSV file into a list of lines.
Preliminary Assignment In this assignment, you will write simple trading strategies using Python. This will review Python and prepare for next assignments for next assignments. 1. Preliminary Task 1: choose a stock ticker that starts with the same letter as your last name (we want to have dif- ferent stock symbols for each student). For example, if your last name is Jones, you can try JBL (Jabil Circuit), JPM (JP Morgan), JNJ (Johnson and Johnson) or any other ticker starting with J. You can refer to the link below for suggestions: (daily returns, 14- and 50-day moving price averages). 3. Preliminary Task 3: use the script read_stock_data_from_file.py to read your saved CSV file into a list of lines.