Skip to content

Commit

Permalink
In docs, recategorise IS-IN as a value operation
Browse files Browse the repository at this point in the history
  • Loading branch information
ValueRaider committed Jan 16, 2025
1 parent 6b109f1 commit 290fb93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions yfinance/screener/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ class EquityQuery(QueryBase):
"""
The `EquityQuery` class constructs filters for stocks based on specific criteria such as region, sector, exchange, and peer group.
Start with value operations: `EQ` (equals), `BTWN` (between), `GT` (greater than), `LT` (less than), `GTE` (greater or equal), `LTE` (less or equal).
Start with value operations: `EQ` (equals), `IS-IN` (is `x` in `list`), `BTWN` (between), `GT` (greater than), `LT` (less than), `GTE` (greater or equal), `LTE` (less or equal).
Combine them with logical operations: `AND`, `OR`, `IS-IN`.
Combine them with logical operations: `AND`, `OR`.
Example:
Predefined Yahoo query `aggressive_small_caps`:
Expand Down Expand Up @@ -178,9 +178,9 @@ class FundQuery(QueryBase):
"""
The `FundQuery` class constructs filters for mutual funds based on specific criteria such as region, sector, exchange, and peer group.
Start with value operations: `EQ` (equals), `BTWN` (between), `GT` (greater than), `LT` (less than), `GTE` (greater or equal), `LTE` (less or equal).
Start with value operations: `EQ` (equals), `IS-IN` (is `x` in `list`), `BTWN` (between), `GT` (greater than), `LT` (less than), `GTE` (greater or equal), `LTE` (less or equal).
Combine them with logical operations: `AND`, `OR`, `IS-IN`.
Combine them with logical operations: `AND`, `OR`.
Example:
Predefined Yahoo query `solid_large_growth_funds`:
Expand Down

0 comments on commit 290fb93

Please sign in to comment.