Profit and Loss (Goal Level) (Multiple goals)

The following table describes the parameters for this API:

NameDataTypeDescription Mandatory Sample ValueNo. of decimalsNotes 
balanceUnitHoldingnumberNumber of units held by the user per fundY22256562This is taken from `/pnl-calculators/funds` Field name: balanceUnitHolding
avgPurchasePricenumberAverage purchase price of the product per fundY1.258This is taken from `/pnl-calculators/funds`.Field name: purchasePrice
profitAndLossAmtnumberProfit or loss incurred by the user per fundY-152457.4 ,152457.42Values can either be negative or positive, indicating profit achieved or Loss incurred.This is taken from `/pnl-calculators/funds`. Field Name: transactionValue

The following table describes the outputs for this API:

NameDataTypeDescription Sample ValueNo. of decimals
pnlNumber Overall unrealized profit or loss of the goal in $-29527833.21892
pnlPercentageNumber Overall unrealized profit or loss of the goal in %-0.075464566925192886
Language
Authorization
Bearer
Click Try It! to start a request and see the response here!