Commit Graph

  • 7fab19c9d6 fix: Improve indicator calculation with robust error handling and trend preservation Bobby (aider) 2025-02-13 23:12:50 -0800
  • af51b62d49 fix: Handle pandas-ta indicators with fillna and numpy conversion Bobby (aider) 2025-02-13 23:11:06 -0800
  • f90794a11c refactor: Move backtesting form from sidebar to main page layout Bobby (aider) 2025-02-13 23:09:25 -0800
  • b41046105d refactor: Improve pandas-ta indicator initialization in DynamicStrategy Bobby (aider) 2025-02-13 23:08:06 -0800
  • c20619d05b fix: Convert date inputs to datetime objects in backtesting page Bobby (aider) 2025-02-13 23:05:51 -0800
  • 6238550ff4 refactor: Update import path for get_stock_data function Bobby (aider) 2025-02-13 23:01:57 -0800
  • ccb62b1cb9 feat: Implement complete backtesting page with dynamic strategy configuration Bobby (aider) 2025-02-13 22:59:59 -0800
  • 3a053a0fb0 feat: Add backtesting page with dynamic strategy configuration and optimization Bobby (aider) 2025-02-13 22:58:28 -0800
  • ab5b4a9cd2 refactor: Simplify report filtering logic by removing technical filter Bobby (aider) 2025-02-13 21:53:57 -0800
  • 88345df736 refactor: Simplify non_canslim filtering logic in report loading Bobby (aider) 2025-02-13 21:51:47 -0800
  • d8658e9b8b feat: Add non-CANSLIM report filtering option to load_scanner_reports() Bobby (aider) 2025-02-13 21:50:04 -0800
  • 4be088c0b2 refactor: Improve overall P/L calculation with realized and paper P/L Bobby (aider) 2025-02-13 13:22:14 -0800
  • d7834d78f5 refactor: Update trading system page portfolio calculation logic Bobby (aider) 2025-02-13 13:03:43 -0800
  • 217707b4d9 refactor: Simplify open position value calculation using trade summary data Bobby (aider) 2025-02-13 12:58:09 -0800
  • 6097ce6367 feat: Improve portfolio value calculation with detailed open trades tracking Bobby (aider) 2025-02-13 12:55:44 -0800
  • 3e1775534c feat: Enhance trading system page with total portfolio value calculation and usage metrics Bobby (aider) 2025-02-13 12:49:31 -0800
  • 336afa8170 feat: Enhance trading system page with cash-aware position sizing Bobby (aider) 2025-02-13 12:46:57 -0800
  • a643a1649e refactor: Fix indentation and remove unused portfolio code Bobby (aider) 2025-02-13 12:44:10 -0800
  • 51ebdc1d74 fix: Correct indentation in trading system page input fields Bobby (aider) 2025-02-13 12:40:01 -0800
  • 5398d683b9 refactor: Remove unnecessary whitespace and indentation in trading system page Bobby (aider) 2025-02-13 12:39:40 -0800
  • 6439412bb3 refactor: Fix search/replace block matching in trading system page Bobby (aider) 2025-02-13 12:39:32 -0800
  • eea63e6cbb refactor: Simplify trading system page to focus on position calculator Bobby (aider) 2025-02-13 12:39:00 -0800
  • 4659496889 feat: Enhance portfolio overview with dynamic value calculation and cash balance input Bobby (aider) 2025-02-13 12:34:37 -0800
  • bd4dce4f42 refactor: Improve timezone handling in calculate_weekly_metrics function Bobby (aider) 2025-02-13 12:30:17 -0800
  • 18f689115e fix: Resolve timezone awareness issue in weekly metrics calculation Bobby (aider) 2025-02-13 12:29:05 -0800
  • 00d00fb06b feat: Add weekly performance metrics to Portfolio Overview section Bobby (aider) 2025-02-13 12:27:35 -0800
  • 201d48c302 feat: Enhance trading journal with portfolio allocation and performance metrics Bobby (aider) 2025-02-13 12:21:11 -0800
  • a6746ff267 fix: Improve trade P/L calculation in plot_trade_history function Bobby (aider) 2025-02-13 11:28:12 -0800
  • b1240cd582 refactor: Update plot_trade_history to only show realized P/L from closed trades Bobby (aider) 2025-02-13 11:25:11 -0800
  • 85c8f97cc5 refactor: Optimize open trades summary query with position totals subquery Bobby (aider) 2025-02-13 11:21:04 -0800
  • e5b35e50e5 refactor: Improve open trades query with net shares calculation and position tracking Bobby (aider) 2025-02-13 11:20:47 -0800
  • 4196a61b99 refactor: Update open trades queries to handle empty exit prices and null exit dates Bobby (aider) 2025-02-13 11:18:00 -0800
  • 4bd9bd8c42 fix: Adjust open trades summary query to handle sell orders and filter zero total shares Bobby (aider) 2025-02-13 11:14:28 -0800
  • abaf3ab855 feat: Improve trade entry and performance calculation for sell orders Bobby (aider) 2025-02-13 11:11:42 -0800
  • 6d29558752 fix: Handle missing trade direction by inferring from exit price Bobby (aider) 2025-02-13 11:05:38 -0800
  • 731b4e9e2d refactor: Simplify position summary query and add debug logging Bobby (aider) 2025-02-13 10:58:09 -0800
  • 814a7db5de feat: Add debug print statements to trading journal page for trade entry tracking Bobby (aider) 2025-02-13 10:52:36 -0800
  • 417747be86 refactor: Optimize position handling logic in trading journal page Bobby (aider) 2025-02-13 10:46:55 -0800
  • 46c37e2f63 refactor: Improve position selection logic for buy and sell trades Bobby (aider) 2025-02-13 10:43:45 -0800
  • 0f8a75ca28 refactor: Improve trade direction inference and add debug logging in position performance calculation Bobby (aider) 2025-02-13 10:39:25 -0800
  • aedd96eef4 refactor: Simplify open trades summary query calculation Bobby (aider) 2025-02-13 10:34:46 -0800
  • 52839b451e feat: Add debug logging to get_open_trades function Bobby (aider) 2025-02-13 10:29:50 -0800
  • c4b253cc88 feat: Add debug logging to open trades functions Bobby (aider) 2025-02-13 10:29:33 -0800
  • dbb1393c08 feat: Add comprehensive debug statements to trading journal page and data retrieval functions Bobby (aider) 2025-02-13 10:29:01 -0800
  • 7f1077a951 refactor: Replace st.query_params with st.experimental_rerun for trade updates Bobby (aider) 2025-02-13 10:23:25 -0800
  • 28ffb22f71 fix: Move entry datetime input before position ID generation Bobby (aider) 2025-02-13 10:10:20 -0800
  • ef762d2132 feat: Update position ID generation to use trade entry datetime Bobby (aider) 2025-02-13 10:09:53 -0800
  • b3ac7c1705 refactor: Remove debug output lines from trading journal page Bobby (aider) 2025-02-13 09:36:23 -0800
  • a37b70d88d refactor: Simplify trade sorting to use chronological order Bobby (aider) 2025-02-13 09:35:19 -0800
  • 646d4b847f refactor: Update trade history query to explicitly list columns Bobby (aider) 2025-02-13 09:32:57 -0800
  • e322743f33 fix: Add direction field to trade history query and improve error handling Bobby (aider) 2025-02-13 09:32:40 -0800
  • e22a0ad67e refactor: Update trade entry handling for sell orders with exit price and date Bobby (aider) 2025-02-13 09:30:38 -0800
  • 9493f5d7ac fix: Add default value for trade direction in debug output Bobby (aider) 2025-02-13 09:26:29 -0800
  • f162cdb91b fix: Correct trade direction processing in trading journal Bobby (aider) 2025-02-13 09:26:18 -0800
  • 94671119f2 feat: Replace time_input with text_input for time entry validation Bobby (aider) 2025-02-13 09:14:27 -0800
  • b6117c84f2 feat: Add docstring and lowercase trade direction in add_trade function Bobby (aider) 2025-02-13 09:13:03 -0800
  • a3eae62be3 fix: Improve trade direction detection in position performance calculation Bobby (aider) 2025-02-13 09:09:39 -0800
  • bd880cbb46 fix: Use order_type instead of corrupted direction field for trade classification Bobby (aider) 2025-02-13 09:07:12 -0800
  • 522e889467 refactor: Improve trade direction handling and debug output Bobby (aider) 2025-02-13 09:04:47 -0800
  • 58c59a4633 refactor: Improve trade direction handling and add debug output Bobby (aider) 2025-02-13 09:02:42 -0800
  • 3bc111288e fix: Improve trade performance calculation and add debug logging Bobby (aider) 2025-02-13 09:00:17 -0800
  • 47b58faddd refactor: Enhance trade history display with performance metrics and detailed trade information Bobby (aider) 2025-02-13 08:58:34 -0800
  • b1b22ac026 refactor: Improve trade display sorting and exit price handling Bobby (aider) 2025-02-13 08:54:04 -0800
  • f85299b518 fix: Add type checking for trade direction to prevent AttributeError Bobby (aider) 2025-02-13 08:50:49 -0800
  • 0c30213688 fix: Handle entry_price formatting with error handling Bobby (aider) 2025-02-13 08:50:05 -0800
  • 9ef81fb589 fix: Improve trade history display with correct price labels and direction Bobby (aider) 2025-02-13 08:49:04 -0800
  • b8a561f37c fix: Handle potential type conversion errors for exit price in trading journal Bobby (aider) 2025-02-13 08:45:50 -0800
  • 287dd32485 fix: Handle non-string trade direction in trading journal display Bobby (aider) 2025-02-13 08:44:37 -0800
  • c030f87d9a fix: Handle missing trade direction by defaulting to 'Buy' Bobby (aider) 2025-02-13 08:43:41 -0800
  • fb27bf3003 fix: Handle non-numeric exit prices in trade history plotting Bobby (aider) 2025-02-13 08:42:08 -0800
  • 0b07861265 fix: Convert trade prices and shares to float to prevent type errors Bobby (aider) 2025-02-13 08:40:44 -0800
  • 8d76d820fe feat: Enhance trade history display with position-based grouping and comprehensive trade details Bobby (aider) 2025-02-13 08:39:51 -0800
  • 3f0b10ed41 fix: Correct trade type display in trading journal Bobby (aider) 2025-02-13 08:35:40 -0800
  • 9642d78942 feat: Add support for sell orders in trade history query and display Bobby (aider) 2025-02-13 08:32:58 -0800
  • bc064fc011 fix: Correct trade summary calculations for buy and sell directions Bobby (aider) 2025-02-13 08:29:01 -0800
  • e60f18e41a fix: Add None checks for portfolio position metrics to prevent TypeError Bobby (aider) 2025-02-13 08:10:18 -0800
  • 0cb11574a3 refactor: Add None checks to Position class property methods Bobby (aider) 2025-02-13 08:07:52 -0800
  • 3a962fb685 fix: Handle None values for numeric trade fields in trading journal Bobby (aider) 2025-02-13 07:58:35 -0800
  • 7764821ec9 fix: Correct syntax error in process_signal_data function signature Bobby (aider) 2025-02-12 22:17:19 -0800
  • 4ad01316b7 feat: Add Heikin Ashi signal handling with dynamic target price calculation Bobby (aider) 2025-02-12 22:17:04 -0800
  • aec5929ea7 feat: Add Heikin-Ashi scanner to technical scanner framework Bobby (aider) 2025-02-12 22:09:39 -0800
  • a24605e839 refactor: Simplify technical scanner results display with summary table and download option Bobby (aider) 2025-02-12 20:45:26 -0800
  • 83159566e3 feat: Return signals from scanner functions and handle errors Bobby (aider) 2025-02-12 20:39:31 -0800
  • 5502c54845 refactor: Update load_scanner_reports with debug logging and robust path resolution Bobby (aider) 2025-02-12 20:09:36 -0800
  • f4f7505e5c refactor: Update report filtering logic to match specific scanner naming patterns Bobby (aider) 2025-02-12 20:02:00 -0800
  • c1382ba694 refactor: Centralize scanner report loading with universal utility function Bobby (aider) 2025-02-12 19:59:32 -0800
  • 28713d9fcd fix: Update imports for initialize_scanner and process_signal_data in t_atr_ema_v2.py Bobby (aider) 2025-02-12 19:53:45 -0800
  • 057cd7e1e1 refactor: Move process_signal_data from data_utils to scanner_utils and update imports Bobby (aider) 2025-02-12 19:53:09 -0800
  • 9c6d1d1f10 refactor: Remove orphaned database query code block from data_utils.py Bobby (aider) 2025-02-12 19:52:16 -0800
  • 8775d35326 refactor: Split large functions in data_utils.py into smaller modules Bobby (aider) 2025-02-12 19:50:27 -0800
  • 3e98ba4e9d refactor: Resolve circular import by creating common_utils module Bobby (aider) 2025-02-12 19:50:00 -0800
  • 8ea0895f73 refactor: Resolve circular import by moving get_user_input to scanner_utils.py Bobby (aider) 2025-02-12 19:47:56 -0800
  • 7d7262fd8c refactor: Consolidate initialize_scanner function and remove duplicate Bobby (aider) 2025-02-12 19:46:35 -0800
  • ec50fc1ebc fix: Update initialize_scanner function signature to match parameter order Bobby (aider) 2025-02-12 19:44:10 -0800
  • fb254129ad fix: Import timedelta to resolve undefined name errors Bobby (aider) 2025-02-12 19:42:58 -0800
  • b9704646f9 refactor: Update run_sunny_scanner with consistent parameter handling Bobby (aider) 2025-02-12 19:42:49 -0800
  • 17644db50b fix: Import datetime to resolve undefined name errors Bobby (aider) 2025-02-12 19:40:10 -0800
  • c387396254 refactor: Update scanner initialization to accept start and end dates as parameters Bobby (aider) 2025-02-12 19:40:01 -0800
  • 3b2cd794ec refactor: Update scanner initialization to use passed interval parameter Bobby (aider) 2025-02-12 19:37:48 -0800
  • 7d842f661b feat: Add interval parameter to run_sunny_scanner function Bobby (aider) 2025-02-12 19:06:51 -0800