Commit Graph

97 Commits

Author SHA1 Message Date
8c1b98860f refactor: Standardize CSV output structure across all scanners 2025-02-08 18:59:19 -08:00
bf0adcb163 fix: Store EMA value in entry_data to prevent KeyError 2025-02-08 18:03:23 -08:00
9d8a4167d0 feat: Add potential profit display to screener outputs 2025-02-08 17:59:59 -08:00
1d51e491f2 fix: Prevent future dates in queries and add date validation 2025-02-08 17:55:37 -08:00
5afd77b9a0 feat: Add signal dates to sunnyband scanner output 2025-02-08 17:11:27 -08:00
516533800f refactor: Use consistent date range input in sunny band scanner 2025-02-08 13:20:17 -08:00
2f784e5d65 feat: Add signal dates to ATR EMA screeners for backtesting 2025-02-08 12:32:14 -08:00
a8dd33c3d9 feat: add date range input functionality to stock scanners 2025-02-08 12:19:34 -08:00
0f60515442 refactor: Update import in t_atr_ema.py to use data_utils module 2025-02-08 12:16:19 -08:00
c2ac523d83 fix: Import get_stock_data in t_sunnyband.py 2025-02-08 12:14:13 -08:00
012fa0e071 refactor: Move get_stock_data to utils module for shared usage 2025-02-08 12:13:59 -08:00
98f13c0d9d fix: Correct import and __all__ list in screener/__init__.py 2025-02-08 12:07:43 -08:00
7775999f3b feat: add Three ATR EMA v2 screener with entry signal logic 2025-02-08 12:06:55 -08:00
7ba3f07ad4 fix: Improve error handling and data resampling in indicator calculation 2025-02-08 11:52:28 -08:00
41380c3638 fix: correct timestamp handling and add date validation in stock data queries 2025-02-08 11:50:25 -08:00
44beec4b6c fix: Update date handling in ClickHouse query to filter future dates 2025-02-08 11:47:34 -08:00
a67f88211f fix: Correct timestamp handling in ClickHouse query for ATR EMA scanner 2025-02-08 11:44:04 -08:00
5b07a565f9 feat: Add date validation to stock data queries 2025-02-08 11:42:36 -08:00
69f0bd532c fix: Correct date handling and validation in ATR EMA scanner 2025-02-08 11:42:24 -08:00
9f95ee14fc fix: Enhance data validation and debugging in ATR EMA screener 2025-02-08 11:40:33 -08:00
02a26636e3 fix: Enhance data validation and type handling in screener scripts 2025-02-08 11:39:01 -08:00
b4312e92d4 fix: Add validation checks for missing 'close' column in stock data 2025-02-08 11:35:37 -08:00
6be64ebe03 gpt fix 2025-02-08 11:33:09 -08:00
316ce608b6 refactor: Update SQL query to use window_start and timestamp conversion 2025-02-08 11:16:00 -08:00
196ca39e63 fix: Update ClickHouse queries to use window_start column correctly 2025-02-08 11:15:21 -08:00
b820c5a5b2 fix: Enhance data fetching with fallback logic and expanded time ranges 2025-02-08 11:09:19 -08:00
7ef27027ee fix: Replace async ClickHouse query with synchronous method 2025-02-08 11:01:13 -08:00
8560214494 feat: Improve data fetching with wider range and batch validation 2025-02-08 10:57:30 -08:00
114e0f6165 fix: Correct interval format and enhance data fetching error handling in ATR-EMA scanner 2025-02-08 10:53:27 -08:00
86686125f3 feat: Add ATR EMA target scanner for stock analysis 2025-02-08 10:53:21 -08:00
389975605c refactor: Remove duplicate code block in user input handling 2025-02-08 10:50:00 -08:00
27ffc80432 feat: Integrate ATR-EMA v2 scanner with updated menu and imports 2025-02-08 10:49:04 -08:00
7a72cdf83b fix: Update resample rule format from 'T' to 'min' in t_sunnyband.py 2025-02-08 08:33:01 -08:00
cbc08d7772 fix: Import get_interval_choice and remove duplicate os import 2025-02-08 08:30:44 -08:00
c1fbac6103 feat: Add 7% stop loss and portfolio-based position sizing 2025-02-08 08:28:20 -08:00
bf71fa5fb2 feat: Update default stop loss to 7% and improve position sizing output 2025-02-08 08:21:28 -08:00
2103367a18 fix: Define previous_price to resolve undefined name error in function 2025-02-08 07:55:21 -08:00
bb3d67ead9 fix: Correct logic in check_atr_ema_buy_condition to use previous price 2025-02-08 07:55:13 -08:00
b1d86d988a fix: Replace bitwise operator with logical operator in buy condition check 2025-02-08 07:52:20 -08:00
a012872592 fix: Remove unterminated triple-quoted string in user_input.py 2025-02-08 07:50:32 -08:00
3fb5a8855b fix: Remove unterminated triple-quoted string in user_input.py 2025-02-08 07:50:20 -08:00
8cd2b39849 feat: Uncomment and define get_user_screener_selection function in user_input.py 2025-02-08 07:50:14 -08:00
c39bc7984d feat: Move get_interval_choice function to user_input.py from t_sunnyband.py 2025-02-08 07:47:28 -08:00
df4ee34b3a fix: Define 'results' in check_atr_ema_buy_condition function 2025-02-08 07:46:06 -08:00
8f34d143c8 fix: Define indicator and reorder start_date initialization in t_atr_ema.py 2025-02-08 07:45:58 -08:00
422e11e4bf fix: Define missing variables and import necessary functions in t_atr_ema.py 2025-02-08 07:45:39 -08:00
41537c1021 fix: Import get_interval_choice to resolve NameError in t_atr_ema.py 2025-02-08 07:45:09 -08:00
d6f2e1b961 feat: Add support for ATR EMA scanner with enhanced position calculator integration 2025-02-07 21:19:57 -08:00
0a4d5c2a5d feat: Add support for Three ATR EMA indicator configuration 2025-02-07 20:52:27 -08:00
6ee4e3a34b
chore: Remove SQL query print statements and add trading info prints 2025-02-07 09:18:12 -08:00