Skip to main content

Get info required to add funds

GET
/ver1/deals/:deal_id/data_for_adding_funds
Permission: BOTS_READ
Security: SIGNED

Returns the information required to add funds correctly.


Path Parameter

deal_idintegerrequired

Unique 3Commas ID Deal entity.

Example Request

GET
/ver1/deals/2295655961/data_for_adding_funds

Response Parameters

orderbook_pricestring

The current price from the exchange's order book for the pair.

price_per_one_unit_strategy_namestring

The name of the strategy used to determine the price per unit.

account_idinteger

ID of the exchange account entity where this DCA Bot's deal was created.

quote_currencystring

The quote currency in the trading pair.

More attributes

Example Response

{
"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"
}