Currency rates and limits with leverage data

Description: Returns the current trading rules and ticket information with data about leverages on the futures exchange

GET

/ver1/accounts/currency_rates_with_leverage_data

Query Parameters

market_code integer required Unique exchange code in the 3Commas system

pair integer required Trading pair in 3Commas format

The market and trading pair codes are used in 3Commas format. Use endpoints Supported Markets List to get value for parameter market_code and All Market Pairs to get value for parameter pair in 3Commas format.

Response Parameters

last string Last price

bid string Bid price

ask string Ask price

orderbook_ask string Ask price of ticker

orderbook_bid string Bid price of ticker

orderbook_last string Last price of ticker

orderbook_price_currency string Currency price of ticker

strategy_name string [Description needed]

leverage_data array[object] Represents a leverage data for this pair

code string The type of leverage available

name string Name of the leverage option available for this contract

can_set_leverage_value boolean Indicates whether a custom leverage value can be set

available_leverage_values array Available leverage values for settings for this pair and exchange

max_leverage string The maximum leverage value allowed for this contract

value string Contains minimum and maximum leverage value that can be applied for this pair

min string The minimum leverage value that can be applied to this contract

max string The maximum leverage value that can be applied to this contract

contract_strategy_name string The strategy by which the contract price is calculated

instrumentKind string The type of exchange instrument

minPrice string Minimum price order

maxPrice string Maximum price order

priceStep string The minimum step for changing the price

minLotSize string The minimum lot size for order in Base currency

lotStep string Order of changing the size in Base currency

maxMarketBuyAmount string Maximum order size in Base currency for buy

maxMarketSellAmount string Maximum order size in Base currency for sell

bidMultiplierDown string A multiplier applied to decrease the bid price

bidMultiplierUp string A multiplier applied to increase the bid price

askMultiplierUp string A multiplier applied to increase the ask price

askMultiplierDown string A multiplier applied to decrease the ask price

minTotal string Minimum order size in Quote

minMarketTotal string Minimum order size in Quote for market order

maxTotal string Maximum order size in Quote

maxLotSize string Maximum order size in Base

Example request

GET /ver1/accounts/currency_rates_with_leverage_data?market_code=binance_futures_eea&pair=BNFCR_1INCHUSDT

Example response and errors

Status: 200 OK

{
  "last": "0.3039",
  "bid": "0.3039",
  "ask": "0.304",
  "orderbook_ask": "0.304",
  "orderbook_bid": "0.3039",
  "orderbook_last": "0.3039",
  "orderbook_price_currency": "BNFCR",
  "strategy_name": "orderbook_price",
  "contract_strategy_name": "orderbook_price",
  "leverage_data": [
    {
      "code": "cross",
      "name": "Cross",
      "can_set_leverage_value": true,
      "available_leverage_values": [
        
      ],
      "max_leverage": "25.0",
      "valid": {
        "min": 1,
        "max": "25.0"
      }
    }
  ],
  "instrumentKind": "linear_futures",
  "priceStep": "0.0001",
  "minLotSize": "1.0",
  "maxLotSize": "5000000.0",
  "lotStep": "1.0",
  "maxMarketBuyAmount": "500000.0",
  "maxMarketSellAmount": "500000.0",
  "minMarketBuyAmount": "1.0",
  "minMarketSellAmount": "1.0",
  "minTotal": "5.0",
  "bidMultiplierUp": "1.1",
  "askMultiplierDown": "0.9",
  "minPrice": "0.0613",
  "maxPrice": "100000.0"
}
Status: 400 Bad Request

{
  "error": "Unknown pair"
}

Last updated

Was this helpful?