Define the list of stock and commodity ticker symbols
ticks=[“ADI”]
Download historical data for the given symbols using yfinance
data = yf.download(ticks,interval=“1mo”, rounding=True)
this my code if i executed in python script node then showing error module not found.
i am trying solve this issue but still not getting any solution. anyone is who can help me ?
The issue you are having is that you are referencing Python libraries, but Knime does not know where they are. You will have to use Conda to install them into the Python environment you are using.
@rrousselot as per your python Integration Guide i did follow all process like open anaconda command promopt then create env and then inside this env installed resquired liabrary then deactivate env then go into knime then preferences then open python option then selct conda paste path where i installed liabrary . but its show me some massage still not working . you can see in image.
@Rohit_208 you will have to make sure your Python node actually uses your conda environment, maybe try a restart of KNIME.
You would either use the environment from the general conda settings (where you will have to make sure you have your Python packages) or you might want to choose an individual setting.