GetTradeRate

GetTradeRate - request a rate for specified base and currency.

Example

{"id": 11, "type":"GetTradeRate", "body": {"base":"EUR", "currency": "USD"}}

Request Body Fields:

Parameter
Required
Type
Description

base

string

base symbol

currency

string

currency of user trading account

Responce Type - GetTradeRate

Responce Body Fields:

Parameter
Always returned
Type
Description

base

string

base symbol

currency

string

currency of user trading account

trade_rate_sell

double

price of selling

trade_rate_buy

double

price of buying

Example:

{"type": "GetTradeRate", "id":11, "body": {"base": "EUR", "currency": "USD", "trade_rate_sell":1.09825, "trade_rate_buy":1.09832}}

Last updated