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:
@@ -272,13 +272,13 @@ class IndicatorCaller:
|
||||
|
||||
def get_indicator_params(indicator_id: int) -> List[Dict[str, Any]]:
|
||||
"""
|
||||
获取指标的参数声明(供API调用)
|
||||
Get the indicator parameter declarations for API usage
|
||||
|
||||
Args:
|
||||
indicator_id: 指标ID
|
||||
indicator_id: Indicator ID
|
||||
|
||||
Returns:
|
||||
参数声明列表
|
||||
A list of parameter declarations
|
||||
"""
|
||||
try:
|
||||
with get_db_connection() as db:
|
||||
|
||||
Reference in New Issue
Block a user