pub struct TradeHistoryEntry {Show 27 fields
pub dhan_client_id: Option<String>,
pub order_id: Option<String>,
pub exchange_order_id: Option<String>,
pub exchange_trade_id: Option<String>,
pub transaction_type: Option<String>,
pub exchange_segment: Option<String>,
pub product_type: Option<String>,
pub order_type: Option<String>,
pub trading_symbol: Option<String>,
pub custom_symbol: Option<String>,
pub security_id: Option<String>,
pub traded_quantity: Option<i64>,
pub traded_price: Option<f64>,
pub isin: Option<String>,
pub instrument: Option<String>,
pub sebi_tax: Option<f64>,
pub stt: Option<f64>,
pub brokerage_charges: Option<f64>,
pub service_tax: Option<f64>,
pub exchange_transaction_charges: Option<f64>,
pub stamp_duty: Option<f64>,
pub create_time: Option<String>,
pub update_time: Option<String>,
pub exchange_time: Option<String>,
pub drv_expiry_date: Option<String>,
pub drv_option_type: Option<String>,
pub drv_strike_price: Option<f64>,
}Expand description
A single historical trade entry.
Returned by GET /v2/trades/{from-date}/{to-date}/{page}.
Fields§
§dhan_client_id: Option<String>§order_id: Option<String>§exchange_order_id: Option<String>§exchange_trade_id: Option<String>§transaction_type: Option<String>§exchange_segment: Option<String>§product_type: Option<String>§order_type: Option<String>§trading_symbol: Option<String>§custom_symbol: Option<String>§security_id: Option<String>§traded_quantity: Option<i64>§traded_price: Option<f64>§isin: Option<String>§instrument: Option<String>§sebi_tax: Option<f64>§stt: Option<f64>§brokerage_charges: Option<f64>§service_tax: Option<f64>§exchange_transaction_charges: Option<f64>§stamp_duty: Option<f64>§create_time: Option<String>§update_time: Option<String>§exchange_time: Option<String>§drv_expiry_date: Option<String>§drv_option_type: Option<String>§drv_strike_price: Option<f64>Trait Implementations§
Source§impl Clone for TradeHistoryEntry
impl Clone for TradeHistoryEntry
Source§fn clone(&self) -> TradeHistoryEntry
fn clone(&self) -> TradeHistoryEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TradeHistoryEntry
impl Debug for TradeHistoryEntry
Source§impl<'de> Deserialize<'de> for TradeHistoryEntry
impl<'de> Deserialize<'de> for TradeHistoryEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TradeHistoryEntry
impl RefUnwindSafe for TradeHistoryEntry
impl Send for TradeHistoryEntry
impl Sync for TradeHistoryEntry
impl Unpin for TradeHistoryEntry
impl UnsafeUnpin for TradeHistoryEntry
impl UnwindSafe for TradeHistoryEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more