Skip to content
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

Hotfix/stock screener - Stock Screener Fixes #4674

Merged
merged 86 commits into from
Apr 8, 2023
Merged

Conversation

deeleeramone
Copy link
Contributor

@deeleeramone deeleeramone commented Apr 4, 2023

This PR fixes the stock screener, improves the default responses to work better with the new tables, and adds a new batch of presets.

Description

fixes #4570
closes #4180

  • Removes a hard-coded limit argument that overrode user input. Default setting now returns all results for the preset.

  • Removes non-screener functions from the screener menu (arktrades, historical).

  • Updates Terminal and SDK Intro Guides for the Stock Screener.

  • Adds a series of new presets for filtering the S&P 500 by Sector.

  • Summary of the change / bug fix.

  • Link # issue, if applicable.

  • Screenshot of the feature or the bug before/after fix, if applicable.

  • Relevant motivation and context.

How has this been tested?

  • Please describe the tests that you ran to verify your changes.

The existing tests are still valid. Tests for arktrades and historical were removed.

  • Make sure affected commands still run in terminal
  • Ensure the SDK still works

Checklist:

Others

  • I have performed a self-review of my own code.

@reviewpad reviewpad bot added feat XL Extra Large feature and removed feat M Medium T-Shirt size feature labels Apr 4, 2023
@deeleeramone deeleeramone marked this pull request as ready for review April 4, 2023 22:02
@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

❗ No coverage uploaded for pull request base (develop@b4a7ed0). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #4674   +/-   ##
==========================================
  Coverage           ?   57.56%           
==========================================
  Files              ?      589           
  Lines              ?    53830           
  Branches           ?        0           
==========================================
  Hits               ?    30989           
  Misses             ?    22841           
  Partials           ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@deeleeramone deeleeramone changed the title Hotfix/stock screener - Stock Screener Fixes - WIP Hotfix/stock screener - Stock Screener Fixes Apr 5, 2023
Copy link
Contributor

@tehcoderer tehcoderer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hjoaquim hjoaquim enabled auto-merge April 8, 2023 20:08
@hjoaquim hjoaquim added this pull request to the merge queue Apr 8, 2023
Merged via the queue into develop with commit 8b30f1a Apr 8, 2023
jmaslek pushed a commit that referenced this pull request Apr 13, 2023
* stock screener fixes

* improves error message, this is a FinViz preset

* removes non-screener functions from screener menu

* ruff

* removes tests for removed non-screener functions

* updates tests

* black

* ruff

* adds s&p 500 sector presets

* updates Terminal intro guide for stock screener

* Update screener.md

Updates guide with screenshots.

* Update screener.md

spelling

* updates SDK Intro Guide for Stock Screener

* pylint disable=too-many-lines --> disable=C0302

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
@piiq piiq deleted the hotfix/stock_screener branch April 24, 2023 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug feat XL Extra Large feature
Projects
None yet
3 participants