> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# PredictionTradeEventTypeConditionInput

> Input for prediction trade event type condition.

<div data-generated>
  ## GraphQL

  ```
  input PredictionTradeEventTypeConditionInput {
    oneOf: [PredictionTradeEventType!]!
  }

  enum PredictionTradeEventType {
    TRADE
    BUY
    SELL
    BUY_COUNTERPARTY
    SELL_COUNTERPARTY
    POSITION_REDEEMED
  }
  ```

  ### Used By

  **Used as input by**

  * [createWebhooks](/api-reference/mutations/createwebhooks.md): Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades.
</div>
