Spaces:
Running
Running
Khanna, Videh Rakesh Rakesh commited on
Commit ·
fa4a4e5
1
Parent(s): e0a0214
fix: raise Top Picks min price floor from ₹20 to ₹100
Browse files_TOP5_MIN_PRICE default was too low, letting near-penny stocks (~₹30) into
Top Picks. Not overridden in .env/HF Secrets, so this new default applies
directly.
- top5_picker.py +1 -1
top5_picker.py
CHANGED
|
@@ -145,7 +145,7 @@ _TOP5_MAX_PRICE = float(os.getenv("TOP5_MAX_PRICE", "5000") or "5000")
|
|
| 145 |
# thin, wide-spread order books rather than real tradeable momentum, so they kept rising to the
|
| 146 |
# top while being unreliable to hit any predicted intraday range. Env TOP5_MIN_PRICE overrides;
|
| 147 |
# set 0 to disable the floor.
|
| 148 |
-
_TOP5_MIN_PRICE = float(os.getenv("TOP5_MIN_PRICE", "
|
| 149 |
|
| 150 |
# Sector diversity: cap how many final picks may come from any one mapped NSE sector so a single
|
| 151 |
# hot sector can't fill the whole list. Stocks with no sector mapping (most mid/small-caps) are
|
|
|
|
| 145 |
# thin, wide-spread order books rather than real tradeable momentum, so they kept rising to the
|
| 146 |
# top while being unreliable to hit any predicted intraday range. Env TOP5_MIN_PRICE overrides;
|
| 147 |
# set 0 to disable the floor.
|
| 148 |
+
_TOP5_MIN_PRICE = float(os.getenv("TOP5_MIN_PRICE", "100") or "100")
|
| 149 |
|
| 150 |
# Sector diversity: cap how many final picks may come from any one mapped NSE sector so a single
|
| 151 |
# hot sector can't fill the whole list. Stocks with no sector mapping (most mid/small-caps) are
|