# Finance Deals

**Finance Deals** bet type allows users to place bets on direction of the asset price movements, choosing from three outcomes: **Higher**, **Lower**, or **Touches** a specific price.

<figure><img src="/files/ZD1OtFewb6zLCLsTtg0K" alt=""><figcaption><p>Finance Deals</p></figcaption></figure>

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

The **initiator** creates a finance deal by selecting a trading pair, setting a price direction, and specifying the bet amount and odds. Once the deal is created, players choose a side and submit their predictions. Platform automatically calculates the odds based on the betting volume on each side and locks all funds that are matched with an opposing side.

Funds that are not yet matched remain unlocked and can be withdrawn.

At the event end time, the asset price is fetched from the Binance API.

### Calculations <a href="#calculations" id="calculations"></a>

Formula for calculating the inverse odds:

> 1 / (1 - 1 / coefficient)

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

Users can either initiate a new bet or accept an existing one. The bet amount is flexible, and any unmatched portions remain open until an opposing bet is placed or the game times out.

When a user joins a bet, the odds for their outcome are determined relative to the initial odds set by the maker, ensuring fair competition.

If a bet is partially matched, only the matched portions are resolved at the defined odds.

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

End of bets and end of event timelines are configured by the initiator during bet creation.

### 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 no user accepts the bet, a refund is made automatically right after the betting period ends. If no one bets against you, you can always get your funds back.

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

Finance Deals can be created as **public** bet, visible to all users, or **private**.


---

# 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/finance-deals.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.
