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

# TradeRules

Trade rules configuration for smart transaction policies

## Properties

| Property                                   | Type                                                                                                          | Description                                                                 |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| <a id="allowedinputs" /> `allowedInputs`   | [`InputWithAllowance`](/grid/v1/sdk-reference/react-native/reference/latest/interfaces/InputWithAllowance)\[] | Allowed input tokens with optional spending allowances (minimum 1 required) |
| <a id="allowedoutputs" /> `allowedOutputs` | `string`\[]                                                                                                   | Allowed output token mint addresses (can be empty for any output)           |
| <a id="maxslippagebps" /> `maxSlippageBps` | `number`                                                                                                      | Maximum slippage in basis points (e.g., 100 = 1%, default 0)                |
| <a id="feesbps" /> `feesBps?`              | `number`                                                                                                      | Optional platform fees in basis points (e.g., 10 = 0.1%)                    |
| <a id="venue" /> `venue?`                  | `"jupiter"`                                                                                                   | Optional trading venue selection (defaults to Jupiter)                      |
