-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ticker.basic_info
- fast but minimal alternative to info[]
#1317
Conversation
Remove redundant keys from info[] that are better found elsewhere ; Print instructions if old keys accessed via InfoDictWrapper
If beta and dividendRate were moved over I could switch to basic_info as well |
@YieldPilot Moved over from where? |
Sorry - I meant: I am currently using beta and dividendRate from .info - if those were moved to .basic_info I woul dstop using .info. |
@YieldPilot |
Draft implementation for #1300 so feedback wanted. See that Issue for discussion of why ...
Ticker.basic_info
provides fast access to ~25 values ofTicker.info[]
, e.g. last close price. To encourage users to switch, these keys are removed frominfo
. If user is using affected keys, thenyfinance
will print migration instructions eg:dat.info["open"]