Commit Graph

128 Commits

Author SHA1 Message Date
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
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
ea96a07d17 3ATR Strategy 2025-02-08 10:38:22 -08:00
b4ed0c6906 code created by gpt 2025-02-08 10:28:05 -08:00
277492c7f8 fix: Correct plotshape syntax and indentation in Sunny_Bands.pine 2025-02-08 10:18:26 -08:00
6e79d3380e fix: Correct plotshape syntax in Pine Script 2025-02-08 10:14:10 -08:00
013a76a53d fix: Correct Pine Script plotshape syntax error by removing explicit parameter names 2025-02-08 10:12:00 -08:00
3123fb2159 refactor: Simplify alertcondition syntax in Sunny_Bands.pine 2025-02-08 10:07:12 -08:00
1c4c9553a2 refactor: Improve plotshape and alertcondition parameter clarity in Sunny_Bands.pine 2025-02-08 10:02:41 -08:00
c445f350d9 style: Format Pine Script function calls with proper indentation 2025-02-08 09:55:01 -08:00
3e39261fd5 feat: Add Sunny Bands Strategy with risk management and trading rules 2025-02-08 09:52:21 -08:00
95d1692349 fix: Correct band fill in Sunny_Bands.pine using plot references 2025-02-08 09:48:25 -08:00
072fba4006 feat: Add Pine Script implementation of SunnyBands indicator 2025-02-08 09:43:59 -08:00
1fe27d41da fix: Properly declare and initialize trail_price with correct reassignment 2025-02-08 09:37:41 -08:00
9cd98202c7 feat: Add dual profit targets and trailing stop to 3ATR EMA strategy 2025-02-08 09:34:54 -08:00
d325bcaa25 feat: Add bull market filter using 200-period SMA to strategy 2025-02-08 09:23:26 -08:00
e54a30c402 refactor: Simplify 3ATR EMA strategy by removing stop loss and adding exit signals 2025-02-08 09:20:20 -08:00
eea3013e0d fix: Move stop plots to global scope with conditional visibility 2025-02-08 09:12:25 -08:00
5260a15b6f fix: Update position sizing to use modern Pine Script v5 syntax 2025-02-08 09:10:20 -08:00
aa6af3248c feat: Add composite risk management system with 1% account risk and 7% max stop loss 2025-02-08 09:09:02 -08:00
485ba4418c fix: Declare stop_price and use reassignment operator in strategy 2025-02-08 09:01:48 -08:00
e0ad1ac620 feat: Add trailing stop loss to Three ATR EMA strategy 2025-02-08 08:59:46 -08:00
7155686923 refactor: Convert Three ATR EMA indicator to strategy with backtest params 2025-02-08 08:51:15 -08:00
3794e0b21e fix: Correct syntax error in Pine Script bullish signal condition 2025-02-08 08:45:11 -08:00
190ab31c51 feat: Add Pine Script implementation of Three ATR EMA indicator 2025-02-08 08:39:21 -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