Option Desk
Option analytics over the SYNTH sample or a permitted chain: Greeks, positioning, payoffs, plots.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"optiondesk": {
"url": "https://optiondesk.avidquant.com/mcp"
}
}
}遠端端點
https://optiondesk.avidquant.com/mcpstreamable-http它能做什麼
工具清單
工具(13)
🟢option_desk_status
Check the Option Desk data mode, source, refresh time, and public licence gate before requesting figures. No live feed or hosted backtest tool exists, even with uploaded history. Do not offer hosted backtests.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "option_desk_statusArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "option_desk_statusDictOutput"
}🟢option_snapshot_schema
Return the accepted CSV and JSON option-chain fields, safe repair rules, size limits, data-rights confirmation, and retention policy.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "option_snapshot_schemaArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "option_snapshot_schemaDictOutput"
}🟢option_chain_snapshot(symbol, source_text, source_data, source_format, data_source, ...)
Summarize SYNTH or analyze a user-supplied option chain for private analysis. This service never fetches market data.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"default": "SYNTH",
"title": "Symbol",
"type": "string"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"title": "option_chain_snapshotArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "option_chain_snapshotDictOutput"
}🟢option_positioning(symbol, source_text, source_data, source_format, data_source, ...)
Return gamma walls, gamma flip, and max pain from SYNTH or a user-supplied chain. Dealer signs are an assumption, not observed positions.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"default": "SYNTH",
"title": "Symbol",
"type": "string"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"title": "option_positioningArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "option_positioningDictOutput"
}🟢option_plots(symbol, plot, source_text, source_data, source_format, ...)
Render opaque PNG plots in the conversation. The SYNTH sample offers the market plot (dealer gamma exposure, open interest, volume and the smile by strike), the Greek ladder, and the structure comparison. Each is computed from the sample's own engine artifacts; there is no simulation or backtest for SYNTH because the hosted service has no price history.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"default": "SYNTH",
"title": "Symbol",
"type": "string"
},
"plot": {
"default": "all",
"enum": [
"all",
"market",
"greeks",
"strategy_comparison"
],
"title": "Plot",
"type": "string"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"title": "option_plotsArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"underlying": {
"description": "Underlying shown by the plots.",
"title": "Underlying",
"type": "string"
},
"data_source": {
"description": "Named source used for the figures.",
"title": "Data Source",
"type": "string"
},
"data_mode": {
"description": "Whether the figures are synthetic or user supplied.",
"enum": [
"synthetic_demo",
"user_supplied",
"unavailable"
],
"title": "Data Mode",
"type": "string"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Option expiry, when available.",
"title": "Expiry"
},
"captured_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Snapshot or fixture timestamp, when available.",
"title": "Captured At"
},
"plot_types": {
"description": "Plot names in the same order as the image content.",
"items": {
"type": "string"
},
"title": "Plot Types",
"type": "array"
},
"image_count": {
"description": "Number of returned PNG images.",
"title": "Image Count",
"type": "integer"
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Requested strategy for a payoff plot, when applicable.",
"title": "Strategy"
},
"expiry_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Set when the requested expiry is not the one the figures are for.",
"title": "Expiry Note"
},
"images": {
"description": "The returned images, for the inline plot app.",
"items": {
"$ref": "#/$defs/PlotImage"
},
"title": "Images",
"type": "array"
},
"warning": {
"description": "Data and financial-risk warning.",
"title": "Warning",
"type": "string"
},
"strategy_records": {
"description": "Exact plotted engine records. Use these for tables; do not infer values from images.",
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Strategy Records",
"type": "array"
},
"units": {
"additionalProperties": true,
"title": "Units",
"type": "object"
},
"diagnostics": {
"additionalProperties": true,
"title": "Diagnostics",
"type": "object"
}
},
"required": [
"underlying",
"data_source",
"data_mode",
"expiry",
"captured_at",
"plot_types",
"image_count",
"strategy",
"warning"
],
"$defs": {
"PlotImage": {
"description": "One PNG carried inside the structured result for the plot app.\n\nThe image content blocks still carry the same bytes for clients that\nshow them directly. The app resource reads this copy, because a host\nhands an app the structured content and not the content blocks.",
"properties": {
"name": {
"description": "Plot name, matching plot_types.",
"title": "Name",
"type": "string"
},
"mime_type": {
"const": "image/png",
"description": "Always image/png.",
"title": "Mime Type",
"type": "string"
},
"data": {
"description": "The PNG bytes, base64 encoded.",
"title": "Data",
"type": "string"
}
},
"required": [
"name",
"mime_type",
"data"
],
"title": "PlotImage",
"type": "object"
}
},
"description": "Structured metadata returned with an inline plot result.",
"title": "PlotResult"
}🟢option_strategy_plot(symbol, strategy, source_text, source_data, source_format, ...)
Show an option-strategy payoff as an opaque PNG in the conversation. Any structure in the engine playbook can be built on the SYNTH sample chain. A market ticker requires user-supplied chain data. Do not start a localhost dashboard.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"default": "SYNTH",
"title": "Symbol",
"type": "string"
},
"strategy": {
"default": "iron_condor",
"title": "Strategy",
"type": "string"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"title": "option_strategy_plotArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"underlying": {
"description": "Underlying shown by the plots.",
"title": "Underlying",
"type": "string"
},
"data_source": {
"description": "Named source used for the figures.",
"title": "Data Source",
"type": "string"
},
"data_mode": {
"description": "Whether the figures are synthetic or user supplied.",
"enum": [
"synthetic_demo",
"user_supplied",
"unavailable"
],
"title": "Data Mode",
"type": "string"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Option expiry, when available.",
"title": "Expiry"
},
"captured_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Snapshot or fixture timestamp, when available.",
"title": "Captured At"
},
"plot_types": {
"description": "Plot names in the same order as the image content.",
"items": {
"type": "string"
},
"title": "Plot Types",
"type": "array"
},
"image_count": {
"description": "Number of returned PNG images.",
"title": "Image Count",
"type": "integer"
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Requested strategy for a payoff plot, when applicable.",
"title": "Strategy"
},
"expiry_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Set when the requested expiry is not the one the figures are for.",
"title": "Expiry Note"
},
"images": {
"description": "The returned images, for the inline plot app.",
"items": {
"$ref": "#/$defs/PlotImage"
},
"title": "Images",
"type": "array"
},
"warning": {
"description": "Data and financial-risk warning.",
"title": "Warning",
"type": "string"
},
"strategy_records": {
"description": "Exact plotted engine records. Use these for tables; do not infer values from images.",
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Strategy Records",
"type": "array"
},
"units": {
"additionalProperties": true,
"title": "Units",
"type": "object"
},
"diagnostics": {
"additionalProperties": true,
"title": "Diagnostics",
"type": "object"
}
},
"required": [
"underlying",
"data_source",
"data_mode",
"expiry",
"captured_at",
"plot_types",
"image_count",
"strategy",
"warning"
],
"$defs": {
"PlotImage": {
"description": "One PNG carried inside the structured result for the plot app.\n\nThe image content blocks still carry the same bytes for clients that\nshow them directly. The app resource reads this copy, because a host\nhands an app the structured content and not the content blocks.",
"properties": {
"name": {
"description": "Plot name, matching plot_types.",
"title": "Name",
"type": "string"
},
"mime_type": {
"const": "image/png",
"description": "Always image/png.",
"title": "Mime Type",
"type": "string"
},
"data": {
"description": "The PNG bytes, base64 encoded.",
"title": "Data",
"type": "string"
}
},
"required": [
"name",
"mime_type",
"data"
],
"title": "PlotImage",
"type": "object"
}
},
"description": "Structured metadata returned with an inline plot result.",
"title": "PlotResult"
}🟢option_report_plots(symbol, strategies, source_text, source_data, source_format, ...)
Return the market map, Greek ladder, strategy comparison and up to three requested payoff charts in ONE widget. Prefer this tool for multi-chart reports instead of parallel individual plot calls. Includes strategy_records, Greek units, scenarios and cost assumptions. Use those records for tables; never invent currency or a multiplier. Uses SYNTH or a user-supplied chain; never fetches live data.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"default": "SYNTH",
"title": "Symbol",
"type": "string"
},
"strategies": {
"default": [
"iron_condor",
"bull_put_spread",
"straddle"
],
"items": {
"type": "string"
},
"maxItems": 3,
"title": "Strategies",
"type": "array"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"title": "option_report_plotsArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"underlying": {
"description": "Underlying shown by the plots.",
"title": "Underlying",
"type": "string"
},
"data_source": {
"description": "Named source used for the figures.",
"title": "Data Source",
"type": "string"
},
"data_mode": {
"description": "Whether the figures are synthetic or user supplied.",
"enum": [
"synthetic_demo",
"user_supplied",
"unavailable"
],
"title": "Data Mode",
"type": "string"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Option expiry, when available.",
"title": "Expiry"
},
"captured_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Snapshot or fixture timestamp, when available.",
"title": "Captured At"
},
"plot_types": {
"description": "Plot names in the same order as the image content.",
"items": {
"type": "string"
},
"title": "Plot Types",
"type": "array"
},
"image_count": {
"description": "Number of returned PNG images.",
"title": "Image Count",
"type": "integer"
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Requested strategy for a payoff plot, when applicable.",
"title": "Strategy"
},
"expiry_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Set when the requested expiry is not the one the figures are for.",
"title": "Expiry Note"
},
"images": {
"description": "The returned images, for the inline plot app.",
"items": {
"$ref": "#/$defs/PlotImage"
},
"title": "Images",
"type": "array"
},
"warning": {
"description": "Data and financial-risk warning.",
"title": "Warning",
"type": "string"
},
"strategy_records": {
"description": "Exact plotted engine records. Use these for tables; do not infer values from images.",
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Strategy Records",
"type": "array"
},
"units": {
"additionalProperties": true,
"title": "Units",
"type": "object"
},
"diagnostics": {
"additionalProperties": true,
"title": "Diagnostics",
"type": "object"
}
},
"required": [
"underlying",
"data_source",
"data_mode",
"expiry",
"captured_at",
"plot_types",
"image_count",
"strategy",
"warning"
],
"$defs": {
"PlotImage": {
"description": "One PNG carried inside the structured result for the plot app.\n\nThe image content blocks still carry the same bytes for clients that\nshow them directly. The app resource reads this copy, because a host\nhands an app the structured content and not the content blocks.",
"properties": {
"name": {
"description": "Plot name, matching plot_types.",
"title": "Name",
"type": "string"
},
"mime_type": {
"const": "image/png",
"description": "Always image/png.",
"title": "Mime Type",
"type": "string"
},
"data": {
"description": "The PNG bytes, base64 encoded.",
"title": "Data",
"type": "string"
}
},
"required": [
"name",
"mime_type",
"data"
],
"title": "PlotImage",
"type": "object"
}
},
"description": "Structured metadata returned with an inline plot result.",
"title": "PlotResult"
}🟡option_private_dashboard(symbol, source_text, source_data, source_format, data_source, ...)
Create a private interactive dashboard from user-supplied data. The bearer URL and all derived artifacts expire after one hour.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"retention_confirmed": {
"default": false,
"title": "Retention Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"required": [
"symbol"
],
"title": "option_private_dashboardArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "option_private_dashboardDictOutput"
}🟢option_validate_snapshot(symbol, source_text, source_data, source_format, data_source, ...)
Validate and safely normalize a user-supplied option-chain snapshot. Return corrections and a summary. Delete all temporary files before the response.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"required": [
"symbol"
],
"title": "option_validate_snapshotArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "option_validate_snapshotDictOutput"
}🔴option_import_snapshot(symbol, source_text, source_data, source_format, data_source, ...)
Import user-supplied option-chain data into a bearer-private interactive dashboard. Delete the artifacts after one hour.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"retention_confirmed": {
"default": false,
"title": "Retention Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"required": [
"symbol"
],
"title": "option_import_snapshotArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "option_import_snapshotDictOutput"
}🟢option_plots_from_snapshot(symbol, source_text, source_data, source_format, data_source, ...)
Create opaque market and Greek PNG images from a user-supplied snapshot. Stamp source, capture time, expiry, and warnings on every image. Delete temporary files before the response.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"required": [
"symbol"
],
"title": "option_plots_from_snapshotArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"underlying": {
"description": "Underlying shown by the plots.",
"title": "Underlying",
"type": "string"
},
"data_source": {
"description": "Named source used for the figures.",
"title": "Data Source",
"type": "string"
},
"data_mode": {
"description": "Whether the figures are synthetic or user supplied.",
"enum": [
"synthetic_demo",
"user_supplied",
"unavailable"
],
"title": "Data Mode",
"type": "string"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Option expiry, when available.",
"title": "Expiry"
},
"captured_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Snapshot or fixture timestamp, when available.",
"title": "Captured At"
},
"plot_types": {
"description": "Plot names in the same order as the image content.",
"items": {
"type": "string"
},
"title": "Plot Types",
"type": "array"
},
"image_count": {
"description": "Number of returned PNG images.",
"title": "Image Count",
"type": "integer"
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Requested strategy for a payoff plot, when applicable.",
"title": "Strategy"
},
"expiry_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Set when the requested expiry is not the one the figures are for.",
"title": "Expiry Note"
},
"images": {
"description": "The returned images, for the inline plot app.",
"items": {
"$ref": "#/$defs/PlotImage"
},
"title": "Images",
"type": "array"
},
"warning": {
"description": "Data and financial-risk warning.",
"title": "Warning",
"type": "string"
},
"strategy_records": {
"description": "Exact plotted engine records. Use these for tables; do not infer values from images.",
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Strategy Records",
"type": "array"
},
"units": {
"additionalProperties": true,
"title": "Units",
"type": "object"
},
"diagnostics": {
"additionalProperties": true,
"title": "Diagnostics",
"type": "object"
}
},
"required": [
"underlying",
"data_source",
"data_mode",
"expiry",
"captured_at",
"plot_types",
"image_count",
"strategy",
"warning"
],
"$defs": {
"PlotImage": {
"description": "One PNG carried inside the structured result for the plot app.\n\nThe image content blocks still carry the same bytes for clients that\nshow them directly. The app resource reads this copy, because a host\nhands an app the structured content and not the content blocks.",
"properties": {
"name": {
"description": "Plot name, matching plot_types.",
"title": "Name",
"type": "string"
},
"mime_type": {
"const": "image/png",
"description": "Always image/png.",
"title": "Mime Type",
"type": "string"
},
"data": {
"description": "The PNG bytes, base64 encoded.",
"title": "Data",
"type": "string"
}
},
"required": [
"name",
"mime_type",
"data"
],
"title": "PlotImage",
"type": "object"
}
},
"description": "Structured metadata returned with an inline plot result.",
"title": "PlotResult"
}🟢option_strategy_from_snapshot(symbol, strategy, source_text, source_data, source_format, ...)
Build one option structure from a user-supplied chain and return its opaque payoff PNG with permanent source and risk warnings.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"title": "Symbol",
"type": "string"
},
"strategy": {
"default": "iron_condor",
"title": "Strategy",
"type": "string"
},
"source_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Text"
},
"source_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Data"
},
"source_format": {
"anyOf": [
{
"enum": [
"csv",
"json"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Source Format"
},
"data_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Data Source"
},
"rights_confirmed": {
"default": false,
"title": "Rights Confirmed",
"type": "boolean"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expiry"
},
"rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Rate"
},
"dividend_yield": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Dividend Yield"
}
},
"required": [
"symbol"
],
"title": "option_strategy_from_snapshotArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"underlying": {
"description": "Underlying shown by the plots.",
"title": "Underlying",
"type": "string"
},
"data_source": {
"description": "Named source used for the figures.",
"title": "Data Source",
"type": "string"
},
"data_mode": {
"description": "Whether the figures are synthetic or user supplied.",
"enum": [
"synthetic_demo",
"user_supplied",
"unavailable"
],
"title": "Data Mode",
"type": "string"
},
"expiry": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Option expiry, when available.",
"title": "Expiry"
},
"captured_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Snapshot or fixture timestamp, when available.",
"title": "Captured At"
},
"plot_types": {
"description": "Plot names in the same order as the image content.",
"items": {
"type": "string"
},
"title": "Plot Types",
"type": "array"
},
"image_count": {
"description": "Number of returned PNG images.",
"title": "Image Count",
"type": "integer"
},
"strategy": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Requested strategy for a payoff plot, when applicable.",
"title": "Strategy"
},
"expiry_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Set when the requested expiry is not the one the figures are for.",
"title": "Expiry Note"
},
"images": {
"description": "The returned images, for the inline plot app.",
"items": {
"$ref": "#/$defs/PlotImage"
},
"title": "Images",
"type": "array"
},
"warning": {
"description": "Data and financial-risk warning.",
"title": "Warning",
"type": "string"
},
"strategy_records": {
"description": "Exact plotted engine records. Use these for tables; do not infer values from images.",
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Strategy Records",
"type": "array"
},
"units": {
"additionalProperties": true,
"title": "Units",
"type": "object"
},
"diagnostics": {
"additionalProperties": true,
"title": "Diagnostics",
"type": "object"
}
},
"required": [
"underlying",
"data_source",
"data_mode",
"expiry",
"captured_at",
"plot_types",
"image_count",
"strategy",
"warning"
],
"$defs": {
"PlotImage": {
"description": "One PNG carried inside the structured result for the plot app.\n\nThe image content blocks still carry the same bytes for clients that\nshow them directly. The app resource reads this copy, because a host\nhands an app the structured content and not the content blocks.",
"properties": {
"name": {
"description": "Plot name, matching plot_types.",
"title": "Name",
"type": "string"
},
"mime_type": {
"const": "image/png",
"description": "Always image/png.",
"title": "Mime Type",
"type": "string"
},
"data": {
"description": "The PNG bytes, base64 encoded.",
"title": "Data",
"type": "string"
}
},
"required": [
"name",
"mime_type",
"data"
],
"title": "PlotImage",
"type": "object"
}
},
"description": "Structured metadata returned with an inline plot result.",
"title": "PlotResult"
}🔴option_delete_snapshot(token)
Delete one short-lived imported dashboard before its automatic one-hour expiry.
輸入結構描述
{
"type": "object",
"properties": {
"token": {
"title": "Token",
"type": "string"
}
},
"required": [
"token"
],
"title": "option_delete_snapshotArguments"
}輸出結構描述
{
"type": "object",
"additionalProperties": true,
"title": "option_delete_snapshotDictOutput"
}社群
證據