# Reset DCA for a coin

`POST https://api.cryptohopper.com/v1/hopper/{id}/position/dca/reset`

Part of [Positions](https://www.cryptohopper.com/api-documentation/api-reference/positions.md) in the Cryptohopper API reference.

Resets the DCA state of one coin of the hopper: the DCA count and latest average go back to 0 and DCA is marked as not enabled for that coin.

coin is required. Not available for exchange arbitrage, market maker, copy and grid bots.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Hopper ID. |

## Example request

```bash
curl -X POST "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/position/dca/reset" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"coin":"BTC"}'
```

## Response

Example response (illustrative values):

```json
{
    "data": "DCA has been reset for BTC."
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
