> For the complete documentation index, see [llms.txt](https://hydromancer.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hydromancer.xyz/docs/builder-guides/copytrading-and-social-trading.md). Agents can also search and read this documentation through its [MCP server](https://hydromancer.xyz/docs/~gitbook/mcp).

# Copytrading and social trading

Find traders worth following, show their track record, and track their positions and fills.

Copytrading and social trading apps usually need to:

* find high-signal traders to show your users
* show each trader's track record
* track the live positions and orders of the traders your users follow
* monitor the fills and orders of your own users

#### Finding high-signal traders

One of the potential ways to find high-signal traders on Hyperliquid is to use the [perpSnapshots](https://hydromancer.xyz/docs/rest-api/market-data/perpsnapshot.md) endpoint to find large positions on any market. These could be presented to your users later.

You can also rank traders by realized PnL, win rate or volume with [userPnlLeaderboard](https://hydromancer.xyz/docs/rest-api/user-performance/userpnlleaderboard.md), and show a trader's track record with [userPnlSummary](https://hydromancer.xyz/docs/rest-api/user-performance/userpnlsummary.md) and [userCompletedTrades](https://hydromancer.xyz/docs/rest-api/user-performance/usercompletedtrades.md).

#### Tracking live positioning and orders

After your users have found and followed a set of initial traders, you would be able to get positioning updates from all these accounts by calling [batchClearinghouseStates](https://hydromancer.xyz/docs/rest-api/user-position-data/batchclearinghousestates.md) (set `dex` to `"ALL_DEXES"` to include HIP-3 positions). You can also subscribe to multiple users' orders through the [userOrderUpdates](https://hydromancer.xyz/docs/websocket/user-data/userorderupdates.md) websocket.

#### Monitoring the fills and order updates of your users

You can monitor all fills of your users by subscribing to the [builderFills](https://hydromancer.xyz/docs/websocket/builder-data/builderfills.md) websocket. Alternatively, you can query the [builderFillsByTime](https://hydromancer.xyz/docs/rest-api/historical-data/builderfillsbytime.md) API to get all fills done through your builder code.\
\
Subscribing to [builderOrderUpdates](https://hydromancer.xyz/docs/websocket/builder-data/builderorderupdates.md) will allow you to monitor your users' addresses by tracking all orders of users utilizing your builder code.
