# Trades

## One trade in full (swaps, transfers, entry/exit, PnL)

`stalkchain_fomo_trade_detail` · **250 credits**

> Ask: *"Show the fills behind this trade id."*

Break down one single trade in full — what actually happened inside this position. Takes a tradeId. The individual swaps and transfers behind a position, avgEntryPrice/avgExitPrice, realizedPnlUsd, isDev, timestamps; live answers (source='live') add current price, liquidity, status and the trader's thesis + likes. tradeIds come from positions, spotlight, alerts (tradeId field) and devs. 250 credits. Use swaps[].humanUsdAmountIn to get the TRUE size of a buy (alert usdValue on a buy is the whole position mark, not the fill).

| Input | Type | Required | Description |
|---|---|---|---|
| `tradeId` | string | yes |  |
| `trader` | string | no | Handle or userId of the trader (alerts carry userId). Enables a fallback: if the provider's trade endpoint times out, the position row and its fills are assembled from /positions and /swaps instead. |

REST: `POST /api/v1/tools/stalkchain_fomo_trade_detail` with the inputs as a JSON body, or `GET /api/v1/tools/stalkchain_fomo_trade_detail?…`.

## Thesis thread (comments) on one trade

`stalkchain_fomo_trade_comments` · **250 credits**

> Ask: *"Read the thread on this trade."*

What did people say in the replies on this trade — the comment thread under one trade. Takes a tradeId. Every comment: every comment: text, author userId (resolve with stalkchain_fomo_resolve_trader if needed), likes, parentId/isReply (rebuild the thread), olderThesisCount/newerThesisCount (did the trader change their mind), links. 250 credits.

| Input | Type | Required | Description |
|---|---|---|---|
| `tradeId` | string | yes |  |
| `limit` | integer | no |  |

REST: `POST /api/v1/tools/stalkchain_fomo_trade_comments` with the inputs as a JSON body, or `GET /api/v1/tools/stalkchain_fomo_trade_comments?…`.
