Currency exposure calculator for travel agencies
currency-exposure-calculatorFor a travel booking sold to the client in one currency (e.g. GBP) with supplier costs in another (e.g. EUR), returns the margin at the quoted rate, at the rate now and when the client currency moves up or down by each scenario percentage, the break-even rate, the margin at risk from the largest adverse move, and an optional comparison with a locked rate. Rates are units of supplier currency per 1 unit of client currency and must be supplied by the caller (no live or reference rates are provided). A deposit or balance already paid or fixed is entered with its rate and is no longer exposed. Not financial or hedging advice. Web page: https://globalluxagency.com/tools/currency-exposure-calculator
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"supplierCost": "<supplierCost>",
"clientPrice": "<clientPrice>",
"quotedRate": "<quotedRate>"
},
"name": "currency-exposure-calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| today | No | Reference date for days to each payment, YYYY-MM-DD. Defaults to today (UTC). | |
| rateNow | No | Rate now, or the rate you expect to pay at, same convention. Defaults to quotedRate. | |
| lockedRate | No | Optional locked rate to compare for the open amount (e.g. a rate offered by your FX provider); 0 = none. | |
| quotedRate | Yes | Rate used when quoting: units of supplier currency per 1 unit of client currency (e.g. 1.18 for 1 GBP = 1.18 EUR). Ignored when the currencies match. | |
| balanceDate | No | Balance due date, YYYY-MM-DD (optional). | |
| clientPrice | Yes | Price agreed with the client, in the client currency. | |
| depositDate | No | Deposit due date, YYYY-MM-DD (optional). | |
| supplierCost | Yes | Total supplier cost, in the supplier currency. | |
| scenarioMoves | No | Comma-separated % moves in the client currency, each applied up and down from the rate now (up to 6; example default "2,5,10"). | 2,5,10 |
| clientCurrency | No | Currency the client pays in. | GBP |
| depositPercent | No | Share of the supplier cost due as a deposit, %; the rest is the balance (example default 30%). | |
| balanceFixedRate | No | Rate at which the balance was paid or fixed; 0 = still open. | |
| depositFixedRate | No | Rate at which the deposit was paid or fixed; 0 = still open. | |
| supplierCurrency | No | Currency the supplier is paid in. | EUR |