Python - stock price for different stocks plotting (without yfinance)

Python - stock price for different stocks plotting (without yfinance)

Manage alerts

Loading saved threads...

Michael W · External communityPost link
External question — Data Science Stack Exchange Author: Michael W Original post: https://datascience.stackexchange.com/questions/115610 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I have a dataset which contains a few stocks in a range of dates. I searched in internet but most of the solutions gives solutions with yfinance and I'm not interested in that. This data is imported from a csv file. Without using yfinance I would like to represent it graphically i.e. x-axis day_date , y axis close_value and different lines representing different stocks. So far ndaq.set_index("day_date", inplace=True) I choose day_date to be an index and selected only ndaq.loc[:, ['ticker_symbol','close_value','volume']] to shrink the data. But the graph I have plots everything as one without distinguishing through different stock names.
Quote
Report

Post Reply

Checking account access…