# Up/Down

**Up/Down** bet type allows users to predict whether the price of an asset will move **up** or **down** after a fixed time period. These games are hosted by **P2PLabs**.

<figure><img src="/files/FsmPjdc6ZI57SjkAY5SH" alt=""><figcaption><p>Up/Down</p></figcaption></figure>

### How It Works <a href="#how-it-works" id="how-it-works"></a>

Users join an active **Up/Down** session by choosing a side (Up or Down) and placing a bet. Bet amounts are flexible, and all bets are recorded on-chain. At the end of the selected timeframe, the outcome is determined by comparing the asset’s final price to its price at the specified time and determining the winning side.

### Entry Conditions <a href="#entry-conditions" id="entry-conditions"></a>

To enter, users choose a timeframe, a side (Up or Down), and place a bet. Multiple users can participate in a single round.

### Timelines <a href="#timelines" id="timelines"></a>

Users can select from three preset timeframes: **1 minute**, **5 minutes**, or **10 minutes**, depending on their preferred game type and available liquidity.

Each duration defines two timestamps:

* **End of bets** — the time until which users can submit their predictions (e.g. 7 PM for a 10-minute game starting at 6:50 PM)
* **End of event** — when the final asset price is fetched and winners are determined (e.g. 7:10 PM for the same 10-minute game)

### Outcome & Winners <a href="#outcome-and-winners" id="outcome-and-winners"></a>

Winnings are distributed among users who predicted the correct outcome. Payouts are proportional to each participant’s contribution and the final odds at the time the bet closes. In the case of partial matches, only the matched portions of the bets are resolved.

### Pricing & Data Source <a href="#pricing-and-data-source" id="pricing-and-data-source"></a>

Chart and price data are sourced from the Binance API.

### Refund Policy <a href="#refund-policy" id="refund-policy"></a>

If there is only one participant, the outcome determines the refund.

* If the prediction is correct, the user can claim the reward as usual.
* If the prediction is incorrect, the bet amount is refunded within 2 days.

### Visibility <a href="#visibility" id="visibility"></a>

Up/Down games are public and open to all users.


---

# 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://p2pbet.gitbook.io/documentation/finance-predictions/up-down.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.
