> ## 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.

# OnPredictionTradesCreatedInput

> Input for `onPredictionTradesCreated`. OnPredictionTradesCreatedInput input object reference: every field and its type.

## GraphQL

```
input OnPredictionTradesCreatedInput {
  marketId: String
  eventId: String
  traderId: String
}
```

### Used By

**Used as input by**

* [onPredictionTradesCreated](https://docs.codex.io/api-reference/subscriptions/onpredictiontradescreated.md): Streams new prediction trades as they are ingested.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.