> For the complete documentation index, see [llms.txt](https://docs.symm.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.symm.io/exchange-builder-documentation/frontend-builder-technical-guidance.md).

# Frontend Builder Technical Guidance

## Frontend Builder Technical Guidance

### Building with the Symmio architecture

Symmio is built on a modular architecture: the Diamond Standard for upgradeable contracts, the AccountLayer for account management, and a set of specialized facets that handle trading. This section is the guide to those core components, whether you're building a frontend or a utility on top of the protocol.

{% hint style="info" %}
To build a trading bot with Symmio, see [Building a Trading Bot](/trader-documentation/building-a-trading-bot.md).
{% endhint %}

#### Overview

These pages explain how the Symmio ecosystem is structured and how the pieces fit together: modularity, upgradeability, and separation of concerns, and how those choices keep trading secure and efficient. What's covered:

* **Diamond explainer:** the Diamond Standard (EIP-2535) at the core of Symmio, including facets, selectors, and storage management.
* **Account creation and funding:** creating a sub-account, then depositing and allocating collateral for trading.
* **Sending and closing quotes:** opening a trade by sending a quote, and the standard close flow, including the states involved and the roles of PartyA and PartyB.
* **Instant trading:** the instant-open and instant-close variants for immediate execution, and the trade-offs against the standard flow.

Each page includes function signatures, example usage, and event descriptions.


---

# 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 current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.symm.io/exchange-builder-documentation/frontend-builder-technical-guidance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
