Aquanow CAMS v1.0 (Updated)
  • Welcome
  • Security
    • OAuth2.0
    • API Limits
  • Pagination
  • Webhooks
    • Onboarding
    • Settlements
    • Reports
    • Order
    • Execution
    • Document
  • Market Data
    • Websocket
    • Rest API
      • OHLC
  • API reference
    • Customers
      • Docs
      • Configuration
    • Trades
      • RFQ
    • Orders
    • Executions
    • Settlements
    • Transactions
    • Accounts
      • Credit
      • Balances
      • Configuration
      • Performance
    • Instruments
      • Pairs
      • Assets
    • Custody
      • Balances
      • Allocation
    • Files
    • Webhook
  • Change Log
  • Specification
  • User Guide
    • View Customers
      • Customer Onboarding
      • Upload Onboarding Docs
      • View Customer Account Balances
      • Customer Risk Groups
    • View Customer Trade Activity
    • Manage Team Members
Powered by GitBook
On this page
  1. API reference
  2. Trades

RFQ

PreviousTradesNextOrders

Last updated 2 months ago

  • POSTRequest Quote (RFQ)
  • DELETECancel Quote (RFQ)
  • POSTExecute a Quote (RFQ)

Cancel Quote (RFQ)

delete

Cancel a previously requested quote.

Authorizations
Path parameters
quoteIdstring · uuidRequired

The quoteId returned by the Request Quote

Responses
200
OK
application/json
400
Validation Error
401
Unauthorized
403
Insufficient Privileges
4XX
Client error
5XX
Server error
delete
DELETE /api/v1/quotes/{quoteId} HTTP/1.1
Host: cams.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "quoteId": "123e4567-e89b-12d3-a456-426614174000",
  "quoteStatus": "CANCELED",
  "canceledAt": "2024-08-01T18:44:05Z"
}

Request Quote (RFQ)

post

Request a quote for a currency conversion. Specify deliver quantity or receive quantity, but not both.

Authorizations
Body
one ofOptional
or
Responses
200
Successful response
application/json
400
Validation Error
401
Unauthorized
403
Insufficient Privileges
4XX
Client error
5XX
Server error
post
POST /api/v1/quotes HTTP/1.1
Host: cams.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 155

{
  "accountId": "123e4567-e89b-12d3-a456-426614174000",
  "pair": "BTC-USD",
  "side": "BUY",
  "deliverQuantity": "103.06",
  "clientFeeRate": "30",
  "clientReference": "text"
}
{
  "quoteId": "123e4567-e89b-12d3-a456-426614174000",
  "requestedAt": "2024-08-01T18:44:05Z",
  "expiresAt": "2024-08-01T18:44:05Z",
  "accountId": "123e4567-e89b-12d3-a456-426614174000",
  "pair": "BTC-USD",
  "side": "BUY",
  "deliverQuantity": "103.06",
  "deliverCurrency": "USD",
  "receiveQuantity": "0.0016",
  "receiveCurrency": "BTC",
  "price": "64237.47",
  "baseQuantity": "0.0016",
  "quoteQuantity": "10.74",
  "feeCurrency": "USD",
  "clientFeeRate": "30",
  "clientFeeQuantity": "0.10",
  "providerFeeRate": "30",
  "providerFeeQuantity": "0.08",
  "quoteStatus": "AWAITING_RESPONSE",
  "clientReference": "text",
  "tradeTaxRate": "5",
  "clientTaxQuantity": "0.54",
  "providerTaxQuantity": "0.43"
}

Execute a Quote (RFQ)

post

Execute a previously requested quote. Creates an Order and Executes it. Retuns both the order and the execution.

Authorizations
Body
quoteIdstring · uuidRequired

The quoteId returned by Request Quote

clientReferencestringOptional
Responses
200
Successful response
application/json
400
Validation Error
401
Unauthorized
403
Insufficient Privileges
4XX
Client error
5XX
Server error
post
POST /api/v1/orders HTTP/1.1
Host: cams.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 75

{
  "quoteId": "123e4567-e89b-12d3-a456-426614174000",
  "clientReference": "text"
}
{
  "order": {
    "orderId": "123e4567-e89b-12d3-a456-426614174000",
    "accountId": "123e4567-e89b-12d3-a456-426614174000",
    "orderStatus": "PLACED",
    "side": "BUY",
    "pair": "BTC-USD",
    "strategy": "RFQ",
    "orderPrice": "52100.00",
    "orderQuantity": "1.00",
    "fillQuantity": "1.00",
    "fillPrice": "52100.00",
    "fillPercentage": "100",
    "clientFeeRate": "10",
    "providerFeeRate": "10",
    "placedAt": "2025-05-17T11:06:23.401Z",
    "completedAt": null,
    "clientReference": "text"
  },
  "executions": [
    {
      "executionId": "123e4567-e89b-12d3-a456-426614174000",
      "orderId": "123e4567-e89b-12d3-a456-426614174000",
      "accountId": "123e4567-e89b-12d3-a456-426614174000",
      "executedAt": "2025-05-17T11:06:23.401Z",
      "pair": "BTC-USD",
      "side": "BUY",
      "deliverCurrency": "BTC",
      "deliverQuantity": "1.00",
      "receiveCurrency": "USD",
      "receiveQuantity": "52100.00",
      "price": "52100.00",
      "baseQuantity": "0.0016",
      "quoteQuantity": "10.74",
      "clientFeeRate": "10",
      "providerFeeRate": "10",
      "clientFeeQuantity": "52.10",
      "providerFeeQuantity": "52.10",
      "feeCurrency": "USD",
      "executionStatus": "TRADE_EXECUTED",
      "tradeDate": "2025-05-17",
      "valueDate": "2025-05-17",
      "confirmedAt": "2025-05-17T11:06:23.401Z",
      "clientReference": "text",
      "tradeTaxRate": "5",
      "clientTaxQuantity": "2.61",
      "providerTaxQuantity": "2.61"
    }
  ]
}