> For the complete documentation index, see [llms.txt](https://3commas.gitbook.io/3commas-official-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://3commas.gitbook.io/3commas-official-api-docs/dca-bot/deals/info-required-to-add-funds-correctly.md).

# Info required to add funds correctly

<br>

**Description:** Returns the information required to add funds correctly<br>

**Permission:** BOTS\_READ\
**Security:** SIGNED\ <br>

> <mark style="color:blue;">**`GET`**</mark>
>
> `/ver1/deals/{deal_id}/data_for_adding_funds`

<br>

## Path Parameter<br>

**deal\_id**     `integer`     <mark style="color:orange;">required</mark>\
Unique 3Commas ID Deal entity

<br>

## Response Parameters<br>

**orderbook\_price**     `string`\
The current price from the an exchange's order book for the pair

**price\_per\_one\_unit\_strategy\_name**     `string`\
The name of strategy used to determine price per unit

**account\_id**     `integer`\
ID of the exchange account entity where this DCA Bot's deal was created

**quote\_currency**     `string`\
The quote currency in the trading pair

**base\_currency**     `string`\
The base currency in the trading pair

**adding\_funds\_currency**     `string`\
Currency for additional funds

**available\_amount**     `string`\
The amount of quote currency available for trading

**limits**     `object`\
Exchange trading limits applicable to the pair used in this DCA Bot

**market\_supported**     `boolean`\
Indicates if market orders are supported for this pair (`true`) or not (`false`)

**is\_contract**     `boolean`\
Specifies if the trading instrument is a contract (`true`) or not (`false`)

**orderbook\_price\_currency**     `string`\
Currency used for the order book price

**take\_profit\_price**     `string`\
The set price at which to take profit for the bot's deals

**stop\_loss\_price**     `string`\
The price set to trigger a stop loss for the bot's deals

**account\_type**     `string`\
Specifies the type of account

**deal\_type**     `string`\
Indicates the type of deal being executed: `long` or `short`)

**pair**     `string`\
Trading pair in 3Commas format

**limit**     `string`\
The limit price for buy or sell orders

**market\_buy\_min\_total**     `string`\
The minimum total amount for market buy orders

**min\_lot\_size**     `string`\
The minimum amount of the base currency that can be traded per order

**leverage\_custom\_value**     `string`\
The custom leverage value, if specified

**leverage\_type**     `string` Type of leverage applied for this Deal

<details>

<summary><em>Allowed value</em></summary>

* **cross** - uses all available funds in your account as collateral for your trades;
* **isolated** - the margin is limited to a specific position;
* **not\_specified** - no leverage type specified for deal;

</details>

<br>

## Example Request<br>

```json
GET /ver1/deals/2295655961/data_for_adding_funds
```

\ <br>

## Example Response and errors<br>

<details>

<summary>Status: 200 OK</summary>

<br>

```json
{
    "orderbook_price": "2991.62",
    "price_per_one_unit_strategy_name": "orderbook_price",
    "account_id": 32199203,
    "quote_currency": "USDT",
    "base_currency": "ETH",
    "adding_funds_currency": "USDT",
    "available_amount": "9457.19151709",
    "limits": {
        "minPrice": "0.01",
        "maxPrice": "1000000.0",
        "priceStep": "0.01",
        "priceMultiplierDown": "0.2",
        "priceMultiplierUp": "5.0",
        "minLotSize": "0.0001",
        "lotStep": "0.0001",
        "minTotal": "5.0",
        "maxMarketBuyAmount": "2758.00778166",
        "maxMarketSellAmount": "2758.00778166",
        "minMarketBuyAmount": "0.0",
        "minMarketSellAmount": "0.0",
        "maxLotSize": "9000.0",
        "marketBuyMinTotal": "5.0"
    },
    "market_supported": true,
    "is_contract": false,
    "orderbook_price_currency": "USDT",
    "take_profit_price": "2987.31",
    "stop_loss_price": null,
    "account_type": "Account::PaperTradingAccount",
    "deal_type": "long",
    "pair": "USDT_ETH",
    "limit": "5.00000000",
    "market_buy_min_total": "5.0",
    "min_lot_size": "0.00010000",
    "leverage_custom_value": null,
    "leverage_type": "not_specified"
}
```

</details>
