FX trade (RFQ)
FX trade (RFQ)
A Request for Quote (RFQ) in the context of foreign exchange (FX) will allow you to request a price up-front for any of our currently supported currency pairs and hold that rate for a set period.
Once you receive the response with the quote, the rate is held for 45 seconds. If you decide that you want to initiate the trade, a separate trade request must be submitted within the held rate period. This functionality enhances your trading capabilities by providing a transparent and efficient way to secure the held rates via ClearBank.
This message flow diagram shows the flow of requesting a rate quote, successfully executing the trade within the held rate period, and the associated trade settled webhook.
This message flow diagram shows the flow of requesting a rate quote, an attempt to execute the trade outside the held rate period, and the associated 400 error.
Trade examples
You can use our FX trade functionality to perform FX trades between accounts which belong to the same owner. For example, let’s assume that you want to sell GBP from Account A to purchase EUR for Account B – in doing so, you will need to ensure that the owner of both accounts is the same. This applies to two accounts that belong to you, that is, the financial institution or your customers.
Example: Specifying the sell amount with margin
Trade Request:
- InstructedAmount: 1000
- FixedSide: Sell
- BuyCurrency: USD
- SellCurrency: GBP (This means the fixed side of the trade is GBP and the floating side is USD. Therefore, the margin will be in USD).
- Margin: 0.01 (Where 0.01 represents a 1% margin)
- Assume the ClearBank rate is: 1.40 for GBP/USD
- Margin amount: 1.4 x 0.01 x GBP 1000 = USD 14
Resulting transactions in respective accounts:
- Debit to the sellAccount: GBP 1000.00
- Credit to the buyAccount: USD 1386 [USD 1.4 x (1-0.01) x 1000]
- Credit to the specified margin account: USD 14
Example: Specifying the buy amount with margin
Trade Request:
- InstructedAmount: 1400
- FixedSide: Buy
- BuyCurrency: USD
- SellCurrency: GBP
- This means the fixed side of the trade is USD and the floating side is GBP, therefore the margin will be in GBP
- Margin: 0.01 (Where 0.01 represents a 1% margin)
- Assume the ClearBank rate is: 1.40 for GBP/USD
- Margin amount: 1400 / 1.4 x 0.01 = GBP 10
Resulting transactions in respective accounts:
- Debit to the sellAccount: GBP [1110 (1400 / 1.4 x (1 + 0.01)]
- Credit to the buyAccount: USD 1400
- Credit to the specified margin account: GBP 10
FX trade cut-off times
If a trade is booked in time for same-day settlement, you will receive a webhook notification of the settlement. If it fails to settle (in practice, because there are insufficient funds in the account), you will learn of the failure immediately. ClearBank will then send a fx-trade-cancelled-v1 webhook.
If a trade is booked, but cannot be settled until a later day, and the settlement fails, the fx-trade-settlement-failed-v1 webhook notifies you of the failure. Make sure you subscribe to this webhook if you are making FX trades with a value (settlement) date later than the day of booking.
Refer to the below table detailing the cut-off times for all currently supported currencies. Note that all times are in UK time.
Currency | Currency code | Start time | FX cut-off time (same day) | FX cut-off time (next day/2 days' time) |
---|---|---|---|---|
Canadian Dollar | CAD | 07:00 | 13:00 | 23:30 |
Swiss Franc | CHF | 07:00 | 09:30 | 23:30 |
Czech Koruna | CZK | 07:00 | TBC | 23:30 (not yet enabled) |
Danish Krone | DKK | 07:00 | 09:30 | 23:30 |
Euro | EUR | 07:00 | 13:00 | 23:30 |
British Pounds | GBP | 07:00 | 13:00 | 23:30 |
Hungarian Forint | HUF | 07:00 | TBC | 23:30 (not yet enabled) |
Norwegian Krone | NOK | 07:00 | 09:30 | 23:30 |
Polish Zloty | PLN | 07:00 | TBC | 23:30 (not yet enabled) |
Romanian Leu | RON | 07:00 | TBC | 23:30 (not yet enabled) |
Swedish Krona | SEK | 07:00 | 09:30 | 23:30 |
United States Dollar | USD | 07:00 | 13:00 | 23:30 |
FX trades minimum values
FX trades have minimum trading values defined for each currency. If you try to request a trade below these values, you will receive a 400 error response. For the full list of minimum trade values per currency, see Foreign exchange trade.