Commit Graph

486 Commits

Author SHA1 Message Date
722f0d8a14 fix: Import missing functions for trading plan management 2025-02-11 19:03:25 -08:00
e575842664 feat: Add trade linking and performance metrics to trading plans 2025-02-11 19:00:24 -08:00
bdfd53e653 feat: Enhance trading plan view with comprehensive details and improved layout 2025-02-11 18:56:27 -08:00
9f0be3f617 fix: Update Streamlit query params method to use .update() 2025-02-11 18:53:15 -08:00
0312411a47 refactor: Replace deprecated st.experimental_set_query_params with st.query_params 2025-02-11 18:51:27 -08:00
613f50ec5b fix: Correct indentation for delete button in trading plan page 2025-02-11 18:48:37 -08:00
9369eadd47 fix: Correct syntax error in trading plan delete button placement 2025-02-11 18:47:12 -08:00
9e7e1dd2b1 fix: Correct indentation for delete plan button in trading plan page 2025-02-11 18:47:02 -08:00
35cebb7010 fix: Correct indentation for delete plan button in trading plan page 2025-02-11 18:46:51 -08:00
25edd0a77f fix: Correct indentation for "Delete Plan" button in trading plan page 2025-02-11 18:46:38 -08:00
f0065af3a2 fix: Resolve indentation error and remove duplicate exception handler in trading plan page 2025-02-11 18:44:57 -08:00
11660b3449 fix: Remove misplaced delete plan button and add it to trading plan page 2025-02-11 18:44:46 -08:00
b1e843e796 feat: Add delete functionality for trading plans in edit mode 2025-02-11 18:44:33 -08:00
e7946667e4 feat: Add comprehensive editing capabilities for trading plans 2025-02-11 18:40:44 -08:00
430520a307 refactor: Remove updated_at as version column in ReplacingMergeTree engine 2025-02-11 18:36:58 -08:00
978d9c7a20 feat: Update trading_plans table to use ReplacingMergeTree for better update support 2025-02-11 18:34:35 -08:00
aa282de020 refactor: Switch trading_plans table engine from TinyLog to MergeTree 2025-02-11 18:33:01 -08:00
7fe73d725c fix: Remove DROP TABLE command to preserve trading plan data 2025-02-11 18:31:15 -08:00
74e1d43936 feat: Add unique keys to Streamlit form elements to prevent duplicate IDs 2025-02-11 18:28:15 -08:00
5acfe4bfc4 fix: Correctly handle query results in trading plan retrieval functions 2025-02-11 18:25:02 -08:00
1d423d3291 refactor: Update Streamlit query params and trading plan retrieval method 2025-02-11 18:22:58 -08:00
26238a6afb refactor: Update query result handling and deprecated Streamlit function 2025-02-11 18:21:33 -08:00
7fe83a0f6a fix: Update st.rerun() to st.experimental_set_query_params(rerun=True) 2025-02-11 18:20:07 -08:00
9897b9029b refactor: Replace st.experimental_rerun() with st.experimental_set_query_params(rerun=True) 2025-02-11 18:20:03 -08:00
d17dc47d42 fix: Correctly handle query result rows when generating new trading plan ID 2025-02-11 18:17:33 -08:00
0ac499ae8c refactor: Update database client methods to use command and query for SQL execution 2025-02-11 18:15:54 -08:00
41de719250 refactor: Add error handling to get_all_trading_plans function 2025-02-11 18:02:38 -08:00
2a790a164a refactor: Improve error handling in create_trading_plan_table function 2025-02-11 18:01:35 -08:00
a22f4a444a refactor: Simplify trading_plans table structure with TinyLog engine 2025-02-11 17:59:38 -08:00
19f06601d9 refactor: Simplify trading plans table structure with MergeTree engine and default values 2025-02-11 17:58:13 -08:00
7ccb5a8065 refactor: Simplify trading plans table structure with Log engine 2025-02-11 17:56:59 -08:00
b327062a6d refactor: Simplify trading plans table creation with Memory engine 2025-02-11 17:51:35 -08:00
26c8d83451 refactor: Simplify trading_plans table creation with MergeTree engine 2025-02-11 17:50:20 -08:00
7b6d890d7e feat: Update ClickHouse table creation with ReplacingMergeTree and DateTime64 2025-02-11 17:48:38 -08:00
f9c8d43a86 fix: Update ClickHouse table creation syntax for trading plans 2025-02-11 17:45:52 -08:00
34c006e360 refactor: Reorder TradingPlan dataclass fields to comply with Python requirements 2025-02-11 17:43:49 -08:00
4730499ae2 feat: Add trading plans page to Streamlit app with full CRUD functionality 2025-02-11 17:42:10 -08:00
8440171a08 feat: Add functions to get and update trading plans 2025-02-11 17:40:04 -08:00
ca4ceabc40 feat: Add trading plan model and database schema for managing trading strategies 2025-02-11 17:38:11 -08:00
a4bf153097 feat: Add run_migration.py to resolve Python module import issues 2025-02-11 07:10:14 -08:00
8c11af9c05 feat: Add migration script to include direction field in trades table 2025-02-11 07:07:28 -08:00
483fcf7ba9 refactor: Update TradeEntry to support buy and sell orders with optional fields 2025-02-11 07:06:17 -08:00
77a067a22e feat: Add direction field to TradeEntry and update trades table schema 2025-02-11 07:05:58 -08:00
b9116a55a2 feat: Enhance trade entry form to support buy and sell order workflows 2025-02-11 07:02:51 -08:00
c238bf45ed feat: Add buy/sell direction selector to trading journal page 2025-02-11 06:59:10 -08:00
695259f3be refactor: Remove navigation buttons from strategy guide page 2025-02-10 23:32:07 -08:00
c1445fc5e3 refactor: Replace st.switch_page() with session state navigation 2025-02-10 23:31:01 -08:00
83e2cde08a feat: Improve navigation buttons in strategy guide page with Streamlit switch_page 2025-02-10 23:29:52 -08:00
99f890c4c6 refactor: Simplify strategy guide page navigation buttons 2025-02-10 23:28:29 -08:00
f9b6cb82f8 refactor: Replace deprecated st.experimental_rerun() with st.rerun() 2025-02-10 23:27:06 -08:00