pub struct DeribitAccountSummaryExtended {Show 46 fields
pub currency: Ustr,
pub equity: f64,
pub balance: f64,
pub available_funds: f64,
pub margin_balance: f64,
pub initial_margin: Option<f64>,
pub maintenance_margin: Option<f64>,
pub total_pl: Option<f64>,
pub session_upl: Option<f64>,
pub session_rpl: Option<f64>,
pub portfolio_margining_enabled: Option<bool>,
pub id: Option<i64>,
pub email: Option<String>,
pub username: Option<String>,
pub system_name: Option<String>,
pub account_type: Option<String>,
pub futures_session_upl: Option<f64>,
pub futures_session_rpl: Option<f64>,
pub options_session_upl: Option<f64>,
pub options_session_rpl: Option<f64>,
pub futures_pl: Option<f64>,
pub options_pl: Option<f64>,
pub options_delta: Option<f64>,
pub options_gamma: Option<f64>,
pub options_vega: Option<f64>,
pub options_theta: Option<f64>,
pub options_value: Option<f64>,
pub delta_total: Option<f64>,
pub projected_delta_total: Option<f64>,
pub projected_initial_margin: Option<f64>,
pub projected_maintenance_margin: Option<f64>,
pub estimated_liquidation_ratio: Option<f64>,
pub available_withdrawal_funds: Option<f64>,
pub spot_reserve: Option<f64>,
pub fee_balance: Option<f64>,
pub margin_model: Option<String>,
pub cross_collateral_enabled: Option<bool>,
pub creation_timestamp: Option<i64>,
pub login_enabled: Option<bool>,
pub security_keys_enabled: Option<bool>,
pub mmp_enabled: Option<bool>,
pub interuser_transfers_enabled: Option<bool>,
pub self_trading_reject_mode: Option<String>,
pub self_trading_extended_to_subaccounts: Option<bool>,
pub referrer_id: Option<String>,
pub block_rfq_self_match_prevention: Option<bool>,
}Expand description
Extended account summary with additional account details.
Returned by private/get_account_summary with extended=true.
Contains all fields from DeribitAccountSummary plus account metadata,
position Greeks, detailed margins, and fee structures.
Fields§
§currency: UstrCurrency code (e.g., “BTC”, “ETH”)
equity: f64Account equity (balance + unrealized PnL)
balance: f64Account balance
available_funds: f64Available funds for trading
margin_balance: f64Margin balance (for derivatives)
initial_margin: Option<f64>Initial margin (required for current positions)
maintenance_margin: Option<f64>Maintenance margin
total_pl: Option<f64>Total profit/loss
session_upl: Option<f64>Session unrealized profit/loss
session_rpl: Option<f64>Session realized profit/loss
portfolio_margining_enabled: Option<bool>Portfolio margining enabled
id: Option<i64>Account ID
email: Option<String>Account email
username: Option<String>Account username
system_name: Option<String>System name
account_type: Option<String>Account type (e.g., “main”, “subaccount”)
futures_session_upl: Option<f64>Futures session unrealized P&L
futures_session_rpl: Option<f64>Futures session realized P&L
options_session_upl: Option<f64>Options session unrealized P&L
options_session_rpl: Option<f64>Options session realized P&L
futures_pl: Option<f64>Futures profit/loss
options_pl: Option<f64>Options profit/loss
options_delta: Option<f64>Options delta
options_gamma: Option<f64>Options gamma
options_vega: Option<f64>Options vega
options_theta: Option<f64>Options theta
options_value: Option<f64>Options value
delta_total: Option<f64>Total delta across all positions
projected_delta_total: Option<f64>Projected delta total
projected_initial_margin: Option<f64>Projected initial margin
projected_maintenance_margin: Option<f64>Projected maintenance margin
estimated_liquidation_ratio: Option<f64>Estimated liquidation ratio
available_withdrawal_funds: Option<f64>Available withdrawal funds
spot_reserve: Option<f64>Spot reserve
fee_balance: Option<f64>Fee balance
margin_model: Option<String>Margin model (e.g., “segregated_sm”, “cross_pm”)
cross_collateral_enabled: Option<bool>Cross collateral enabled
creation_timestamp: Option<i64>Account creation timestamp (milliseconds since UNIX epoch)
login_enabled: Option<bool>Whether login is enabled for this account
security_keys_enabled: Option<bool>Whether security keys are enabled
mmp_enabled: Option<bool>Whether MMP (Market Maker Protection) is enabled
interuser_transfers_enabled: Option<bool>Whether inter-user transfers are enabled
self_trading_reject_mode: Option<String>Self-trading reject mode
self_trading_extended_to_subaccounts: Option<bool>Whether self-trading is extended to subaccounts
referrer_id: Option<String>Referrer ID (affiliation program)
block_rfq_self_match_prevention: Option<bool>Block RFQ self match prevention
Trait Implementations§
Source§impl Clone for DeribitAccountSummaryExtended
impl Clone for DeribitAccountSummaryExtended
Source§fn clone(&self) -> DeribitAccountSummaryExtended
fn clone(&self) -> DeribitAccountSummaryExtended
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for DeribitAccountSummaryExtended
impl<'de> Deserialize<'de> for DeribitAccountSummaryExtended
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>,
Auto Trait Implementations§
impl Freeze for DeribitAccountSummaryExtended
impl RefUnwindSafe for DeribitAccountSummaryExtended
impl Send for DeribitAccountSummaryExtended
impl Sync for DeribitAccountSummaryExtended
impl Unpin for DeribitAccountSummaryExtended
impl UnwindSafe for DeribitAccountSummaryExtended
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more