pub struct DailyFinancingTransaction {
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 financing: Option<Decimal>,
pub account_balance: Option<Decimal>,
pub account_financing_mode: Option<AccountFinancingMode>,
pub position_financings: Option<Vec<PositionFinancing>>,
}Expand description
A DailyFinancingTransaction represents the daily payment/collection of financing for 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 “DAILY_FINANCING” for a DailyFinancingTransaction.
financing: Option<Decimal>The amount of financing paid/collected for the Account.
account_balance: Option<Decimal>The Account’s balance after daily financing.
account_financing_mode: Option<AccountFinancingMode>The account financing mode at the time of the daily financing. This field is no longer in use moving forward and was replaced by accountFinancingMode in individual positionFinancings since the financing mode could differ between instruments. Deprecated: Will be removed in a future API update.
position_financings: Option<Vec<PositionFinancing>>The financing paid/collected for each Position in the Account.