Copytrading and social trading

Copytrading and social trading apps usually require:

  • finding high-signal traders to show to your users

  • tracking live positioning and order updates of interesting accounts

  • monitoring the fills and order updates of your copytraders

Finding high-signal traders

One of the potential ways to find high-signal traders on Hyperliquid is to use perpSnapshotendpoint to find large positions on any market. These could be presented to your users later.

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. You can also subscribe to multiple users' orders through userOrderUpdateswebsocket.

Monitoring the fills and order updates of your users

You can monitor all fills of your users by subscribing to builderFillswebsocket. Alternatively, you can query builderFillsByTimeAPI to get all fills done through your builder code. Subscribing to builderOrderUpdateswill allow you to monitor your users' addresses by tracking all orders of users utilizing your builder code.

Last updated