MultiLegOrderLegPriceLegResponse
The values for a single order leg in a multi-leg order (options strategy).
-
Name |
Type |
Description |
Amount
|
Number |
Sum volume of positions in instrument.
|
AssetType
|
AssetType |
AssetType.
|
BuySell
|
BuySell |
Is the instrument to be bought or sold?
|
Greeks
|
Greeks |
Greeks - only available for options
|
InstrumentPriceDetails
|
InstrumentPriceDetails |
Instrument Specific Price Details. Contents vary by AssetType
|
LegId
|
String |
Unique identifer for this leg.
|
PutCall
|
PutCall |
Direction of an option
|
Quote
|
Quote |
The quote data.
|
ToOpenClose
|
ToOpenClose |
Margin impact of leg calculated as to open/increase or close/decrease a position.
|
Uic
|
Integer |
Instrument identifer for this leg.
|
Example
{
"Amount": 10,
"AssetType": "WarrantOpenEndKnockOut",
"BuySell": "Buy",
"Greeks": {
"Delta": 1,
"Gamma": 0,
"MidVol": 0,
"Phi": 0,
"Rho": 0,
"Theta": -0.0375,
"Vega": 0
},
"InstrumentPriceDetails": {
"AverageVolume": 12345000,
"Barrier": 1,
"ExpiryDate": "2017-06-01T00:00:00+00:00",
"IsMarketOpen": true,
"LowerBarrier": -2,
"MidForwardPrice": 1.71992423552514,
"ShortTradeDisabled": false,
"SpotAsk": 1.71782,
"SpotBid": 1.71692,
"SpotDate": "2017-06-03T00:00:00+00:00",
"SpreadStrikePriceLower": 11,
"SpreadStrikePriceUpper": 12,
"StrikePrice": 1.7175,
"UpperBarrier": 4,
"ValueDate": "2017-06-05T00:00:00+00:00"
},
"LegId": "stringValue",
"PutCall": "Put",
"Quote": {
"Amount": 100000,
"Ask": 1.0899,
"Bid": 1.0897,
"DelayedByMinutes": 15,
"ErrorCode": "None",
"Mid": 1.0898,
"PriceTypeAsk": "Indicative",
"PriceTypeBid": "Indicative"
},
"ToOpenClose": "Undefined",
"Uic": 99
}