PreviewOrderResponse

fun 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

Sources

jvm source
Link copied to clipboard