Preliminary Assignment In this assignment, you will write simple trading strategies using Python. This will review Pytho

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Preliminary Assignment In this assignment, you will write simple trading strategies using Python. This will review Pytho

Post by answerhappygod »

Preliminary Assignment In This Assignment You Will Write Simple Trading Strategies Using Python This Will Review Pytho 1
Preliminary Assignment In This Assignment You Will Write Simple Trading Strategies Using Python This Will Review Pytho 1 (91.98 KiB) Viewed 22 times
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: 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply