Openclaw: Finding and Analyzes 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}

Last updated