Struct kraken_client::api::get_trade_balance::GetTradeBalanceResponse[][src]

pub struct GetTradeBalanceResponse {
    pub equivalent_balance: String,
    pub trade_balance: String,
    pub margin: String,
    pub unrealized_net_pnl: String,
    pub cost_basis: String,
    pub valuation: String,
    pub equity: String,
    pub free_margin: String,
    pub margin_level: Option<String>,
}

Fields

equivalent_balance: String

Combined balance of all currencies

trade_balance: String

Combined balance of all equity currencies

margin: String

Margin amount of open positions

unrealized_net_pnl: String

Unrealized net profit/loss of open positions

cost_basis: String

Cost basis of open positions

valuation: String

Current floating valuation of open positions

equity: String

Equity: trade balance + unrealized net profit/loss

free_margin: String

Free margin: Equity - initial margin (maximum margin available to open new positions)

margin_level: Option<String>

Margin level: (equity / initial margin) * 100

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.