feat(trading-assistant): refactor strategy creation and enhance script mode functionality
- Removed conditional rendering for the assistant guide bar. - Simplified strategy overview and strategy list item components. - Introduced a new modal for selecting strategy mode. - Enhanced strategy creation modal to support script strategies with a dedicated editor. - Updated form handling for script strategies, including validation and submission logic. - Improved user experience with better messaging and streamlined UI components. - Updated translations for better clarity in Chinese.
This commit is contained in:
@@ -84,7 +84,7 @@ class AnalysisMemory:
|
||||
cur.execute("""
|
||||
DO $$
|
||||
BEGIN
|
||||
-- 添加 user_id 列(如果不存在)
|
||||
-- Add the user_id column if it does not exist
|
||||
IF NOT EXISTS (
|
||||
SELECT 1 FROM information_schema.columns
|
||||
WHERE table_name = 'qd_analysis_memory' AND column_name = 'user_id'
|
||||
@@ -92,7 +92,7 @@ class AnalysisMemory:
|
||||
ALTER TABLE qd_analysis_memory ADD COLUMN user_id INT;
|
||||
END IF;
|
||||
|
||||
-- 添加 raw_result 列(如果不存在)
|
||||
-- Add the raw_result column if it does not exist
|
||||
IF NOT EXISTS (
|
||||
SELECT 1 FROM information_schema.columns
|
||||
WHERE table_name = 'qd_analysis_memory' AND column_name = 'raw_result'
|
||||
|
||||
Reference in New Issue
Block a user