'this error occurs only with some stocks, for instance with NFLX, KO or MCD, but not with AAPL or INFy both with yfinance 0.1.63 and 0.1.69, pandas 1.2.3 or 1.4
When trying to install yFinance a python plugin, I tried going into my windows powershell to install it using the command pip install yfinance This gives me th
I am trying to read a csv file into a dataframe and then iterate over each ticker to get some yahoo finance data, but I struggle with matching the right data ty
I have a list of tickers (below: tick1) that comes from the Earnings Report. I would like to add the "shortname", "sector" and the "industry" next to the ticker
I'm using Mac OS and receiving an error when doing the following: import pandas as pd import yfinance as yf from yahoofinancials import YahooFinancials Module
I am pulling historical price data for the S&P500 index components with yfinance and would now like to convert the Close & Volume from USD into EUR. Thi
import backtrader.feeds as btfeeds class PandasDataSource(bt.feeds.PandasData): lines = ('Strategy_GoldenCross_Signal',) params=( ('Strate
I ran this code about a year ago and it was working fine. Now it has stopped working, and I think it has to do with the get_data_yahoo function. Here is part
Here is the test code for my macd function, however, the values I am getting are incorrect. I don't know if it is because my span is in days and my data is in 2
So, I have been trying to create a manual function in python that calculates the adjusted closing price of stocks using dividends and stock splits data but I co
I am trying to get the current price and market cap of all of the tickers in the S&P500 and the way I am currently doing it is very slow, so I was wondering
I made a function that uses the psar function from the pandas_ta library. This function seems to work incorrectly, it gives the PSARl, PSARs and PSARr values on