> For the complete documentation index, see [llms.txt](https://polycop.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polycop.gitbook.io/docs/discover-wallets/openclaw-finding-and-analyzing-wallets.md).

# OpenClaw: Finding and Analyzing Wallets

You can have OpenClaw search for holders within a specific market and extract their trading data. By calculating the backtested copy-trading profit using a specific model (Buy with +2% slippage, Sell with -2% slippage, and Redeem with 0 loss), a positive result indicates that the address is suitable for copy trading.

* Actual Total PnL: **$5935.88**
* Backtest Total PnL: **$5406.58** (Buy +2%, Sell -2%, Redeem 0 Slippage)
* Slippage Cost Rate: **12.92%**
* Avg Profit/Loss Ratio: **1.24**
* Avg Market ROI: **11.15%**
* Total Markets Traded: **121**
* Hedged Markets: **7 (5.8%)**
* Win Rate: **58.82%**

Additionally, you can have it analyze the PnL of the last 20 trades to evaluate the address's recent performance.

* API for retrieving market Holder addresses: GET <https://data-api.polymarket.com/v1/market-positions?market={condition\\_id}\\&status=ALL\\&sortBy=TOTAL\\_PNL\\&sortDirection=DESC\\&limit=20>
* API for retrieving an address's transaction history: GET <https://data-api.polymarket.com/activity?user={wallet\\_address}\\&limit=500\\&offset={offset}>

<img src="https://932293051-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6RH958mIbJRqog5izKje%2Fuploads%2Fgit-blob-55d0bd38d9b68a5533b3ffa3ea98152090d3af7c%2Fimage%20(18)?alt=media" alt="" width="563">
