Get quote for multi-leg option strategy
Get a quote for a multi-leg option strategy including all legs and combined pricing
| Name | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | - |
Base symbol for the strategy
Option legs for the order.
Leg definition for the strategy.
Flag to determine if the strategy is a debit or credit strategy. If the price is close to $0.00 or the spread is across $0.00, e.g. bid = -$0.10 and ask = $0.20 then UNKNOWN is returned.
DEBIT,CREDIT,UNDECIDEDLegs and their quotes.
Strategy price.
Strategy bid (same value as price).
Strategy ask.
Mark price, average of bid/ask
Name of the strategy.
Strategy expiration date. Null if legs expire on different dates or equity leg is part of strategy.
{
"debitCredit": "DEBIT",
"strategyLegs": [
{
"instrument": {
"symbol": "string",
"baseSymbol": "string",
"type": "CALL",
"strikePrice": "string",
"expirationDate": "2023-11-07"
},
"side": "BUY",
"openCloseIndicator": "OPEN",
"ratioQuantity": 123,
"quote": {
"symbol": "string",
"last": "string",
"bid": "string",
"bidSize": "string",
"ask": "string",
"askSize": "string",
"timestamp": "2023-11-07T05:31:56Z",
"signature": "string",
"collarPercentage": "string",
"buyCollar": "string",
"sellCollar": "string",
"openInterest": 123,
"bidCollar": "string",
"askCollar": "string",
"detail": null,
"tradingHalted": true,
"uptickRule": "TRIGGERED"
}
}
],
"equityQuote": {
"instrument": {
"symbol": "string",
"baseSymbol": "string",
"type": "CALL",
"strikePrice": "string",
"expirationDate": "2023-11-07"
},
"side": "BUY",
"openCloseIndicator": "OPEN",
"ratioQuantity": 123,
"quote": {
"symbol": "string",
"last": "string",
"bid": "string",
"bidSize": "string",
"ask": "string",
"askSize": "string",
"timestamp": "2023-11-07T05:31:56Z",
"signature": "string",
"collarPercentage": "string",
"buyCollar": "string",
"sellCollar": "string",
"openInterest": 123,
"bidCollar": "string",
"askCollar": "string",
"detail": null,
"tradingHalted": true,
"uptickRule": "TRIGGERED"
}
},
"price": "string",
"bid": "string",
"ask": "string",
"mark": "string",
"strategyName": "string",
"expirationDate": "2023-11-07"
}