# Trades

Trade operations (book, query, amend, roll, allocate, cancel). Also query orders for fills.

Only brokers and sales dealers can amend, roll, and allocate by default. Customer organizations can be configured to allocate trades (work with your Integral Technical Account Manager).

 - [POST /v2/trades](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/booktrade.md): Enter trades done in other systems.
 - [GET /v2/trades](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/queryorderallfills.md): Get all fills for the order ID assigned by Integral returned in the `coId` or `orderId` field when the order was placed.
 - [POST /v2/trades/amendment](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/tradeamend.md): Amend a verified trade by amount, rate, customer, or all three. Available to broker users and sales dealer users. You must specify at least one property in addition to `id`. Work with your Integral Te
 - [POST /v2/trades/roll](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/traderoll.md): Roll a trade to another value date. Available to broker users and sales dealer users.
 - [POST /v2/trades/allocations](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/tradeallocate.md): Divide a trade into post-trade allocations among multiple legal entities of the same organization. Available to broker users and sales dealer users. Customer organizations can be configured to allocat
 - [POST /v2/trades/cancel](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/tradecancel.md): Cancel individual trades by trade ID or one or more trades by your trade request. You must specify either `tradeId` or `clientRequestId`. If you specify `tradeId`, all other parameters are ignored.
 - [GET /v2/trades/{id}](https://docs.fxinside.net/openapi/integral-api-reference/rest/trades/querytrade.md): Get trade details for a given trade ID.
