> For the complete documentation index, see [llms.txt](https://docs.dataloy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dataloy.com/release-8.31/voyage-management-system/step-by-step-guides/trades/maintain-trades/trade-details.md).

# Trade Details

In the Trade Details tab there are two sections. Details and Patterns.

<figure><img src="https://content.gitbook.com/content/zjy4yJFZRJooU1EGrLs5/blobs/Z4uqJ8KjXupw95wQNG4g/image.png" alt=""><figcaption></figcaption></figure>

### Details

In the details section you can see and edit the Trade's description, code, and which Routes the Trade is in. All of these fields are required, and cannot be empty. The Code field also has to be unique code that is not used by any other Trade.

### Patterns

The Patterns list contains all the Patterns for selected Trade. You can create a new pattern by clicking the <img src="https://content.gitbook.com/content/zjy4yJFZRJooU1EGrLs5/blobs/oyxPCZ0C2MkUCJTWGrOP/create-24px.svg" alt="" data-size="line"> in the top right corner of the list. Clicking this will open the Create Pattern modal, as seen below. Both fields in the modal are required for being able to create a Pattern. The Code field also needs a unique code, that has not been used by any other pattern in your system.&#x20;

<figure><img src="https://content.gitbook.com/content/zjy4yJFZRJooU1EGrLs5/blobs/4JubJmtYczgA6OrxqRla/image.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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 following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dataloy.com/release-8.31/voyage-management-system/step-by-step-guides/trades/maintain-trades/trade-details.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
