option_credit_spread
Place a credit spread order by selling a short option and buying a long option to receive a net credit. Specify option IDs, quantity, and credit price.
Instructions
Places a credit spread order (sell short option, buy long option).
Args:
short_instrument_id: The option instrument ID to sell (short leg)
long_instrument_id: The option instrument ID to buy (long leg)
quantity: The number of spread contracts
credit_price: The net credit received per spread
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"short_instrument_id": "<short_instrument_id>",
"long_instrument_id": "<long_instrument_id>",
"quantity": "<quantity>",
"credit_price": "<credit_price>"
},
"name": "option_credit_spread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| short_instrument_id | Yes | ||
| long_instrument_id | Yes | ||
| quantity | Yes | ||
| credit_price | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||