fix: Update initialize_scanner function signature to match parameter order
This commit is contained in:
parent
fb254129ad
commit
ec50fc1ebc
@ -20,7 +20,6 @@ def initialize_scanner(min_price: float, max_price: float, min_volume: int,
|
|||||||
"""
|
"""
|
||||||
print(f"\nScanning for stocks ${min_price:.2f}-${max_price:.2f} with min volume {min_volume:,}")
|
print(f"\nScanning for stocks ${min_price:.2f}-${max_price:.2f} with min volume {min_volume:,}")
|
||||||
|
|
||||||
# Remove the get_date_range() call and use the passed parameters
|
|
||||||
if not start_date or not end_date:
|
if not start_date or not end_date:
|
||||||
raise ValueError("start_date and end_date must be provided")
|
raise ValueError("start_date and end_date must be provided")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user