OpenBB-finance / OpenBB

Investment Research for Everyone, Everywhere.
https://openbb.co
Other
29.48k stars 2.76k forks source link

[Bug] Absolute Paths Do Not Work From Forecast Menu When Entered Through Stocks/Crypto, etc. #3747

Closed deeleeramone closed 3 months ago

deeleeramone commented 1 year ago

If you enter the Forecast menu from the main menu, absolute path declarations work as expected. It fails when you enter the menu from the Stocks menu because it only navigates back by one menu level instead of two.

(🦋) /forecast/ $  /crypto

usage: forecast
                {load,show,plot,clean,combine,desc,corr,rename,delete,export,ema,sto,rsi,roc,mom,delta,atr,signal,autoselect,autoarima,autoces,autoets,mstl,rwd,seasonalnaive,expo,theta,rnn,brnn,nbeats,tcn,regr,linregr,trans,tft,season,which,nhits,cls,home,about,h,?,help,q,quit,..,e,exit,r,reset,support,glossary,wiki,record,stop,screenshot}
forecast: error: the following arguments are required: cmd
The command ' ' doesn't exist on the /forecast/ menu.

The command 'crypto' doesn't exist on the /forecast/ menu.

(🦋) /forecast/ $ /crypto

The command 'crypto' doesn't exist on the /stocks/ menu.

(🦋) /stocks/ $
jmaslek commented 1 year ago

you still get this?

I have no issue

deeleeramone commented 1 year ago

Yup, recreate with:

/stocks/forecast

/crypto

Screenshot 2023-03-17 at 11 24 37 PM