AlgoRover Research
Discover trading strategies, run historical backtests, and inspect research reports.
사용해야 할까요
품질 및 안전성
발견 사항 (16)
- LOWget_profile에서
- LOWget_strategy에서
- LOWprepare_strategy에서
- LOWprepare_backtest에서
- LOWget_strategy_download에서
- LOWstart_backtest에서
- LOWget_backtest에서
- LOWlist_backtests에서
- LOWcancel_backtest에서
- LOWcancel_backtest에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"algorover-research": {
"url": "https://research.algorover.ai/mcp"
}
}
}원격 엔드포인트
https://research.algorover.ai/mcpstreamable-http할 수 있는 일
도구 목록
도구 (16)
🟢get_profile
读取当前已授权的 AlgoRover 账号资料。
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false,
"title": "ProfileInput"
}출력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"name": {
"type": "string"
},
"email": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢search_strategies(query, filters, sort, cursor, limit, ...)
打开 AlgoRover Research 内嵌策略目录,搜索公开策略并返回精确版本。含连字符的完整策略 slug 精确匹配,普通关键词按相关性搜索。首次目录显式传入会话语言 locale:中文用 zh-CN,英文用 en;用户指定语言时优先采用。后续详情和目录保持相同语言。
입력 스키마
{
"type": "object",
"properties": {
"query": {
"default": "",
"maxLength": 200,
"title": "Query",
"type": "string"
},
"filters": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"title": "Filters",
"type": "object"
},
"sort": {
"default": "relevance",
"enum": [
"relevance",
"published",
"return",
"drawdown",
"sharpe"
],
"title": "Sort",
"type": "string"
},
"cursor": {
"anyOf": [
{
"maxLength": 512,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cursor"
},
"limit": {
"default": 25,
"maximum": 25,
"minimum": 1,
"title": "Limit",
"type": "integer"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
}
},
"$defs": {
"JsonValue": {}
},
"additionalProperties": false,
"title": "SearchInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/SearchResult"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"JsonValue": {},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"SearchResult": {
"additionalProperties": false,
"properties": {
"contract_version": {
"title": "Contract Version",
"type": "string"
},
"strategies": {
"items": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"maxItems": 25,
"title": "Strategies",
"type": "array"
},
"facets": {
"$ref": "#/$defs/JsonValue",
"default": null
},
"candidate_count": {
"title": "Candidate Count",
"type": "integer"
},
"catalog_generation": {
"$ref": "#/$defs/JsonValue",
"default": null
},
"search_snapshot_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Search Snapshot Id"
},
"snapshot_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Snapshot At"
},
"has_more": {
"title": "Has More",
"type": "boolean"
},
"next_cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Next Cursor"
},
"applied_filters": {
"$ref": "#/$defs/JsonValue",
"default": null
},
"unsupported_constraints": {
"$ref": "#/$defs/JsonValue",
"default": null
},
"needs_clarification": {
"$ref": "#/$defs/JsonValue",
"default": null
},
"relaxed_filters": {
"$ref": "#/$defs/JsonValue",
"default": null
},
"no_good_match": {
"$ref": "#/$defs/JsonValue",
"default": null
},
"cloud_backtest_venues": {
"items": {
"type": "string"
},
"title": "Cloud Backtest Venues",
"type": "array"
}
},
"required": [
"contract_version",
"strategies",
"candidate_count",
"has_more"
],
"title": "SearchResult",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[SearchResult]"
}🟢get_strategy(slug, version, locale)
读取公司已发布策略及其现有解析状态、预设和市场。
입력 스키마
{
"type": "object",
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"anyOf": [
{
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Version"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
}
},
"required": [
"slug"
],
"additionalProperties": false,
"title": "StrategyInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/StrategyResult"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"ExecutionDescriptor": {
"additionalProperties": false,
"properties": {
"contract_version": {
"const": "1.0",
"default": "1.0",
"title": "Contract Version",
"type": "string"
},
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"package_bytes": {
"exclusiveMinimum": 0,
"maximum": 20971520,
"title": "Package Bytes",
"type": "integer"
},
"core_version": {
"title": "Core Version",
"type": "string"
},
"engine_version": {
"title": "Engine Version",
"type": "string"
},
"image_digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"title": "Image Digest",
"type": "string"
},
"config_schema": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
{
"contentMediaType": "application/json",
"contentSchema": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"type": "string"
}
],
"title": "Config Schema"
},
"presets": {
"items": {
"$ref": "#/$defs/Preset"
},
"maxItems": 100,
"minItems": 1,
"title": "Presets",
"type": "array"
},
"license": {
"maxLength": 2000,
"minLength": 1,
"title": "License",
"type": "string"
}
},
"required": [
"strategy_ref",
"package_bytes",
"core_version",
"engine_version",
"image_digest",
"config_schema",
"presets",
"license"
],
"title": "ExecutionDescriptor",
"type": "object"
},
"JsonValue": {},
"Market": {
"additionalProperties": false,
"properties": {
"instrument_id": {
"maxLength": 200,
"minLength": 1,
"title": "Instrument Id",
"type": "string"
},
"bar_type": {
"maxLength": 240,
"minLength": 1,
"title": "Bar Type",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"data_type": {
"const": "bars",
"default": "bars",
"title": "Data Type",
"type": "string"
},
"interval_seconds": {
"exclusiveMinimum": 0,
"maximum": 2592000,
"title": "Interval Seconds",
"type": "integer"
}
},
"required": [
"instrument_id",
"bar_type",
"venue",
"interval_seconds"
],
"title": "Market",
"type": "object"
},
"Preset": {
"additionalProperties": false,
"properties": {
"name": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Name",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"configuration": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
{
"contentMediaType": "application/json",
"contentSchema": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"type": "string"
}
],
"title": "Configuration"
},
"configuration_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Configuration Digest",
"type": "string"
},
"markets": {
"items": {
"$ref": "#/$defs/Market"
},
"maxItems": 20,
"minItems": 1,
"title": "Markets",
"type": "array"
},
"schema_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Schema Digest",
"type": "string"
}
},
"required": [
"name",
"venue",
"configuration",
"configuration_digest",
"markets",
"schema_digest"
],
"title": "Preset",
"type": "object"
},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
},
"StrategyResult": {
"additionalProperties": false,
"properties": {
"strategy": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"title": "Strategy",
"type": "object"
},
"default_preset_notes": {
"description": "Research 核对的本版本发布包 default 预设说明;公司原始介绍保留在 strategy 中。",
"items": {
"type": "string"
},
"title": "Default Preset Notes",
"type": "array"
},
"package_license": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Package License"
},
"runnable": {
"title": "Runnable",
"type": "boolean"
},
"descriptor": {
"anyOf": [
{
"$ref": "#/$defs/ExecutionDescriptor"
},
{
"type": "null"
}
]
},
"descriptor_digest": {
"anyOf": [
{
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
{
"type": "null"
}
],
"title": "Descriptor Digest"
},
"runnable_presets": {
"items": {
"$ref": "#/$defs/Preset"
},
"title": "Runnable Presets",
"type": "array"
},
"unavailable_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Unavailable Reason"
},
"preparation_status": {
"default": "ready",
"title": "Preparation Status",
"type": "string"
},
"preparation_failure": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
},
"verified_presets": {
"items": {
"$ref": "#/$defs/Preset"
},
"title": "Verified Presets",
"type": "array"
}
},
"required": [
"strategy",
"runnable",
"descriptor",
"descriptor_digest",
"unavailable_reason"
],
"title": "StrategyResult",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[StrategyResult]"
}⚪prepare_strategy(strategy_ref, locale, retry)
为指定的已发布策略版本安排预设解析,不启动回测。
입력 스키마
{
"type": "object",
"properties": {
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
},
"retry": {
"default": false,
"title": "Retry",
"type": "boolean"
}
},
"required": [
"strategy_ref"
],
"$defs": {
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
}
},
"additionalProperties": false,
"title": "PrepareStrategyInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/StrategyResult"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"ExecutionDescriptor": {
"additionalProperties": false,
"properties": {
"contract_version": {
"const": "1.0",
"default": "1.0",
"title": "Contract Version",
"type": "string"
},
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"package_bytes": {
"exclusiveMinimum": 0,
"maximum": 20971520,
"title": "Package Bytes",
"type": "integer"
},
"core_version": {
"title": "Core Version",
"type": "string"
},
"engine_version": {
"title": "Engine Version",
"type": "string"
},
"image_digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"title": "Image Digest",
"type": "string"
},
"config_schema": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
{
"contentMediaType": "application/json",
"contentSchema": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"type": "string"
}
],
"title": "Config Schema"
},
"presets": {
"items": {
"$ref": "#/$defs/Preset"
},
"maxItems": 100,
"minItems": 1,
"title": "Presets",
"type": "array"
},
"license": {
"maxLength": 2000,
"minLength": 1,
"title": "License",
"type": "string"
}
},
"required": [
"strategy_ref",
"package_bytes",
"core_version",
"engine_version",
"image_digest",
"config_schema",
"presets",
"license"
],
"title": "ExecutionDescriptor",
"type": "object"
},
"JsonValue": {},
"Market": {
"additionalProperties": false,
"properties": {
"instrument_id": {
"maxLength": 200,
"minLength": 1,
"title": "Instrument Id",
"type": "string"
},
"bar_type": {
"maxLength": 240,
"minLength": 1,
"title": "Bar Type",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"data_type": {
"const": "bars",
"default": "bars",
"title": "Data Type",
"type": "string"
},
"interval_seconds": {
"exclusiveMinimum": 0,
"maximum": 2592000,
"title": "Interval Seconds",
"type": "integer"
}
},
"required": [
"instrument_id",
"bar_type",
"venue",
"interval_seconds"
],
"title": "Market",
"type": "object"
},
"Preset": {
"additionalProperties": false,
"properties": {
"name": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Name",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"configuration": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
{
"contentMediaType": "application/json",
"contentSchema": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"type": "string"
}
],
"title": "Configuration"
},
"configuration_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Configuration Digest",
"type": "string"
},
"markets": {
"items": {
"$ref": "#/$defs/Market"
},
"maxItems": 20,
"minItems": 1,
"title": "Markets",
"type": "array"
},
"schema_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Schema Digest",
"type": "string"
}
},
"required": [
"name",
"venue",
"configuration",
"configuration_digest",
"markets",
"schema_digest"
],
"title": "Preset",
"type": "object"
},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
},
"StrategyResult": {
"additionalProperties": false,
"properties": {
"strategy": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"title": "Strategy",
"type": "object"
},
"default_preset_notes": {
"description": "Research 核对的本版本发布包 default 预设说明;公司原始介绍保留在 strategy 中。",
"items": {
"type": "string"
},
"title": "Default Preset Notes",
"type": "array"
},
"package_license": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Package License"
},
"runnable": {
"title": "Runnable",
"type": "boolean"
},
"descriptor": {
"anyOf": [
{
"$ref": "#/$defs/ExecutionDescriptor"
},
{
"type": "null"
}
]
},
"descriptor_digest": {
"anyOf": [
{
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
{
"type": "null"
}
],
"title": "Descriptor Digest"
},
"runnable_presets": {
"items": {
"$ref": "#/$defs/Preset"
},
"title": "Runnable Presets",
"type": "array"
},
"unavailable_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Unavailable Reason"
},
"preparation_status": {
"default": "ready",
"title": "Preparation Status",
"type": "string"
},
"preparation_failure": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
},
"verified_presets": {
"items": {
"$ref": "#/$defs/Preset"
},
"title": "Verified Presets",
"type": "array"
}
},
"required": [
"strategy",
"runnable",
"descriptor",
"descriptor_digest",
"unavailable_reason"
],
"title": "StrategyResult",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[StrategyResult]"
}🟢prepare_backtest(strategy_ref, preset, venue, days, locale)
准备固定版本、预设和历史窗口,返回预览;不创建回测。
입력 스키마
{
"type": "object",
"properties": {
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"preset": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Preset",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"days": {
"enum": [
90,
365
],
"title": "Days",
"type": "integer"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
}
},
"required": [
"strategy_ref",
"preset",
"venue",
"days"
],
"$defs": {
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
}
},
"additionalProperties": false,
"title": "PrepareInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/Preparation"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"JsonValue": {},
"Market": {
"additionalProperties": false,
"properties": {
"instrument_id": {
"maxLength": 200,
"minLength": 1,
"title": "Instrument Id",
"type": "string"
},
"bar_type": {
"maxLength": 240,
"minLength": 1,
"title": "Bar Type",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"data_type": {
"const": "bars",
"default": "bars",
"title": "Data Type",
"type": "string"
},
"interval_seconds": {
"exclusiveMinimum": 0,
"maximum": 2592000,
"title": "Interval Seconds",
"type": "integer"
}
},
"required": [
"instrument_id",
"bar_type",
"venue",
"interval_seconds"
],
"title": "Market",
"type": "object"
},
"Preparation": {
"additionalProperties": false,
"properties": {
"prepared_input": {
"$ref": "#/$defs/PreparedInput"
},
"preparation_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Preparation Digest",
"type": "string"
},
"issued_at": {
"format": "date-time",
"title": "Issued At",
"type": "string"
},
"expires_at": {
"format": "date-time",
"title": "Expires At",
"type": "string"
},
"preparation_ticket": {
"title": "Preparation Ticket",
"type": "string"
},
"request_key": {
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
"title": "Request Key",
"type": "string"
},
"maximum_bars": {
"title": "Maximum Bars",
"type": "integer"
}
},
"required": [
"prepared_input",
"preparation_digest",
"issued_at",
"expires_at",
"preparation_ticket",
"request_key",
"maximum_bars"
],
"title": "Preparation",
"type": "object"
},
"PreparedInput": {
"additionalProperties": false,
"properties": {
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"preset": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Preset",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"days": {
"enum": [
90,
365
],
"title": "Days",
"type": "integer"
},
"start": {
"format": "date-time",
"title": "Start",
"type": "string"
},
"end": {
"format": "date-time",
"title": "End",
"type": "string"
},
"descriptor_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Descriptor Digest",
"type": "string"
},
"configuration_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Configuration Digest",
"type": "string"
},
"schema_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Schema Digest",
"type": "string"
},
"configuration": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
{
"contentMediaType": "application/json",
"contentSchema": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"type": "string"
}
],
"title": "Configuration"
},
"markets": {
"items": {
"$ref": "#/$defs/Market"
},
"maxItems": 20,
"minItems": 1,
"title": "Markets",
"type": "array"
},
"image_digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"title": "Image Digest",
"type": "string"
}
},
"required": [
"strategy_ref",
"preset",
"venue",
"days",
"start",
"end",
"descriptor_digest",
"configuration_digest",
"schema_digest",
"configuration",
"markets",
"image_digest"
],
"title": "PreparedInput",
"type": "object"
},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[Preparation]"
}🟢get_strategy_download(strategy_ref, locale)
取得确定版本的公开策略下载信息;不安装或执行文件。
입력 스키마
{
"type": "object",
"properties": {
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
}
},
"required": [
"strategy_ref"
],
"$defs": {
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
}
},
"additionalProperties": false,
"title": "StrategyDownloadInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/Download"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"Download": {
"additionalProperties": false,
"properties": {
"url": {
"title": "Url",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"content_type": {
"title": "Content Type",
"type": "string"
},
"bytes": {
"title": "Bytes",
"type": "integer"
},
"sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Sha256",
"type": "string"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expires At"
},
"warnings": {
"items": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"url",
"filename",
"content_type",
"bytes",
"sha256"
],
"title": "Download",
"type": "object"
},
"JsonValue": {},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[Download]"
}⚪start_backtest(locale, prepared_input, preparation_ticket, idempotency_key)
创建个人远端历史回测任务,返回任务标识。
입력 스키마
{
"type": "object",
"properties": {
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
},
"prepared_input": {
"$ref": "#/$defs/PreparedInput"
},
"preparation_ticket": {
"maxLength": 8192,
"minLength": 20,
"title": "Preparation Ticket",
"type": "string"
},
"idempotency_key": {
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
"title": "Idempotency Key",
"type": "string"
}
},
"required": [
"prepared_input",
"preparation_ticket",
"idempotency_key"
],
"$defs": {
"JsonValue": {},
"Market": {
"additionalProperties": false,
"properties": {
"instrument_id": {
"maxLength": 200,
"minLength": 1,
"title": "Instrument Id",
"type": "string"
},
"bar_type": {
"maxLength": 240,
"minLength": 1,
"title": "Bar Type",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"data_type": {
"const": "bars",
"default": "bars",
"title": "Data Type",
"type": "string"
},
"interval_seconds": {
"exclusiveMinimum": 0,
"maximum": 2592000,
"title": "Interval Seconds",
"type": "integer"
}
},
"required": [
"instrument_id",
"bar_type",
"venue",
"interval_seconds"
],
"title": "Market",
"type": "object"
},
"PreparedInput": {
"additionalProperties": false,
"properties": {
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"preset": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Preset",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"days": {
"enum": [
90,
365
],
"title": "Days",
"type": "integer"
},
"start": {
"format": "date-time",
"title": "Start",
"type": "string"
},
"end": {
"format": "date-time",
"title": "End",
"type": "string"
},
"descriptor_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Descriptor Digest",
"type": "string"
},
"configuration_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Configuration Digest",
"type": "string"
},
"schema_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Schema Digest",
"type": "string"
},
"configuration": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
{
"contentMediaType": "application/json",
"contentSchema": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"type": "string"
}
],
"title": "Configuration"
},
"markets": {
"items": {
"$ref": "#/$defs/Market"
},
"maxItems": 20,
"minItems": 1,
"title": "Markets",
"type": "array"
},
"image_digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"title": "Image Digest",
"type": "string"
}
},
"required": [
"strategy_ref",
"preset",
"venue",
"days",
"start",
"end",
"descriptor_digest",
"configuration_digest",
"schema_digest",
"configuration",
"markets",
"image_digest"
],
"title": "PreparedInput",
"type": "object"
},
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
}
},
"additionalProperties": false,
"title": "StartInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/JobView"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"JobInputSummary": {
"additionalProperties": false,
"properties": {
"preset": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Preset",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"start": {
"format": "date-time",
"title": "Start",
"type": "string"
},
"end": {
"format": "date-time",
"title": "End",
"type": "string"
},
"markets": {
"items": {
"$ref": "#/$defs/Market"
},
"maxItems": 20,
"minItems": 1,
"title": "Markets",
"type": "array"
},
"configuration_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Configuration Digest",
"type": "string"
}
},
"required": [
"preset",
"venue",
"start",
"end",
"markets",
"configuration_digest"
],
"title": "JobInputSummary",
"type": "object"
},
"JobState": {
"enum": [
"queued",
"preparing",
"running",
"publishing",
"succeeded",
"failed",
"cancelled"
],
"title": "JobState",
"type": "string"
},
"JobView": {
"additionalProperties": false,
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"status": {
"$ref": "#/$defs/JobState"
},
"revision": {
"title": "Revision",
"type": "integer"
},
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"input_summary": {
"anyOf": [
{
"$ref": "#/$defs/JobInputSummary"
},
{
"type": "null"
}
],
"default": null
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Started At"
},
"finished_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Finished At"
},
"cancel_requested": {
"title": "Cancel Requested",
"type": "boolean"
},
"next_poll_after_ms": {
"title": "Next Poll After Ms",
"type": "integer"
},
"result_available": {
"title": "Result Available",
"type": "boolean"
},
"allowed_actions": {
"items": {
"enum": [
"cancel",
"view_result",
"delete_result"
],
"type": "string"
},
"title": "Allowed Actions",
"type": "array"
},
"retention_until": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Retention Until"
},
"failure": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
},
"web_url": {
"title": "Web Url",
"type": "string"
}
},
"required": [
"id",
"status",
"revision",
"strategy_ref",
"created_at",
"cancel_requested",
"next_poll_after_ms",
"result_available",
"web_url"
],
"title": "JobView",
"type": "object"
},
"Market": {
"additionalProperties": false,
"properties": {
"instrument_id": {
"maxLength": 200,
"minLength": 1,
"title": "Instrument Id",
"type": "string"
},
"bar_type": {
"maxLength": 240,
"minLength": 1,
"title": "Bar Type",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"data_type": {
"const": "bars",
"default": "bars",
"title": "Data Type",
"type": "string"
},
"interval_seconds": {
"exclusiveMinimum": 0,
"maximum": 2592000,
"title": "Interval Seconds",
"type": "integer"
}
},
"required": [
"instrument_id",
"bar_type",
"venue",
"interval_seconds"
],
"title": "Market",
"type": "object"
},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[JobView]"
}🟢get_backtest(backtest_id, locale)
查询本人回测任务的状态、错误和保留期限。
입력 스키마
{
"type": "object",
"properties": {
"backtest_id": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Backtest Id",
"type": "string"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
}
},
"required": [
"backtest_id"
],
"additionalProperties": false,
"title": "JobInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/JobView"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"JobInputSummary": {
"additionalProperties": false,
"properties": {
"preset": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Preset",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"start": {
"format": "date-time",
"title": "Start",
"type": "string"
},
"end": {
"format": "date-time",
"title": "End",
"type": "string"
},
"markets": {
"items": {
"$ref": "#/$defs/Market"
},
"maxItems": 20,
"minItems": 1,
"title": "Markets",
"type": "array"
},
"configuration_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Configuration Digest",
"type": "string"
}
},
"required": [
"preset",
"venue",
"start",
"end",
"markets",
"configuration_digest"
],
"title": "JobInputSummary",
"type": "object"
},
"JobState": {
"enum": [
"queued",
"preparing",
"running",
"publishing",
"succeeded",
"failed",
"cancelled"
],
"title": "JobState",
"type": "string"
},
"JobView": {
"additionalProperties": false,
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"status": {
"$ref": "#/$defs/JobState"
},
"revision": {
"title": "Revision",
"type": "integer"
},
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"input_summary": {
"anyOf": [
{
"$ref": "#/$defs/JobInputSummary"
},
{
"type": "null"
}
],
"default": null
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Started At"
},
"finished_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Finished At"
},
"cancel_requested": {
"title": "Cancel Requested",
"type": "boolean"
},
"next_poll_after_ms": {
"title": "Next Poll After Ms",
"type": "integer"
},
"result_available": {
"title": "Result Available",
"type": "boolean"
},
"allowed_actions": {
"items": {
"enum": [
"cancel",
"view_result",
"delete_result"
],
"type": "string"
},
"title": "Allowed Actions",
"type": "array"
},
"retention_until": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Retention Until"
},
"failure": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
},
"web_url": {
"title": "Web Url",
"type": "string"
}
},
"required": [
"id",
"status",
"revision",
"strategy_ref",
"created_at",
"cancel_requested",
"next_poll_after_ms",
"result_available",
"web_url"
],
"title": "JobView",
"type": "object"
},
"Market": {
"additionalProperties": false,
"properties": {
"instrument_id": {
"maxLength": 200,
"minLength": 1,
"title": "Instrument Id",
"type": "string"
},
"bar_type": {
"maxLength": 240,
"minLength": 1,
"title": "Bar Type",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"data_type": {
"const": "bars",
"default": "bars",
"title": "Data Type",
"type": "string"
},
"interval_seconds": {
"exclusiveMinimum": 0,
"maximum": 2592000,
"title": "Interval Seconds",
"type": "integer"
}
},
"required": [
"instrument_id",
"bar_type",
"venue",
"interval_seconds"
],
"title": "Market",
"type": "object"
},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[JobView]"
}🟢list_backtests(locale, status, cursor, limit)
分页列出本人的历史回测任务。
입력 스키마
{
"type": "object",
"properties": {
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
},
"status": {
"anyOf": [
{
"$ref": "#/$defs/JobState"
},
{
"type": "null"
}
],
"default": null
},
"cursor": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cursor"
},
"limit": {
"default": 25,
"maximum": 50,
"minimum": 1,
"title": "Limit",
"type": "integer"
}
},
"$defs": {
"JobState": {
"enum": [
"queued",
"preparing",
"running",
"publishing",
"succeeded",
"failed",
"cancelled"
],
"title": "JobState",
"type": "string"
}
},
"additionalProperties": false,
"title": "ListJobsInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/JobsResult"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"JobInputSummary": {
"additionalProperties": false,
"properties": {
"preset": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Preset",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"start": {
"format": "date-time",
"title": "Start",
"type": "string"
},
"end": {
"format": "date-time",
"title": "End",
"type": "string"
},
"markets": {
"items": {
"$ref": "#/$defs/Market"
},
"maxItems": 20,
"minItems": 1,
"title": "Markets",
"type": "array"
},
"configuration_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Configuration Digest",
"type": "string"
}
},
"required": [
"preset",
"venue",
"start",
"end",
"markets",
"configuration_digest"
],
"title": "JobInputSummary",
"type": "object"
},
"JobState": {
"enum": [
"queued",
"preparing",
"running",
"publishing",
"succeeded",
"failed",
"cancelled"
],
"title": "JobState",
"type": "string"
},
"JobView": {
"additionalProperties": false,
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"status": {
"$ref": "#/$defs/JobState"
},
"revision": {
"title": "Revision",
"type": "integer"
},
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"input_summary": {
"anyOf": [
{
"$ref": "#/$defs/JobInputSummary"
},
{
"type": "null"
}
],
"default": null
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Started At"
},
"finished_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Finished At"
},
"cancel_requested": {
"title": "Cancel Requested",
"type": "boolean"
},
"next_poll_after_ms": {
"title": "Next Poll After Ms",
"type": "integer"
},
"result_available": {
"title": "Result Available",
"type": "boolean"
},
"allowed_actions": {
"items": {
"enum": [
"cancel",
"view_result",
"delete_result"
],
"type": "string"
},
"title": "Allowed Actions",
"type": "array"
},
"retention_until": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Retention Until"
},
"failure": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
},
"web_url": {
"title": "Web Url",
"type": "string"
}
},
"required": [
"id",
"status",
"revision",
"strategy_ref",
"created_at",
"cancel_requested",
"next_poll_after_ms",
"result_available",
"web_url"
],
"title": "JobView",
"type": "object"
},
"JobsResult": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"$ref": "#/$defs/JobView"
},
"maxItems": 50,
"title": "Items",
"type": "array"
},
"next_cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Next Cursor"
}
},
"required": [
"items"
],
"title": "JobsResult",
"type": "object"
},
"Market": {
"additionalProperties": false,
"properties": {
"instrument_id": {
"maxLength": 200,
"minLength": 1,
"title": "Instrument Id",
"type": "string"
},
"bar_type": {
"maxLength": 240,
"minLength": 1,
"title": "Bar Type",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"data_type": {
"const": "bars",
"default": "bars",
"title": "Data Type",
"type": "string"
},
"interval_seconds": {
"exclusiveMinimum": 0,
"maximum": 2592000,
"title": "Interval Seconds",
"type": "integer"
}
},
"required": [
"instrument_id",
"bar_type",
"venue",
"interval_seconds"
],
"title": "Market",
"type": "object"
},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[JobsResult]"
}🔴cancel_backtest(backtest_id, locale)
请求取消本人回测。
입력 스키마
{
"type": "object",
"properties": {
"backtest_id": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Backtest Id",
"type": "string"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
}
},
"required": [
"backtest_id"
],
"additionalProperties": false,
"title": "JobInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/JobView"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"JobInputSummary": {
"additionalProperties": false,
"properties": {
"preset": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Preset",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"start": {
"format": "date-time",
"title": "Start",
"type": "string"
},
"end": {
"format": "date-time",
"title": "End",
"type": "string"
},
"markets": {
"items": {
"$ref": "#/$defs/Market"
},
"maxItems": 20,
"minItems": 1,
"title": "Markets",
"type": "array"
},
"configuration_digest": {
"pattern": "^[a-f0-9]{64}$",
"title": "Configuration Digest",
"type": "string"
}
},
"required": [
"preset",
"venue",
"start",
"end",
"markets",
"configuration_digest"
],
"title": "JobInputSummary",
"type": "object"
},
"JobState": {
"enum": [
"queued",
"preparing",
"running",
"publishing",
"succeeded",
"failed",
"cancelled"
],
"title": "JobState",
"type": "string"
},
"JobView": {
"additionalProperties": false,
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"status": {
"$ref": "#/$defs/JobState"
},
"revision": {
"title": "Revision",
"type": "integer"
},
"strategy_ref": {
"$ref": "#/$defs/StrategyRef"
},
"input_summary": {
"anyOf": [
{
"$ref": "#/$defs/JobInputSummary"
},
{
"type": "null"
}
],
"default": null
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Started At"
},
"finished_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Finished At"
},
"cancel_requested": {
"title": "Cancel Requested",
"type": "boolean"
},
"next_poll_after_ms": {
"title": "Next Poll After Ms",
"type": "integer"
},
"result_available": {
"title": "Result Available",
"type": "boolean"
},
"allowed_actions": {
"items": {
"enum": [
"cancel",
"view_result",
"delete_result"
],
"type": "string"
},
"title": "Allowed Actions",
"type": "array"
},
"retention_until": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Retention Until"
},
"failure": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
},
"web_url": {
"title": "Web Url",
"type": "string"
}
},
"required": [
"id",
"status",
"revision",
"strategy_ref",
"created_at",
"cancel_requested",
"next_poll_after_ms",
"result_available",
"web_url"
],
"title": "JobView",
"type": "object"
},
"Market": {
"additionalProperties": false,
"properties": {
"instrument_id": {
"maxLength": 200,
"minLength": 1,
"title": "Instrument Id",
"type": "string"
},
"bar_type": {
"maxLength": 240,
"minLength": 1,
"title": "Bar Type",
"type": "string"
},
"venue": {
"pattern": "^[A-Z0-9_]{1,64}$",
"title": "Venue",
"type": "string"
},
"data_type": {
"const": "bars",
"default": "bars",
"title": "Data Type",
"type": "string"
},
"interval_seconds": {
"exclusiveMinimum": 0,
"maximum": 2592000,
"title": "Interval Seconds",
"type": "integer"
}
},
"required": [
"instrument_id",
"bar_type",
"venue",
"interval_seconds"
],
"title": "Market",
"type": "object"
},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"StrategyRef": {
"additionalProperties": false,
"properties": {
"slug": {
"maxLength": 128,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"title": "Slug",
"type": "string"
},
"version": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9.!+_-]{0,63}$",
"title": "Version",
"type": "string"
},
"package_sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Package Sha256",
"type": "string"
}
},
"required": [
"slug",
"version",
"package_sha256"
],
"title": "StrategyRef",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[JobView]"
}🟢get_backtest_result(backtest_id, locale, equity_max_points)
读取本人已完成回测的真实指标、有限曲线和复现信息。
입력 스키마
{
"type": "object",
"properties": {
"backtest_id": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Backtest Id",
"type": "string"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
},
"equity_max_points": {
"default": 512,
"maximum": 1024,
"minimum": 2,
"title": "Equity Max Points",
"type": "integer"
}
},
"required": [
"backtest_id"
],
"additionalProperties": false,
"title": "ResultInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/BacktestResult"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"BacktestResult": {
"additionalProperties": false,
"properties": {
"metrics": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"title": "Metrics",
"type": "object"
},
"equity": {
"items": {
"$ref": "#/$defs/EquityPoint"
},
"maxItems": 1024,
"title": "Equity",
"type": "array"
},
"equity_source_points": {
"title": "Equity Source Points",
"type": "integer"
},
"trade_count": {
"title": "Trade Count",
"type": "integer"
},
"provenance": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"title": "Provenance",
"type": "object"
},
"assumptions": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"title": "Assumptions",
"type": "object"
},
"warnings": {
"items": {
"$ref": "#/$defs/JsonValue"
},
"title": "Warnings",
"type": "array"
},
"display": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"title": "Display",
"type": "object"
}
},
"required": [
"metrics",
"equity",
"equity_source_points",
"trade_count",
"provenance",
"assumptions",
"warnings",
"display"
],
"title": "BacktestResult",
"type": "object"
},
"EquityPoint": {
"additionalProperties": false,
"properties": {
"timestamp": {
"title": "Timestamp",
"type": "string"
},
"equity": {
"title": "Equity",
"type": "number"
},
"drawdown_pct": {
"title": "Drawdown Pct",
"type": "number"
}
},
"required": [
"timestamp",
"equity",
"drawdown_pct"
],
"title": "EquityPoint",
"type": "object"
},
"JsonValue": {},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[BacktestResult]"
}🟢list_backtest_trades(backtest_id, locale, cursor, limit)
分页读取本人已完成回测的成交明细。
입력 스키마
{
"type": "object",
"properties": {
"backtest_id": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Backtest Id",
"type": "string"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
},
"cursor": {
"anyOf": [
{
"maxLength": 4096,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cursor"
},
"limit": {
"default": 100,
"maximum": 100,
"minimum": 1,
"title": "Limit",
"type": "integer"
}
},
"required": [
"backtest_id"
],
"additionalProperties": false,
"title": "TradeInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/TradesResult"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"JsonValue": {},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"TradesResult": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"maxItems": 100,
"title": "Items",
"type": "array"
},
"next_cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Next Cursor"
},
"total": {
"minimum": 0,
"title": "Total",
"type": "integer"
},
"offset": {
"minimum": 0,
"title": "Offset",
"type": "integer"
}
},
"required": [
"items",
"total",
"offset"
],
"title": "TradesResult",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[TradesResult]"
}🟢get_backtest_report_download(backtest_id, locale, artifact_kind)
为本人已存在的报告文件生成短期下载地址。
입력 스키마
{
"type": "object",
"properties": {
"backtest_id": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Backtest Id",
"type": "string"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
},
"artifact_kind": {
"$ref": "#/$defs/ReportKind",
"default": "report_bundle"
}
},
"required": [
"backtest_id"
],
"$defs": {
"ReportKind": {
"enum": [
"report_bundle",
"metrics_json",
"trades_csv",
"equity_png",
"configuration_json"
],
"title": "ReportKind",
"type": "string"
}
},
"additionalProperties": false,
"title": "ReportInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/Download"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"Download": {
"additionalProperties": false,
"properties": {
"url": {
"title": "Url",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"content_type": {
"title": "Content Type",
"type": "string"
},
"bytes": {
"title": "Bytes",
"type": "integer"
},
"sha256": {
"pattern": "^[a-f0-9]{64}$",
"title": "Sha256",
"type": "string"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expires At"
},
"warnings": {
"items": {
"additionalProperties": {
"$ref": "#/$defs/JsonValue"
},
"type": "object"
},
"title": "Warnings",
"type": "array"
}
},
"required": [
"url",
"filename",
"content_type",
"bytes",
"sha256"
],
"title": "Download",
"type": "object"
},
"JsonValue": {},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[Download]"
}🔴delete_backtest_result(backtest_id, locale)
删除本人终态回测结果并撤销文件访问。
입력 스키마
{
"type": "object",
"properties": {
"backtest_id": {
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"title": "Backtest Id",
"type": "string"
},
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
}
},
"required": [
"backtest_id"
],
"additionalProperties": false,
"title": "JobInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/DeletionResult"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"DeletionResult": {
"additionalProperties": false,
"properties": {
"deletion_id": {
"title": "Deletion Id",
"type": "string"
},
"status": {
"enum": [
"accepted",
"deleting",
"deleted"
],
"title": "Status",
"type": "string"
},
"online_deletion_deadline": {
"format": "date-time",
"title": "Online Deletion Deadline",
"type": "string"
}
},
"required": [
"deletion_id",
"status",
"online_deletion_deadline"
],
"title": "DeletionResult",
"type": "object"
},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[DeletionResult]"
}🟢get_research_usage(locale)
查询本人的运行中和排队任务数量。
입력 스키마
{
"type": "object",
"properties": {
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
}
},
"additionalProperties": false,
"title": "EmptyInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/UsageResult"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
},
"UsageResult": {
"additionalProperties": false,
"properties": {
"active": {
"title": "Active",
"type": "integer"
},
"queued": {
"title": "Queued",
"type": "integer"
}
},
"required": [
"active",
"queued"
],
"title": "UsageResult",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[UsageResult]"
}🔴delete_research_data(locale, confirmation)
仅在用户明确要求时永久删除个人研究数据并撤销当前授权。删除期间暂停访问;完成后可使用同一账号重新登录授权,开始新的研究,旧数据不会恢复。
입력 스키마
{
"type": "object",
"properties": {
"locale": {
"default": "en",
"enum": [
"en",
"zh-CN"
],
"title": "Locale",
"type": "string"
},
"confirmation": {
"const": "delete-my-research-data",
"title": "Confirmation",
"type": "string"
}
},
"required": [
"confirmation"
],
"additionalProperties": false,
"title": "DeleteDataInput"
}출력 스키마
{
"type": "object",
"properties": {
"schema_version": {
"const": "2.0",
"default": "2.0",
"title": "Schema Version",
"type": "string"
},
"data": {
"anyOf": [
{
"$ref": "#/$defs/DeletionResult"
},
{
"type": "null"
}
],
"default": null
},
"error": {
"anyOf": [
{
"$ref": "#/$defs/Problem"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [],
"$defs": {
"DeletionResult": {
"additionalProperties": false,
"properties": {
"deletion_id": {
"title": "Deletion Id",
"type": "string"
},
"status": {
"enum": [
"accepted",
"deleting",
"deleted"
],
"title": "Status",
"type": "string"
},
"online_deletion_deadline": {
"format": "date-time",
"title": "Online Deletion Deadline",
"type": "string"
}
},
"required": [
"deletion_id",
"status",
"online_deletion_deadline"
],
"title": "DeletionResult",
"type": "object"
},
"Problem": {
"additionalProperties": false,
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
},
"retryable": {
"default": false,
"title": "Retryable",
"type": "boolean"
},
"retry_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retry After Seconds"
},
"field_errors": {
"additionalProperties": {
"type": "string"
},
"title": "Field Errors",
"type": "object"
}
},
"required": [
"code",
"message"
],
"title": "Problem",
"type": "object"
}
},
"additionalProperties": false,
"title": "Envelope[DeletionResult]"
}커뮤니티
증거