Skip to main content

get_realized_pnl

Function get_realized_pnl 

Source
pub async fn get_realized_pnl(
    __arg0: State<AppState>,
    __arg1: Query<RealizedPnlQuery>,
) -> Result<Json<RealizedPnlResponse>, ApiError>
Expand description

Get realized PnL breakdown by symbol for a wallet.