BrokerageOrderResponseObjectDto

data class BrokerageOrderResponseObjectDto(var id: String, var transactionKey: String, var amountQuantityOrValue: BigDecimal, var amountExecuted: BigDecimal, var orderDetails: BrokerageOrderDetailsDto, var amountCurrency: CurrencyDto? = null, var commission: BigDecimal? = null, var fee: BrokerageFeeDto? = null, var limits: BrokerageLimitDto? = null, var securitySymbol: String? = null, var shareRegisterCode: String? = null)

Object that represents a brokerage order.

Parameters

id

Unique identifier of the Portfolio

transactionKey

Unique transaction key to identify the trade order.

amountQuantityOrValue

Includes the value of the order. This can be an amount or a quantity.

  • Quantity in the case of shares
  • Value in the case of monetary amounts
In the case of a value, the amountCurrency field must be filled.

amountExecuted

Amount already executed. Orders that have not yet been executed contain the value 0.

orderDetails
amountCurrency
commission

Commission is a service fee charged by a broker or investment advisor in return for investment advice and/or the processing of the purchase or sale of a security. The broker charges a commission of n % on the transaction.

fee
limits
securitySymbol

Symbol for a security.

shareRegisterCode

Register code of a share. Required for selling.

Constructors

Link copied to clipboard
constructor(id: String, transactionKey: String, amountQuantityOrValue: BigDecimal, amountExecuted: BigDecimal, orderDetails: BrokerageOrderDetailsDto, amountCurrency: CurrencyDto? = null, commission: BigDecimal? = null, fee: BrokerageFeeDto? = null, limits: BrokerageLimitDto? = null, securitySymbol: String? = null, shareRegisterCode: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
@get:DecimalMin(value = "0.0")
var amountExecuted: BigDecimal
Link copied to clipboard
@get:DecimalMin(value = "0.0")
var amountQuantityOrValue: BigDecimal
Link copied to clipboard
Link copied to clipboard
@Valid
var fee: BrokerageFeeDto?
Link copied to clipboard
@get:Size(max = 38)
var id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Size(max = 10)
var securitySymbol: String?
Link copied to clipboard
Link copied to clipboard
@get:Size(max = 40)
var transactionKey: String