pub struct WalletPnlSummaryDto {Show 20 fields
pub avg_profit_per_trade_in_usd: String,
pub buy_amount_in_usd: String,
pub buys: String,
pub losses: String,
pub realized_profit_in_usd: String,
pub realized_profit_ratio: String,
pub resolution: WalletPnlSummaryDtoResolution,
pub sell_amount_in_usd: String,
pub sells: String,
pub tokens: String,
pub total_cost_in_usd: String,
pub total_profit_in_usd: String,
pub total_profit_ratio: String,
pub total_trades: String,
pub unrealized_profit_in_usd: String,
pub unrealized_profit_ratio: String,
pub updated_at: Option<String>,
pub wallet_address: String,
pub win_rate: String,
pub wins: String,
}Expand description
WalletPnlSummaryDto
JSON schema
{
"type": "object",
"required": [
"avgProfitPerTradeInUsd",
"buyAmountInUsd",
"buys",
"losses",
"realizedProfitInUsd",
"realizedProfitRatio",
"resolution",
"sellAmountInUsd",
"sells",
"tokens",
"totalCostInUsd",
"totalProfitInUsd",
"totalProfitRatio",
"totalTrades",
"unrealizedProfitInUsd",
"unrealizedProfitRatio",
"walletAddress",
"winRate",
"wins"
],
"properties": {
"avgProfitPerTradeInUsd": {
"description": "DTO.WALLET.PNL_SUMMARY.AVG_PROFIT_PER_TRADE_IN_USD",
"examples": [
"402.86"
],
"type": "string"
},
"buyAmountInUsd": {
"description": "DTO.WALLET.PNL_SUMMARY.BUY_AMOUNT_IN_USD",
"examples": [
"101371192.39"
],
"type": "string"
},
"buys": {
"description": "DTO.WALLET.PNL_SUMMARY.BUYS",
"examples": [
"1515999"
],
"type": "string"
},
"losses": {
"description": "DTO.WALLET.PNL_SUMMARY.LOSSES",
"examples": [
"348350"
],
"type": "string"
},
"realizedProfitInUsd": {
"description": "DTO.WALLET.PNL_SUMMARY.REALIZED_PROFIT_IN_USD",
"examples": [
"802583.91"
],
"type": "string"
},
"realizedProfitRatio": {
"description": "DTO.WALLET.PNL_SUMMARY.REALIZED_PROFIT_RATIO",
"examples": [
"0.0035521324"
],
"type": "string"
},
"resolution": {
"description": "DTO.WALLET.PNL_SUMMARY.RESOLUTION",
"examples": [
"1d"
],
"type": "string",
"enum": [
"1d",
"7d",
"30d",
"all"
]
},
"sellAmountInUsd": {
"description": "DTO.WALLET.PNL_SUMMARY.SELL_AMOUNT_IN_USD",
"examples": [
"60369621.10"
],
"type": "string"
},
"sells": {
"description": "DTO.WALLET.PNL_SUMMARY.SELLS",
"examples": [
"1011994"
],
"type": "string"
},
"tokens": {
"description": "DTO.WALLET.PNL_SUMMARY.TOKENS",
"examples": [
"15126"
],
"type": "string"
},
"totalCostInUsd": {
"description": "DTO.WALLET.PNL_SUMMARY.TOTAL_COST_IN_USD",
"examples": [
"225944253.64"
],
"type": "string"
},
"totalProfitInUsd": {
"description": "DTO.WALLET.PNL_SUMMARY.TOTAL_PROFIT_IN_USD",
"examples": [
"1018427683.08"
],
"type": "string"
},
"totalProfitRatio": {
"description": "DTO.WALLET.PNL_SUMMARY.TOTAL_PROFIT_RATIO",
"examples": [
"4.5074290081"
],
"type": "string"
},
"totalTrades": {
"description": "DTO.WALLET.PNL_SUMMARY.TOTAL_TRADES",
"examples": [
"2527993"
],
"type": "string"
},
"unrealizedProfitInUsd": {
"description": "DTO.WALLET.PNL_SUMMARY.UNREALIZED_PROFIT_IN_USD",
"examples": [
"1017625099.17"
],
"type": "string"
},
"unrealizedProfitRatio": {
"description": "DTO.WALLET.PNL_SUMMARY.UNREALIZED_PROFIT_RATIO",
"examples": [
"4.5038768756"
],
"type": "string"
},
"updatedAt": {
"description": "DTO.WALLET.PNL_SUMMARY.UPDATED_AT",
"examples": [
"2026-02-04T11:42:50.000Z"
],
"type": "string"
},
"walletAddress": {
"description": "DTO.WALLET.PNL_SUMMARY.WALLET_ADDRESS",
"examples": [
"54Pz1e35z9uoFdnxtzjp7xZQoFiofqhdayQWBMN7dsuy"
],
"type": "string"
},
"winRate": {
"description": "DTO.WALLET.PNL_SUMMARY.WIN_RATE",
"examples": [
"0.5575"
],
"type": "string"
},
"wins": {
"description": "DTO.WALLET.PNL_SUMMARY.WINS",
"examples": [
"438944"
],
"type": "string"
}
}
}Fields§
§avg_profit_per_trade_in_usd: StringDTO.WALLET.PNL_SUMMARY.AVG_PROFIT_PER_TRADE_IN_USD
buy_amount_in_usd: StringDTO.WALLET.PNL_SUMMARY.BUY_AMOUNT_IN_USD
buys: StringDTO.WALLET.PNL_SUMMARY.BUYS
losses: StringDTO.WALLET.PNL_SUMMARY.LOSSES
realized_profit_in_usd: StringDTO.WALLET.PNL_SUMMARY.REALIZED_PROFIT_IN_USD
realized_profit_ratio: StringDTO.WALLET.PNL_SUMMARY.REALIZED_PROFIT_RATIO
resolution: WalletPnlSummaryDtoResolutionDTO.WALLET.PNL_SUMMARY.RESOLUTION
sell_amount_in_usd: StringDTO.WALLET.PNL_SUMMARY.SELL_AMOUNT_IN_USD
sells: StringDTO.WALLET.PNL_SUMMARY.SELLS
tokens: StringDTO.WALLET.PNL_SUMMARY.TOKENS
total_cost_in_usd: StringDTO.WALLET.PNL_SUMMARY.TOTAL_COST_IN_USD
total_profit_in_usd: StringDTO.WALLET.PNL_SUMMARY.TOTAL_PROFIT_IN_USD
total_profit_ratio: StringDTO.WALLET.PNL_SUMMARY.TOTAL_PROFIT_RATIO
total_trades: StringDTO.WALLET.PNL_SUMMARY.TOTAL_TRADES
unrealized_profit_in_usd: StringDTO.WALLET.PNL_SUMMARY.UNREALIZED_PROFIT_IN_USD
unrealized_profit_ratio: StringDTO.WALLET.PNL_SUMMARY.UNREALIZED_PROFIT_RATIO
updated_at: Option<String>DTO.WALLET.PNL_SUMMARY.UPDATED_AT
wallet_address: StringDTO.WALLET.PNL_SUMMARY.WALLET_ADDRESS
win_rate: StringDTO.WALLET.PNL_SUMMARY.WIN_RATE
wins: StringDTO.WALLET.PNL_SUMMARY.WINS
Implementations§
Source§impl WalletPnlSummaryDto
impl WalletPnlSummaryDto
pub fn builder() -> WalletPnlSummaryDto
Trait Implementations§
Source§impl Clone for WalletPnlSummaryDto
impl Clone for WalletPnlSummaryDto
Source§fn clone(&self) -> WalletPnlSummaryDto
fn clone(&self) -> WalletPnlSummaryDto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more