pub struct DividendAdjustmentTransaction {Show 13 fields
pub id: Option<TransactionID>,
pub time: Option<Timestamp>,
pub user_id: Option<i64>,
pub account_id: Option<AccountID>,
pub batch_id: Option<TransactionID>,
pub request_id: Option<RequestID>,
pub type: Option<TransactionType>,
pub instrument: Option<InstrumentName>,
pub dividend_adjustment: Option<Decimal>,
pub quote_dividend_adjustment: Option<Decimal>,
pub home_conversion_factors: Option<HomeConversionFactors>,
pub account_balance: Option<Decimal>,
pub open_trade_dividend_adjustments: Option<Vec<OpenTradeDividendAdjustment>>,
}Expand description
A DividendAdjustment Transaction is created administratively to pay or collect dividend adjustment mounts to or from an Account.
Fields§
§id: Option<TransactionID>The Transaction’s Identifier.
time: Option<Timestamp>The date/time when the Transaction was created.
user_id: Option<i64>The ID of the user that initiated the creation of the Transaction.
account_id: Option<AccountID>The ID of the Account the Transaction was created for.
batch_id: Option<TransactionID>The ID of the “batch” that the Transaction belongs to. Transactions in the same batch are applied to the Account simultaneously.
request_id: Option<RequestID>The Request ID of the request which generated the transaction.
type: Option<TransactionType>The Type of the Transaction. Always set to “DIVIDEND_ADJUSTMENT” for a DividendAdjustmentTransaction.
instrument: Option<InstrumentName>The name of the instrument for the dividendAdjustment transaction
dividend_adjustment: Option<Decimal>The total dividend adjustment amount paid or collected in the Account’s home currency for the Account as a result of applying the DividendAdjustment Transaction. This is the sum of the dividend adjustments paid/collected for each OpenTradeDividendAdjustment found within the Transaction.
quote_dividend_adjustment: Option<Decimal>The total dividend adjustment amount paid or collected in the Instrument’s quote currency for the Account as a result of applying the DividendAdjustment Transaction. This is the sum of the quote dividend adjustments paid/collected for each OpenTradeDividendAdjustment found within the Transaction.
home_conversion_factors: Option<HomeConversionFactors>The HomeConversionFactors in effect at the time of the DividendAdjustment.
account_balance: Option<Decimal>The Account balance after applying the DividendAdjustment Transaction
open_trade_dividend_adjustments: Option<Vec<OpenTradeDividendAdjustment>>The dividend adjustment payment/collection details for each open Trade, within the Account, for which a dividend adjustment is to be paid or collected.