Skip to main content

get_historical_pnl

Function get_historical_pnl 

Source
pub async fn get_historical_pnl(
    __arg0: State<AppState>,
    __arg1: Query<HistoricalPnlQuery>,
) -> Result<SonicJson<ApiResponse<HistoricalPnlResponse>>, StatusCode>
Expand description

Get historical equity snapshots for a wallet.