validate

Validate Strategy

验证策略 family + params 是否合法。

请求示例: {"family": "MA_CROSSOVER", "params": {"fast": 5, "slow": 20}} {"family": "SINGLE_MA", "params": {"ma_n": 20, "buy_frequency": "weekly"}} {"family": "TURTLE_TRADING", "params": {}}

成功响应: {"valid": true, "params": {...}, "errors": [], "warnings": [...]}

失败响应: {"valid": false, "errors": [...], "known_families": [...]}

post/api/v1/validate

Request

  • Base URL: https://api.ticktest.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.ticktest.cn/api/v1/validate
  • Auth: none declared

Request body

familystring required
paramsobject nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.