# Marketplace Commands

Following are the Chat-to-Trade commands for users to use Marketplace on any Nostr frontend clients (eg. Damus, Amethyst, Plebstr & Primal)

{% hint style="info" %}
Developers have the flexibility to build upon Nostr Assets Daemon for their own customized Marketplaces, which includes creating their own set of commands for users.
{% endhint %}

## Check the Status of the Marketplace

Users can check the summary of all orders on the Marketplace

```
status
```

## Place Limit Orders

Users can create new buy or sell listings on the Marketplace for a base token at a specified price.

<mark style="background-color:green;">('buy' or 'sell') (quantity) (base token) at price (quote token)</mark>

```
buy 10000 sats at price 10 usdt
sell 10000 sats at price 10 usdt
```

## Check Orders' Status

Show the status of all system orders of a specific token.

<mark style="background-color:green;">show all system orders of (token)</mark>

```
show all system orders of sats
```

<mark style="background-color:green;">show all system ('buy' or 'sell') orders of (token)</mark>

```
show all system buy orders of sats
```

```
show all system sell orders of sats
```

Show the status of all user's orders

```
show all my orders
```

<mark style="background-color:green;">show all my ('buy' or 'sell' or 'history') orders</mark>

```
show all my buy orders
```

```
show all my sell orders
```

```
show all my history orders
```

## Take Order

Take a single order from current buy or sell listings on the Marketplace

<mark style="background-color:green;">take order (order id)</mark>

```
take order 11112
```

Take multiple orders

<mark style="background-color:green;">take order (order id); take order (order id)</mark>

```
take order 11113; take order 11115
```

## Cancel Order

User can cancel their order that is currently still listed on the Marketplace.

<mark style="background-color:green;">cancel order (order id)</mark>

```
cancel order 11112
```

They can also cancel multiple orders

<mark style="background-color:green;">cancel order (order id); cancel order (order id)</mark>

```
cancel order 11113; cancel order 11114
```


---

# 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://docs.lnfi.network/marketplace/marketplace-commands.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.
