pub struct DeribitAccountSummaryExtended {Show 46 fields
pub currency: Ustr,
pub equity: Decimal,
pub balance: Decimal,
pub available_funds: Decimal,
pub margin_balance: Decimal,
pub initial_margin: Option<Decimal>,
pub maintenance_margin: Option<Decimal>,
pub total_pl: Option<Decimal>,
pub session_upl: Option<Decimal>,
pub session_rpl: Option<Decimal>,
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<Decimal>,
pub futures_session_rpl: Option<Decimal>,
pub options_session_upl: Option<Decimal>,
pub options_session_rpl: Option<Decimal>,
pub futures_pl: Option<Decimal>,
pub options_pl: Option<Decimal>,
pub options_delta: Option<Decimal>,
pub options_gamma: Option<Decimal>,
pub options_vega: Option<Decimal>,
pub options_theta: Option<Decimal>,
pub options_value: Option<Decimal>,
pub delta_total: Option<Decimal>,
pub projected_delta_total: Option<Decimal>,
pub projected_initial_margin: Option<Decimal>,
pub projected_maintenance_margin: Option<Decimal>,
pub estimated_liquidation_ratio: Option<Decimal>,
pub available_withdrawal_funds: Option<Decimal>,
pub spot_reserve: Option<Decimal>,
pub fee_balance: Option<Decimal>,
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: DecimalAccount equity (balance + unrealized PnL)
balance: DecimalAccount balance
available_funds: DecimalAvailable funds for trading
margin_balance: DecimalMargin balance (for derivatives)
initial_margin: Option<Decimal>Initial margin (required for current positions)
maintenance_margin: Option<Decimal>Maintenance margin
total_pl: Option<Decimal>Total profit/loss
session_upl: Option<Decimal>Session unrealized profit/loss
session_rpl: Option<Decimal>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<Decimal>Futures session unrealized P&L
futures_session_rpl: Option<Decimal>Futures session realized P&L
options_session_upl: Option<Decimal>Options session unrealized P&L
options_session_rpl: Option<Decimal>Options session realized P&L
futures_pl: Option<Decimal>Futures profit/loss
options_pl: Option<Decimal>Options profit/loss
options_delta: Option<Decimal>Options delta
options_gamma: Option<Decimal>Options gamma
options_vega: Option<Decimal>Options vega
options_theta: Option<Decimal>Options theta
options_value: Option<Decimal>Options value
delta_total: Option<Decimal>Total delta across all positions
projected_delta_total: Option<Decimal>Projected delta total
projected_initial_margin: Option<Decimal>Projected initial margin
projected_maintenance_margin: Option<Decimal>Projected maintenance margin
estimated_liquidation_ratio: Option<Decimal>Estimated liquidation ratio
available_withdrawal_funds: Option<Decimal>Available withdrawal funds
spot_reserve: Option<Decimal>Spot reserve
fee_balance: Option<Decimal>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 · Source§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 UnsafeUnpin for DeribitAccountSummaryExtended
impl UnwindSafe for DeribitAccountSummaryExtended
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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