# Security

### 🔐 Non-Custodial by Design

Trend0x is architected with a strict separation between execution intelligence and capital custody. At no point does the system take ownership, control, or discretionary authority over user funds.

This non-custodial model is a core architectural principle designed to eliminate counterparty risk and preserve full user sovereignty over capital.

***

### 🧱 Architectural Responsibility Split

| Component          | Responsibilities                                                  |
| ------------------ | ----------------------------------------------------------------- |
| **Users**          | Own capital, allocate funds, enter or exit strategies at any time |
| **Trend0x**        | Market analysis, execution logic, risk posture, trade signaling   |
| **Trading Venues** | Asset custody, trade execution, settlement, balances              |
|                    |                                                                   |

Trend0x never overlaps with custody or account control.

***

### 🔄 Execution Flow Overview

```
User Capital
        │
        ▼
Trading Venue (CEX / DEX)
        │
        ▼
Trend0x Execution Logic
        │
        ▼
Execution Signals
        │
        ▼
Trades Executed on Venue
```

* Capital always remains at the trading venue
* Trend0x only influences **how** trades are executed, not **where funds reside**

***

### 🌐 Supported Execution Environments

#### Decentralized Exchanges (DEX)

| Property       | Description            |
| -------------- | ---------------------- |
| Custody        | Self-custodied wallets |
| Execution      | Fully on-chain         |
| Transparency   | Public, verifiable     |
| Trend0x Access | Execution logic only   |

#### Centralized Exchanges (CEX)

| Property       | Description                     |
| -------------- | ------------------------------- |
| Custody        | Exchange-managed                |
| Execution      | Native exchange copy trading    |
| Transparency   | Exchange-level reporting        |
| Trend0x Access | Strategy logic + analytics only |

In both cases, Trend0x has no withdrawal or balance control.

***

### 🛡 Security Guarantees

| Guarantee                      | Status                |
| ------------------------------ | --------------------- |
| Custody of user funds          | ❌ Not held by Trend0x |
| Withdrawal permissions         | ❌ None                |
| Pooled capital                 | ❌ No                  |
| Discretionary asset management | ❌ No                  |
| Lockups or exit restrictions   | ❌ No                  |

If Trend0x becomes unavailable, user funds remain fully accessible on the trading venue.

***

### 🧑‍💼 User Control & Exit

| Action            | Availability        |
| ----------------- | ------------------- |
| Enter strategy    | Anytime             |
| Exit strategy     | Anytime             |
| Change allocation | Anytime             |
| Withdraw funds    | Directly from venue |

Trend0x cannot block, delay, or interfere with any user action.

***

### ✅ Summary

Trend0x functions purely as an execution intelligence layer.

It enables adaptive, disciplined trading execution without introducing custodial risk — allowing users to benefit from AI-driven strategies while retaining full control over their assets.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://trend0x.gitbook.io/trend0x-docs/execution/security.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
