Commit Graph

174 Commits

Author SHA1 Message Date
b8eaafafd6 fix: Correct price and volume filtering in get_qualified_stocks query 2025-02-09 00:45:19 -08:00
fcc8203aae fix: Add missing import for get_qualified_stocks in scanner files 2025-02-09 00:37:32 -08:00
1e6a05c81d refactor: Move common stock query logic to get_qualified_stocks function 2025-02-09 00:37:18 -08:00
69c5b12fd3 fix: Update SQL queries to handle trade_date column consistently 2025-02-09 00:35:30 -08:00
bf6c5e0880 refactor: Update SQL queries for consistent date handling in screeners 2025-02-09 00:32:58 -08:00
0a5ffbcadb fix: Correct datetime handling in scanner queries 2025-02-09 00:32:20 -08:00
c03a361096 fix: Correct timestamp handling in stock details query 2025-02-09 00:28:35 -08:00
d4e0bc2c92 refactor: Update scanner queries to calculate daily close prices from timestamps 2025-02-09 00:20:10 -08:00
cd7a33cb7e refactor: Filter stock data before aggregation in scanner queries 2025-02-09 00:15:02 -08:00
a9d380897a refactor: update entry conditions in ATR EMA scanners for better precision 2025-02-08 21:59:06 -08:00
1b852b2d8d fix: Remove nested try block and fix indentation in SQL query 2025-02-08 20:55:11 -08:00
819c91ff4a fix: Correct nested try blocks and indentation in t_sunnyband.py 2025-02-08 20:54:51 -08:00
4984d4944a fix: Properly use context manager for database connections in scanners 2025-02-08 20:54:31 -08:00
865438bbf8 refactor: Replace connection pool with context manager for ClickHouse connections 2025-02-08 20:52:36 -08:00
68e665a0c2 fix: Remove invalid 'use_session_id' setting from ClickHouse client config 2025-02-08 20:47:59 -08:00
906ecb7816 refactor: Rename get_client to create_client for consistency 2025-02-08 20:44:27 -08:00
a5cef08fd2 feat: add connection pool for managing multiple database connections 2025-02-08 20:41:08 -08:00
125273f22b refactor: Remove session handling in db_connection.py 2025-02-08 20:39:55 -08:00
4cf73e0a69 feat: Enhance ClickHouse client settings for better performance and session management 2025-02-08 20:35:32 -08:00
4dcb9c969e fix: Disable session checking and optimize ClickHouse client config 2025-02-08 20:27:33 -08:00
8d7ecb4f39 chore: Suppress urllib3 SSL warnings in main.py 2025-02-08 20:16:58 -08:00
c610bc7d4a refactor: Update Sunny Bands scanner to match ATR EMA pattern and focus on bullish signals 2025-02-08 20:06:53 -08:00
15304106ac refactor: standardize ATR EMA scanner to scan entire date range 2025-02-08 20:05:29 -08:00
cea43c4d32 feat: Add time interval resampling to stock data fetching 2025-02-08 20:03:59 -08:00
7e046a1e33 feat: Scan entire date range for signals in ATR EMA strategy 2025-02-08 19:52:55 -08:00
0ca47d3c3d fix: Add missing os import to data_utils.py 2025-02-08 19:47:21 -08:00
af1f245c7a fix: Remove incorrect 'risk' key access in t_atr_ema.py 2025-02-08 19:09:22 -08:00
ba73f3ddca fix: Add missing os import in data_utils.py 2025-02-08 19:06:05 -08:00
1d521bee85 fix: Improve error reporting in print_signal with ticker and available keys 2025-02-08 19:05:50 -08:00
3c6e69de62 refactor: Replace signal print statements with print_signal function 2025-02-08 19:01:28 -08:00
fd3ded3f72 refactor: Centralize signal output and CSV saving in data_utils.py 2025-02-08 19:01:18 -08:00
b64e3b5a27 fix: Add signal_date definition from DataFrame in t_sunnyband.py 2025-02-08 18:59:35 -08:00
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
0d0c4944d8 refactor: Remove session management from db_connection.py 2025-02-08 17:51:43 -08:00
cd4691a4cb fix: Remove invalid keep_alive_timeout setting from ClickHouse client 2025-02-08 17:49:34 -08:00
58841c9a08 feat: Enhance ClickHouse client with improved session management and error handling 2025-02-08 17:38:58 -08:00
1c23444e5b feat: Add exponential backoff for session lock retries in ClickHouse client 2025-02-08 17:32:39 -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
d41d40ab4f fix: Update function name in main.py to match t_atr_ema_v2 implementation 2025-02-08 12:08:32 -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