# Solver Example Flow

As the permissionless lightweight nature of the protocol presets only a few rules like how a Intent or Quote need to be structured and responded, MarketMakers can create their own 100% unique MarketMaking and Hedging strategies.

Frontend Builders and Drivers might require MarketMakers to provide a list of Markets and a Bid, Ask and spread for each market, as well as a Range of CVA, preference in LiquidationFee & Funding Rates can all be defined by MarketMakers, there are no requirements by the protocol.

Providing infinite customizability and a focus on fair competition to create the best long term sustainability and offer best executions for traders.&#x20;

## Symmio: the customize everything protocol

<figure><img src="https://1257875949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYQhBmTCs9MwhhuPQrV5v%2Fuploads%2FA0ZXeHBgIH6Hs7oCviuP%2FGroup%203.png?alt=media&#x26;token=1c354b51-1d59-48a0-9193-d6f3dffe1e5d" alt=""><figcaption><p>As lightweight and customizable as the system promises to be everything can be customized.</p></figcaption></figure>

Virtually any custody or collateral solution can be used to interact with any secondary market, all markets or strategies can be used to hedge & any frontend or decentralized driver system can be used to offer services, Symmio is truly **the customize everything protocol.**

## The SYMM Solver Multiverse

#### Every individual Solver stands but as a single thread in the vast tapestry of potential infinite Solvers, and every unique "solver flow" is only a part of an infinite array of ever-competing "solver flows".

<figure><img src="https://1257875949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYQhBmTCs9MwhhuPQrV5v%2Fuploads%2FguytXDRhphnYfQDAeWe1%2FGroup%206.png?alt=media&#x26;token=2205a039-c105-4bb1-bede-cacc0f0f5951" alt=""><figcaption></figcaption></figure>

The core contracts only inherit very little complexity, the overall system allows for infinite complexity.

As Solvers offer their Quotes to a "Solver pool" either via [frontend-builder-introduction](https://docs.symm.io/exchange-builder-documentation/frontend-builder-introduction "mention")or Drivers (TBD) users can select to trade upon them, there are rules on how Solvers should communicate their quotes to the frontend, but there are no rules how a Solver should hedge themselfs against them.

Therefore creating an infinite amount of possible "Solver flows".

But as a Solver what is really required from you?\
Stream, Commit, Detect, Execute & Rebalance
-------------------------------------------

1. Stream a list of supported markets, so frontend builders can display them more easily.
2. Commit to a Bid and Ask spread for each market, so users dont need to request them.
3. Detect when a user requests a trade, be as fast as you can for a good UX.
4. Execute the trade when a user requests it, dont let them hanging.
5. Rebalance your collateral so your positions stay healthy, to not get liquidated.

{% hint style="info" %}
Hedgers should strive to achieve a High response rate. (not responding to quotes is currently not punishable, but will potentially be punishable in the future.)
{% endhint %}

## Let's dive into the first example Symmio Solver flow:

### Please note that this is only an EXAMPLE flow for a Liquidity Provider or Solver on the Symmio protocol, Symmio itself and the team behind Symmio only provide example software that can be used to create own Solving tools.

### Step 1 - Deposit

<figure><img src="https://1257875949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYQhBmTCs9MwhhuPQrV5v%2Fuploads%2FggWIWJEGylu5Qr31YDzd%2FGroup%2014.png?alt=media&#x26;token=c6d84fec-e7e0-4633-8b9a-7de8ded022b2" alt=""><figcaption><p>MarketMakers deposit margin on-chain and in Binance Custody, then mirror it to the Binance Futures Account.</p></figcaption></figure>

### Step 2 - Prepare

<figure><img src="https://1257875949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYQhBmTCs9MwhhuPQrV5v%2Fuploads%2FkGlHsOoL105y7t5z9UnM%2FGroup%2015.png?alt=media&#x26;token=2f55a2eb-44a4-4860-ac32-e680dfef9f92" alt=""><figcaption><p>Set up the hedging software.</p></figcaption></figure>

### Step 3 - Stream

<figure><img src="https://1257875949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYQhBmTCs9MwhhuPQrV5v%2Fuploads%2FVGEaiU2YgzKosLYqYpt7%2FGroup%2016.png?alt=media&#x26;token=dbc3d0fb-5203-4dd3-a650-4445724e08e6" alt=""><figcaption><p>Receive, stream prices, and listen to incoming requests.</p></figcaption></figure>

### Step 4 - Request&#x20;

<figure><img src="https://1257875949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYQhBmTCs9MwhhuPQrV5v%2Fuploads%2FHyyZIbifa1kSMaquPoAn%2FGroup%2017.png?alt=media&#x26;token=b0a526c5-23a5-4f16-b52f-87458aa144fc" alt=""><figcaption><p>A user visits the Pear Frontend, selects an asset, and sends an AMFQ request for a trade on-chain.</p></figcaption></figure>

### Step 5 - Detect, Hedge & Execute

<figure><img src="https://1257875949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYQhBmTCs9MwhhuPQrV5v%2Fuploads%2FDNZookCaIflAGphGVpur%2FGroup%2018.png?alt=media&#x26;token=7fbb2ea3-b90a-4ccd-bfa3-3d8370d3c857" alt=""><figcaption><p>The MarketMaker(Hedger) detects, reserves, hedges, and fills the quote on-chain.</p></figcaption></figure>

### Step 6 - Rebalance

<figure><img src="https://1257875949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYQhBmTCs9MwhhuPQrV5v%2Fuploads%2FfMuZn6SEqNqgcFpGCWKU%2FGroup%2019.png?alt=media&#x26;token=bc16b304-81db-4c28-b84b-fae61a723502" alt=""><figcaption><p>Positions need to be maintained by all parties at all times, otherwise, 3rd party liquidators flag them as liquidated and earn the liquidation fee as a prize.</p></figcaption></figure>

### Step 7 - Customize, Optimize & Expand

<figure><img src="https://1257875949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYQhBmTCs9MwhhuPQrV5v%2Fuploads%2FA4L3LqqWOZ6NseEYyzIH%2FGroup%2020.png?alt=media&#x26;token=07f10b60-b4c8-40b7-8304-803706f16715" alt=""><figcaption><p>As all Frontend Builders, Driver systems, Exchanges, Trading Desks, margin accounts, custody solution, wallets and forms of hedging can be swapped, rotated, infinitely customized and perpetually optimized, best execution prices for traders and everlasting efficient profits for market makers are possible, the possibilities for refinement are sheer endless.</p></figcaption></figure>

#### The true innovation sparks from the adopters of the Symmio system, who perpetually iterate and enhance, continuously propelling the system into a realm of infinite optimization and continuous improvement.

#### The Symmio team is excited about all the beautiful innovations that are yet to be built on top of our core system.
