PositionLot

fun PositionLot(positionId: Int?, positionLotId: Int?, price: Float?, termCode: Int?, daysGain: Float?, daysGainPct: Float?, marketValue: Float?, totalCost: Float?, totalCostForGainPct: Float?, totalGain: Float?, lotSourceCode: Int?, originalQty: Float?, remainingQty: Float?, availableQty: Float?, orderNo: Int?, legNo: Int?, acquiredDate: Int?, locationCode: Int?, exchangeRate: Float?, settlementCurrency: String?, paymentCurrency: String?, adjPrice: Float?, commPerShare: Float?, feesPerShare: Float?, premiumAdj: Float?, shortType: Int?)

Parameters

positionId

The position ID

positionLotId

The position lot ID

price

The position lot price

termCode

The term code

daysGain

The days gain

daysGainPct

The days gain percentage

marketValue

The market value

totalCost

The total cost

totalCostForGainPct

The total cost for the percentage gain

totalGain

The total gain

lotSourceCode

The lot source code

originalQty

The original quantity

remainingQty

The remaining quantity

availableQty

The available quantity

orderNo

The order number

legNo

The leg number

acquiredDate

The date acquired

locationCode

The location code

exchangeRate

The exchange rate

settlementCurrency

The settlement currency

paymentCurrency

The payment currency

adjPrice

The adjusted price

commPerShare

The commissions per share

feesPerShare

The fees per share

premiumAdj

The adjusted premium

shortType

The short type

Sources

jvm source
Link copied to clipboard