💵

Profit & Loss API

Features related to profits and losses incurred by the wallet owner in their secondary market trading (excludes profits and losses from mints).
GET
https://api-gate-mg6fwvzq3a-as.a.run.app/api/profit_loss/{token}?wallets={wallets}&include_connected_wallet={bool}
Parameters
Outputs
Parameter
Type
Description
token*
string
API access token
wallets*
string
Wallet address or a list of wallet addresses Note you can input a maximum of 5 wallets per API call. To input a list of wallets, see here:List of Wallets as Input Parameter​
include_connected_wallet
boolean
Whether to incorporate other wallets connected to the Atadia platform by the wallet owner, default False
Field
Description
n_profit_trade_ratio
The number of trading cycles with positive profits divided by the total number of trading cycles since wallets’ creation
max_profit_trade
Max SOL earned from a trading cycle (from buy to sale on the secondary market)