pub struct PredictionWalletPnlSummary {Show 43 fields
pub avg_entry_count: String,
pub avg_holding_seconds: String,
pub avg_initial_cost: String,
pub best_trade_condition_id: String,
pub best_trade_market_question: String,
pub best_trade_outcome: String,
pub best_trade_pnl: String,
pub best_trade_pnl_share: String,
pub best_trade_token_id: String,
pub current_value: String,
pub last_activity_ts: String,
pub loss_count: i64,
pub market_count: i64,
pub open_position_count: i64,
pub profit_factor: String,
pub realized_pnl: String,
pub settlement_ratio: String,
pub settlement_win_rate: String,
pub seven_day_activity_count: i64,
pub seven_day_market_count: i64,
pub seven_day_realized_pnl: String,
pub seven_day_volume: String,
pub state_quality: String,
pub today_realized_pnl: String,
pub today_volume: String,
pub token_count: i64,
pub tag: Option<String>,
pub total_buy_amount: String,
pub total_pnl: String,
pub total_pnl_ratio: String,
pub total_redeem_amount: String,
pub total_sell_amount: String,
pub total_volume: String,
pub unrealized_pnl: String,
pub wallet: String,
pub win_count: i64,
pub win_rate: String,
pub worst_trade_condition_id: String,
pub worst_trade_market_question: String,
pub worst_trade_outcome: String,
pub worst_trade_pnl: String,
pub worst_trade_pnl_share: String,
pub worst_trade_token_id: String,
}Expand description
PredictionWalletPnlSummary
JSON schema
{
"type": "object",
"required": [
"avgEntryCount",
"avgHoldingSeconds",
"avgInitialCost",
"bestTradeConditionId",
"bestTradeMarketQuestion",
"bestTradeOutcome",
"bestTradePnl",
"bestTradePnlShare",
"bestTradeTokenId",
"currentValue",
"lastActivityTs",
"lossCount",
"marketCount",
"openPositionCount",
"profitFactor",
"realizedPnl",
"settlementRatio",
"settlementWinRate",
"sevenDayActivityCount",
"sevenDayMarketCount",
"sevenDayRealizedPnl",
"sevenDayVolume",
"stateQuality",
"todayRealizedPnl",
"todayVolume",
"tokenCount",
"totalBuyAmount",
"totalPnl",
"totalPnlRatio",
"totalRedeemAmount",
"totalSellAmount",
"totalVolume",
"unrealizedPnl",
"wallet",
"winCount",
"winRate",
"worstTradeConditionId",
"worstTradeMarketQuestion",
"worstTradeOutcome",
"worstTradePnl",
"worstTradePnlShare",
"worstTradeTokenId"
],
"properties": {
"avgEntryCount": {
"type": "string"
},
"avgHoldingSeconds": {
"type": "string"
},
"avgInitialCost": {
"type": "string"
},
"bestTradeConditionId": {
"type": "string"
},
"bestTradeMarketQuestion": {
"type": "string"
},
"bestTradeOutcome": {
"type": "string"
},
"bestTradePnl": {
"type": "string"
},
"bestTradePnlShare": {
"type": "string"
},
"bestTradeTokenId": {
"type": "string"
},
"currentValue": {
"type": "string"
},
"lastActivityTs": {
"type": "string"
},
"lossCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"marketCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"openPositionCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"profitFactor": {
"type": "string"
},
"realizedPnl": {
"type": "string"
},
"settlementRatio": {
"type": "string"
},
"settlementWinRate": {
"type": "string"
},
"sevenDayActivityCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"sevenDayMarketCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"sevenDayRealizedPnl": {
"type": "string"
},
"sevenDayVolume": {
"type": "string"
},
"stateQuality": {
"type": "string"
},
"todayRealizedPnl": {
"type": "string"
},
"todayVolume": {
"type": "string"
},
"tokenCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"tag": {
"type": "string"
},
"totalBuyAmount": {
"type": "string"
},
"totalPnl": {
"type": "string"
},
"totalPnlRatio": {
"type": "string"
},
"totalRedeemAmount": {
"type": "string"
},
"totalSellAmount": {
"type": "string"
},
"totalVolume": {
"type": "string"
},
"unrealizedPnl": {
"type": "string"
},
"wallet": {
"type": "string"
},
"winCount": {
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"winRate": {
"type": "string"
},
"worstTradeConditionId": {
"type": "string"
},
"worstTradeMarketQuestion": {
"type": "string"
},
"worstTradeOutcome": {
"type": "string"
},
"worstTradePnl": {
"type": "string"
},
"worstTradePnlShare": {
"type": "string"
},
"worstTradeTokenId": {
"type": "string"
}
}
}Fields§
§avg_entry_count: String§avg_holding_seconds: String§avg_initial_cost: String§best_trade_condition_id: String§best_trade_market_question: String§best_trade_outcome: String§best_trade_pnl: String§best_trade_token_id: String§current_value: String§last_activity_ts: String§loss_count: i64§market_count: i64§open_position_count: i64§profit_factor: String§realized_pnl: String§settlement_ratio: String§settlement_win_rate: String§seven_day_activity_count: i64§seven_day_market_count: i64§seven_day_realized_pnl: String§seven_day_volume: String§state_quality: String§today_realized_pnl: String§today_volume: String§token_count: i64§tag: Option<String>§total_buy_amount: String§total_pnl: String§total_pnl_ratio: String§total_redeem_amount: String§total_sell_amount: String§total_volume: String§unrealized_pnl: String§wallet: String§win_count: i64§win_rate: String§worst_trade_condition_id: String§worst_trade_market_question: String§worst_trade_outcome: String§worst_trade_pnl: String§worst_trade_token_id: StringImplementations§
Source§impl PredictionWalletPnlSummary
impl PredictionWalletPnlSummary
pub fn builder() -> PredictionWalletPnlSummary
Trait Implementations§
Source§impl Clone for PredictionWalletPnlSummary
impl Clone for PredictionWalletPnlSummary
Source§fn clone(&self) -> PredictionWalletPnlSummary
fn clone(&self) -> PredictionWalletPnlSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PredictionWalletPnlSummary
impl Debug for PredictionWalletPnlSummary
Source§impl<'de> Deserialize<'de> for PredictionWalletPnlSummary
impl<'de> Deserialize<'de> for PredictionWalletPnlSummary
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
Source§impl From<&PredictionWalletPnlSummary> for PredictionWalletPnlSummary
impl From<&PredictionWalletPnlSummary> for PredictionWalletPnlSummary
Source§fn from(value: &PredictionWalletPnlSummary) -> Self
fn from(value: &PredictionWalletPnlSummary) -> Self
Converts to this type from the input type.
Source§impl From<PredictionWalletPnlSummary> for PredictionWalletPnlSummary
impl From<PredictionWalletPnlSummary> for PredictionWalletPnlSummary
Source§fn from(value: PredictionWalletPnlSummary) -> Self
fn from(value: PredictionWalletPnlSummary) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PredictionWalletPnlSummary> for PredictionWalletPnlSummary
impl TryFrom<PredictionWalletPnlSummary> for PredictionWalletPnlSummary
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PredictionWalletPnlSummary) -> Result<Self, ConversionError>
fn try_from(value: PredictionWalletPnlSummary) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PredictionWalletPnlSummary
impl RefUnwindSafe for PredictionWalletPnlSummary
impl Send for PredictionWalletPnlSummary
impl Sync for PredictionWalletPnlSummary
impl Unpin for PredictionWalletPnlSummary
impl UnsafeUnpin for PredictionWalletPnlSummary
impl UnwindSafe for PredictionWalletPnlSummary
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