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

# copy trading api

> copy trade configuration and execution

# copy trading api

automatically mirror trades from target wallets.

## list configs

```
GET /copytrade
```

returns all your copy trade configurations.

## create config

```
POST /copytrade
```

<ParamField body="target_wallet" type="string" required>
  wallet address to copy trades from
</ParamField>

<ParamField body="trade_wallet" type="string" required>
  your wallet to execute trades with
</ParamField>

<ParamField body="amount_sol" type="number" required>
  sol per copied trade
</ParamField>

<ParamField body="max_slippage_bps" type="number" default="500">
  max slippage tolerance
</ParamField>

<ParamField body="enabled" type="boolean" default="true">
  whether config is active
</ParamField>

## update config

```
PATCH /copytrade
```

update an existing copy trade configuration.

## delete config

```
DELETE /copytrade
```

remove a copy trade configuration.

## execute copy

```
POST /copytrade/execute
```

manually trigger a copy trade execution.
