subject
Computers and Technology, 24.10.2019 18:43 hbked23

Write a function named "read_prices" that takes one parameter that is a list of ticker symbols that your company owns in their portfolio. you are to read a csv file for each of these tickers which contains the price of each stock throughout the year and return these prices in a single dictionary. the returned dictionary will contain ticker symbols as keys and dictionaries as values where the inner dictionaries will have dates as keys (as strings in the format "-mm-dd") and prices as values as floats. all said this dictionary will contain the price for any stock on any date over the past year. you may assume there will be files named ".csv" for each ticker symbol in the input list. for example, if "txn" is in the ticker list then a file named "txn. csv" will be in the same directory as your code during testing and each row of this csv file will be in the format "date, price, volume" where date is in the format -mm-dd, the price is a float, and volume is an integer representing the number of shares that were traded on that day by all traders (you will not need the trading volume for this prelab). example line for aapl stock: "2015-10-20,112.673677,48967800"

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Lisa’s company, abc ltd., lost its biggest client and is now facing a financial crunch. most of her colleagues have resigned, but lisa decides to stay with the company and assist the management in overcoming the financial situation. which quality is lisa demonstrating? a. self-management b. cooperativeness c. responsibility d. loyalty
Answers: 2
question
Computers and Technology, 22.06.2019 17:30
Type the correct answer in the box. spell all words correctly. under which key category do the page up and page down keys fall? page up and page down keys fall under the keys category.
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
You are new to microsoft certification and want to start out by getting a certification geared around windows 8. what microsoft certification should you pursue?
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
You know the right answer?
Write a function named "read_prices" that takes one parameter that is a list of ticker symbols that...
Questions
question
Mathematics, 12.01.2021 19:20
Questions on the website: 13722363