Preview Order Response
data class PreviewOrderResponse(orderType: OrderType, totalOrderValue: Float?, totalCommission: Float?, orders: List<OrderDetail>, previewIds: List<PreviewId>, marginLevel: MarginLevel?, optionLevel: OptionLevel?, margin: Margin?)
Content copied to clipboard
Parameters
orderType
The type of order being placed
totalOrderValue
The total order value
totalCommission
The total commission
orders
List of orders
previewIds
This parameter is required and must specify the numeric preview ID from the preview and the other parameters of this request must match the parameters of the preview.
marginLevel
The code that designates the applicable margin level
optionLevel
The code that designates the applicable options level
margin
Margin Buying Power Details for the user
Constructors
PreviewOrderResponse
Link copied to clipboard
fun PreviewOrderResponse(orderType: OrderType, totalOrderValue: Float?, totalCommission: Float?, orders: List<OrderDetail>, previewIds: List<PreviewId>, marginLevel: MarginLevel?, optionLevel: OptionLevel?, margin: Margin?)
Content copied to clipboard
The type of order being placed
Properties
marginLevel
Link copied to clipboard
optionLevel
Link copied to clipboard
orders
Link copied to clipboard
previewIds
Link copied to clipboard
totalCommission
Link copied to clipboard
totalOrderValue
Link copied to clipboard
Sources
jvm source
Link copied to clipboard