sell Iron Butterfly
fun sellIronButterfly(symbol: String, strikes: Triple<Float, Float, Float>, limitPrice: Float, quantity: Int, expiry: ZonedDateTime = OptionsCalendar.nextMonthly(), clientOrderId: String = randomString()): PreviewRequest
Content copied to clipboard
Sell an iron butterfly
Parameters
symbol
The market symbol for the security being bought
strikes
A triple representing the strike prices for the iron butterfly
limitPrice
The highest price at which to sell the iron butterfly
quantity
The number of iron butterflies to sell
expiry
The date the iron butterflies will expire
clientOrderId
A reference ID generated by the developer that is used to ensure that a duplicate order is not being submitted. This reference ID may be any value of 20 or less alphanumeric characters but must be unique within the account. This field does not appear in any API responses.
Sources
jvm source
Link copied to clipboard