pub struct ActivityItem {Show 14 fields
pub trade_date: String,
pub transaction_date: Option<String>,
pub settlement_date: Option<String>,
pub description: Option<String>,
pub action: String,
pub symbol: String,
pub symbol_id: u64,
pub quantity: f64,
pub price: f64,
pub gross_amount: f64,
pub commission: f64,
pub net_amount: f64,
pub currency: Option<String>,
pub activity_type: String,
}Expand description
A single account activity (execution, dividend, deposit, etc.).
Fields§
§trade_date: StringISO datetime of the trade (e.g. "2024-10-23T00:00:00.000000-04:00").
transaction_date: Option<String>Date the transaction was recorded (may differ from trade_date).
settlement_date: Option<String>T+1/T+2 settlement date.
description: Option<String>Human-readable description (e.g. "SELL 1 AAPL Jan 17 '25 $200 Put").
action: StringAction type: "Buy", "Sell", "SellShort", "BuyToCover", etc.
symbol: StringTicker symbol for this activity.
symbol_id: u64Questrade internal symbol ID.
quantity: f64Number of shares or contracts involved in the activity.
price: f64Execution price per share or contract.
gross_amount: f64Gross amount before commission. Zero if not provided.
commission: f64Commission charged (typically negative). Zero if not applicable.
net_amount: f64Net cash impact on the account (gross amount + commission).
currency: Option<String>Settlement currency (e.g. "CAD", "USD"). None if not provided.
activity_type: StringActivity category: "Trades", "Dividends", "Deposits", etc.
Trait Implementations§
Source§impl Clone for ActivityItem
impl Clone for ActivityItem
Source§fn clone(&self) -> ActivityItem
fn clone(&self) -> ActivityItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more