liquidationTrade
Creates trade to liquidate counterparty positions. Available only for makers.
POST api/liquidationTrade
Request parameters
Field name | Type | Description |
---|---|---|
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 |
Response description
Filed name | Type | Description |
---|---|---|
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 quote (balance) currency |
counterpartyId | unsigned int64 | Counterparty id |
The operation produces a deal in feeds 'P' and 'O'.
Last updated