XTQuantAI

MIT License
19
  • Apple

create_custom_layout

创建自定义布局,可以指定指标名称、参数名和参数值

Input Schema

NameRequiredDescriptionDefault
codesYes股票代码列表,用逗号分隔,例如 000001.SZ,600519.SH
indicator_nameNo指标名称,例如 ma, macd, kdj 等ma
param_namesNo参数名称,用逗号分隔,例如 n1,n2,n3 或 short,long,midn1,n2,n3
param_valuesNo参数值,用逗号分隔,例如 5,10,205,10,20
periodNo周期,例如 1d, 1m, 5m 等1d

Input Schema (JSON Schema)

{ "properties": { "codes": { "description": "股票代码列表,用逗号分隔,例如 000001.SZ,600519.SH", "type": "string" }, "indicator_name": { "default": "ma", "description": "指标名称,例如 ma, macd, kdj 等", "type": "string" }, "param_names": { "default": "n1,n2,n3", "description": "参数名称,用逗号分隔,例如 n1,n2,n3 或 short,long,mid", "type": "string" }, "param_values": { "default": "5,10,20", "description": "参数值,用逗号分隔,例如 5,10,20", "type": "string" }, "period": { "default": "1d", "description": "周期,例如 1d, 1m, 5m 等", "type": "string" } }, "required": [ "codes" ], "type": "object" }