Market Average Price

Changed on

Calculate the average execution price for Trading or rate for Margin funding.

post/calc/trade/avg

Request

  • Base URL
    https://api-pub.bitfinex.com/v2
  • URL
    https://api-pub.bitfinex.com/v2/calc/trade/avg
  • Auth
    none required

Query parameters

symbolstring required

The symbol you want information about.

amountstring required

Amount. Positive for buy, negative for sell (ex. "1.123")

periodinteger

Maximum period for margin funding (required for funding currencies).

rate_limitstring

Limit rate/price (ex. "1000.5").

Response

200

Changes