We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09459cb commit 28c753cCopy full SHA for 28c753c
1 file changed
toolbox/utilities/getFundamentals.m
@@ -191,8 +191,16 @@
191
try
192
py.importlib.import_module('yfinance');
193
catch
194
- error('FSDA:getFundamentals:MissingPackage', ...
195
- 'Python package "yfinance" is not installed. Run: python.exe -m pip install yfinance');
+linkCmd = ['<a href="matlab:setupPythonEnv(''', ...
+ 'PipCommand'',''install yfinance'')">', ...
196
+ 'setupPythonEnv(''PipCommand'',''install yfinance'')', ...
197
+ '</a>'];
198
+
199
+error('FSDA:getFundamentals:MissingPackage', ...
200
+ ['Python package "yfinance" is not installed. Run from the terminal: python -m pip install yfinance or' ...
201
+ newline 'call FSDA routine setupPythonEnv' ...
202
+ newline 'with the following syntax: ' ...
203
+ newline linkCmd]);
204
end
205
206
n = numel(ticker);
0 commit comments