# Multi-wallet Polymarket activity monitor

**Use case:** 

Monitor multiple Polymarket wallets for trades, redemptions, merges, portfolio values, and realized PnL in scheduled exports.

## Input

```json
{
  "wallets": [
    "0x204f72f35326db932158cba6adff0b9a1da95e14",
    "0x56687bf447db6ffa42ffe2204a05edaa20f55839"
  ],
  "modes": [
    "positions",
    "closed_positions",
    "trades",
    "activity",
    "portfolio_value"
  ],
  "maxItemsPerWallet": 250,
  "activityTypes": [
    "TRADE",
    "MERGE",
    "REDEEM"
  ],
  "minPositionSize": 1,
  "maxConcurrency": 3
}
```

## Output

```json
{
  "recordType": {
    "label": "Type",
    "format": "text"
  },
  "wallet": {
    "label": "Wallet",
    "format": "text"
  },
  "title": {
    "label": "Market",
    "format": "text"
  },
  "outcome": {
    "label": "Outcome",
    "format": "text"
  },
  "side": {
    "label": "Side",
    "format": "text"
  },
  "activityType": {
    "label": "Activity",
    "format": "text"
  },
  "size": {
    "label": "Size",
    "format": "number"
  },
  "averagePrice": {
    "label": "Avg price",
    "format": "number"
  },
  "currentPrice": {
    "label": "Current price",
    "format": "number"
  },
  "tradePrice": {
    "label": "Trade price",
    "format": "number"
  },
  "currentValue": {
    "label": "Current value",
    "format": "number"
  },
  "portfolioValue": {
    "label": "Portfolio value",
    "format": "number"
  },
  "cashPnl": {
    "label": "Cash PnL",
    "format": "number"
  },
  "percentPnl": {
    "label": "PnL %",
    "format": "number"
  },
  "realizedPnl": {
    "label": "Realized PnL",
    "format": "number"
  },
  "timestampIso": {
    "label": "Timestamp",
    "format": "date"
  },
  "conditionId": {
    "label": "Condition ID",
    "format": "text"
  },
  "assetId": {
    "label": "Asset ID",
    "format": "text"
  },
  "transactionHash": {
    "label": "Transaction hash",
    "format": "text"
  },
  "marketSlug": {
    "label": "Market slug",
    "format": "text"
  },
  "traderName": {
    "label": "Trader",
    "format": "text"
  },
  "sourceUrl": {
    "label": "Source",
    "format": "link"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [Polymarket Wallet Portfolio & Trade History Scraper](https://apify.com/automation-lab/polymarket-wallet-portfolio-trade-history-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/polymarket-wallet-portfolio-trade-history-scraper) to learn more, explore other use cases, and run it yourself.