# Dealer function

A market needs to have two prices. A dealer makes the market by creating the inside spread, the spread that appears as “the market”. The dealer collects the inside spread. And crosses the outside spread. The dealer model of providing liquidity is very different from the lender model. In the dealer model, the dealer function provides [Agent](/agent.md)s with the capacity to demand to transact or to transact in desired directions at desired times. The dealer is that whom/which accommodates the demand to transact without demanding it itself.


---

# 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://glossary.ecsa.io/dealer-function.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.
