voiceTrade

Creates voice (manual) trade. Available only for makers.

POST api/voiceTrade

{
    "counterpartyId": 25,
    "instrument": "BTC-USD",
    "clientOrderId": 123456789,
    "price": 999900000000,
    "size": 10000000,
    "side": "bid",
}

Request parameters

Field nameTypeDescription

counterpartyId

Efx::ClientId

Counterparty ID to trade with.

instrument

string

Instrument name

clientOrderId

Efx::ClientOrderId

Optional. User data attached to the order

price

Efx::Price

Deal price.

size

Efx::Size

Deal size.

side

string

Deal side, use "bid" to buy and "ask" to sell

Response description

Filed nameTypeDescription

id

Efx:OrderId

New Order Id

clientOrderId

Efx::ClientOrderId

Optional user data attached to the order

deal

Deal

Resulted deal.

Deal

id

Efx::DealId

Deal Id

price

Efx::Price

Deal price

size

Efx::Size

Deal size

volume

Efx::Size

Deal volume

delta

Efx::Size

Deal delta in balance currency

counterpartyId

unsigned int64

Counterparty id

The operation produces a deal in feeds 'P' and 'O'.

Last updated