Market Average Price

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

Response Fields

For trading pair symbols (ex. tBTCUSD)

IndexFieldTypeDescription
[0]PRICE_AVGfloatAverage price for amount bought or sold given the current order book (trading pairs only)
[1]AMOUNTfloatAmount traded or taken/provided in funding

For funding currency symbols (ex. fUSD)

IndexFieldTypeDescription
[0]RATE_AVGfloatAverage rate for amount taken or provided given the current order book (funding currencies only)
[1]AMOUNTfloatAmount traded or taken/provided in funding

Rate Limit: 90 reqs/min (requests per minute)
Query Params
string
required
Defaults to tBTCUSD

The symbol you want information about.

string
required
Defaults to 1.123

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

int32

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

string

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

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json