get https://api.syve.ai/v1/wallet-api/latest-performance-per-token
The trading performance of a wallet broken down by each token they traded.
Method: GET
Endpoint: https://api.syve.ai/v1/wallet-api/latest-performance-per-token
Recently Added
This endpoint has been recently added. It's possible for there to still be bugs. If you find any bugs please send us a message in our Discord: https://discord.com/invite/rs5GPAZ7tG
Request Parameters
Name | Type(s) | Description |
---|---|---|
wallet_address | string | The wallet address for which to calculate performance. This is a required parameter. |
Response Fields
Response Field | Type | Description |
---|---|---|
token_address | string | The address of the token traded. |
token_symbol | string | The symbol of the token traded. |
token_name | string | The name of the token traded. |
total.profit | double | The sum of all profits from both completed trades and unrealized gains for the token. |
total.investment | double | The sum of initial investments across all completed (realized) trades for the token. |
total.return | double | The total profit divided by the investment multiplied by 100. |
total.price_sell | double | The average price at which the token was sold. The average is taken over all trades of the token. |
total.price_buy | double | The average price at which the token was bought. The average is taken over all trades of the token. |
realized.profit | double | The sum of all profits from completed trades of a token. |
realized.investment | double | The sum of initial investments across all completed trades of the token. |
realized.return | double | The realized profit of a token divided by the realized investment multiplied by 100. |
realized.price_sell | double | The average price at which the token was sold. The average is taken across all completed (realized) trades. |
realized.price_buy | double | The average price at which the token was bought. The average is taken across all completed (realized) trades. |
realized.amount_token_sold | double | The total quantity of tokens bought across all realized trades of the token. |
unrealized.profit | double | The potential profit that could be realized if the token is sold at the current price. |
unrealized.investment | double | The value of the current holdings of a token. |
unrealized.return | double | The potential return on investment if the token is sold at the current price. |
unrealized.current_price | double | The current price of the token. |
unrealized.current_balance_token | double | The current holdings of a token. |
Live Example
Press Try It to make a request and see what the response looks like. Feel free to try different query parameters.