Question
Given a stock table with column names: data,open,high,low,close,volunme and adjclose, write a SQL query that does the following: Compute the daily value of the investment,
Given a stock table with column names: data,open,high,low,close,volunme and adjclose, write a SQL query that does the following:
Compute the daily value of the investment, ignoring dividends Look at the stock table and the "close" column for each date. Find the price of the security on January 16, 2015. Find the number of shares you can buy for the $10,000 starting investment at that day's closing price. Multiply the quantity by the closing price for every day between January 16, 2015 until June 17, 2016 to obtain the value of the investment every day.
Note: use closing price when determining the number of shares.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started