PreviewOrderResponse

data class PreviewOrderResponse(orderType: OrderType, totalOrderValue: Float?, totalCommission: Float?, orders: List<OrderDetail>, previewIds: List<PreviewId>, marginLevel: MarginLevel?, optionLevel: OptionLevel?, margin: Margin?)

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?)
The type of order being placed

Properties

margin
Link copied to clipboard
val margin: Margin?
Margin Buying Power Details for the user
marginLevel
Link copied to clipboard
val marginLevel: MarginLevel?
The code that designates the applicable margin level
optionLevel
Link copied to clipboard
val optionLevel: OptionLevel?
The code that designates the applicable options level
orders
Link copied to clipboard
val orders: List<OrderDetail>
List of orders
orderType
Link copied to clipboard
val orderType: OrderType
The type of order being placed
previewIds
Link copied to clipboard
val previewIds: List<PreviewId>
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.
totalCommission
Link copied to clipboard
val totalCommission: Float?
The total commission
totalOrderValue
Link copied to clipboard
val totalOrderValue: Float?
The total order value

Sources

jvm source
Link copied to clipboard