Commit Graph

89 Commits

Author SHA1 Message Date
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
b9d6243bbe fix: correct boolean operations and column naming in ThreeATREMAIndicator 2025-02-08 08:07:03 -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
b341bd53ce fix: Import get_interval_choice to resolve undefined name error 2025-02-08 07:47:41 -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
e46b6cb39c The changes add a new feature to allow users to select the ATR-EMA scanner from the main menu by choosing option 2 and then selecting the sub-option. The commit message should reflect this addition.
feat: add ATR-EMA scanner option to main menu
2025-02-08 03:14:42 -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
55aafdb345 feat: Add Three ATR EMA trading indicator with signal logic 2025-02-07 20:41:20 -08:00
6ee4e3a34b
chore: Remove SQL query print statements and add trading info prints 2025-02-07 09:18:12 -08:00
4f545d5041
fix: Align except block with try block in get_stock_data function 2025-02-07 09:18:11 -08:00
b5125a409f
fix: Correct syntax error by adjusting exception handling indentation 2025-02-07 09:18:11 -08:00
76075cd104
fix: Correct indentation error in get_stock_data function 2025-02-07 09:18:11 -08:00
b67586116c
fix: Correct indentation error in get_stock_data function 2025-02-07 09:18:11 -08:00
8573399f9d
chore: Add debug prints for SQL query execution in stock data retrieval 2025-02-07 09:18:11 -08:00
d0583ddcc3
refactor: Update sunny scanner to use intraday stock_prices table 2025-02-07 09:18:11 -08:00
7faf56a712
refactor: Optimize sunny scanner with direct database query and simplified processing 2025-02-07 09:18:10 -08:00
e7a32dd9ab
init python 2025-02-06 23:26:11 -08:00
0fec4c0a8b
add aider 2025-02-06 23:25:32 -08:00
8d5a194ec6
refactor: Simplify run_sunny_scanner with focused output and concise processing 2025-02-06 23:23:45 -08:00
b7b06e10ef
build: Add pytz for timezone handling in requirements.txt 2025-02-06 23:19:15 -08:00
b58df4f952
feat: Add debug output for SunnyBands signal verification in scanner 2025-02-06 23:15:59 -08:00
3f10207481
refactor: Improve SunnyBands target price calculation using band range 2025-02-06 23:10:41 -08:00
fe2b13dff5
refactor: Improve target price calculation for more aggressive trading signals 2025-02-06 23:09:51 -08:00
53ebc1767c
refactor: Add debug output for entry price and upper band in sunny scanner 2025-02-06 23:03:37 -08:00
4a3464b2d9
refactor: Improve numeric output readability with rounding and formatting 2025-02-06 22:57:52 -08:00
6ca78eb83f
refactor: Convert numpy float64 values to Python floats in position calculation 2025-02-06 22:55:12 -08:00
d1a48dfb25
refactor: Remove duplicate position details section and use upper band as target price 2025-02-06 22:52:49 -08:00
48745fbd34
feat: Enhance signal output with detailed position sizing and profit metrics 2025-02-06 22:50:55 -08:00
c248fd05df
refactor: Improve position details display with float conversion and percentage calculations 2025-02-06 22:49:14 -08:00
0648265c62
feat: Add debug prints to track bullish signal and position calculation process 2025-02-06 22:47:44 -08:00