-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Fixed search
command issues
#4845
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #4845 +/- ##
===========================================
- Coverage 58.29% 58.08% -0.21%
===========================================
Files 588 588
Lines 53666 53686 +20
===========================================
- Hits 31283 31182 -101
- Misses 22383 22504 +121
☔ View full report in Codecov by Sentry. |
@jmaslek please review this, thanks! |
@jmaslek please review this, thanks! |
@@ -197,7 +197,7 @@ def call_search(self, other_args: List[str]): | |||
help="Search by sector to find stocks matching the criteria", | |||
) | |||
parser.add_argument( | |||
"-g", | |||
"--ig", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for both. Can just have industry-group. Same for below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added it because industry-group
and exchange-country
do not list/autosuggest the options. Any suggestions on how to resolve this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am not sure why. I pushed a proposed solution just calling it industrygroup and exchangecountry instead of any separator. Seems to work. Let me know if thats all good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I will modify the tests and push the changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are good. Everything works!
Fixes #4833