Rate insurance
Instructions for setting up rate insurance
Use of rate insurance
The insurance rate, when properly configured, can be useful in the following cases:
When the service that provides exchange rates to the parser is temporarily paused. For example, if the exchange or any other service undergoes technical maintenance and the rates may not update.
When using a competition parser. For instance, to specify the maximum exchange rate you are willing to offer to the client, and what action will be taken with the direction if the final exchange rate exceeds your maximum stated rate (i.e., the insurance rate will trigger).
Algorithm of functionality operation
Exchange rate calculation formula
feeRate = FeePercent / 100
in = in + (in * feeRate)
discountRate = discount / 100
in = in - (in * discountRate)
rate (exchange rate including commission percentage) = out / in
Formula for calculating the insurance rate
Current insurance rate = RateTo / RateFrom - defaultPercent
Insurance rate = Current insurance rate + maxLimitPercent.
Rate insurance work options
When the rate insurance triggers in the admin panel, the direction is highlighted in red, and the safeguard rate is displayed.
Last updated