Exchanges
General information
On the Trading > Exchanges page you can find trading information about the exchanges operations.
You can use filters to search for a specific exchange operation. To expand all filters, click the down arrow at the top of the table.
You can filter exchange operations by the following criteria:
ID — the system identifier of an exchange.
Status — the exchange status. Possible values:
Created —the operation has been created and is in the queue for processing.
Failed — the operation failed in the blockchain.
Success — the operation was successfully completed.
Pending — the operation is now being processed.
Applicant — a client who has performed an exchange operation.
Company — the name of a client’s company.
Trading order — the identifier of the trading order that was created as a result of an exchange operation.
External order ID — the identifier of the trading order in the hedging system.
From currency — the debiting currency of the exchange operation.
To currency — the crediting currency of the exchange operation.
Created at — the date and time when the exchange was created.
Click the check mark icon to apply the filters. To reset filters, click the cross icon.
On the Trading > Exchanges tab, you can find the following information:
- ID
The system identifier of an exchange operation.
- Status
The exchange operation status. Possible values:
Created —the operation has been created and is in the queue for processing.
Failed — the operation failed in the blockchain.
Success — the operation was successfully completed.
Pending — the operation is now being processed.
- Applicant
A client who has performed an exchange operation.
- Trading order
The identifier of the order that was created as a result of hedging of the exchange operation as well as the result of the hedging (
success
orfail
). This is a link to the order details.- From amount
The amount of the exchange operation in the debiting currency.
- Symbol from
The indication of the symbol of the debiting currency.
- To amount
The amount of the exchange operation in the crediting currency.
- Symbol to
The indication of the symbol of the crediting currency.
- Delivery cost
The amount of blockchain fee that B2BinPay spent for the transportation of funds from the global wallet to a client’s wallet.
- Markup
The markup value, in percents. This value represents the profit B2BinPay expects from the exchange operation.
- Final markup
The markup value that represents actual profit or loss from the exchange operation.
- Profit (USD)
Profit or loss from the exchange operation before hedging, in base currency.
- Profit with hedging (USD)
Profit or loss from the exchange operation after hedging, in base currency.
- Created at
The date and time when an exchange operation was created.
- Export
Click this button to download the up-to-date balances report or subscribe to automatically receive scheduled reports. For more details, see Reports and Subscriptions.
Exchanges details
To view the detailed information about an exchange, click the exchange ID.
On the details page, you can view the following information about an exchange operation:
- Status
The exchange operation status. Possible values:
Created —the operation has been created and is in the queue for processing.
Failed — the operation failed in the blockchain.
Success — the operation was successfully completed.
Pending — the operation is now being processed. For this status additional message about the current stage of the exchange operation is displayed.
- Amount from
The exchange operation amount in the debiting wallet (without blockchain fee).
- Currency from
The debiting currency.
- Rate
The exchange rate that was used for the exchange operation. The rate is calculated as follows:
Rate = Backoffice raw rate - Markup
.- Amount to
The amount of the exchange operation in the crediting currency.
- Currency to
The crediting currency.
- Delivery cost
The amount of blockchain fee that B2BinPay spent for the transportation of funds from the global wallet to a client’s wallet.
- Delivery cost currency
The currency of the delivery fee.
- Final rate
Rate with markup and transportation fees (that is blockchain fees that are charged for sending funds from the global wallet to a client’s wallet). This rate is calculated as follows:
Final rate = (Total amount + (delivery_cost * delivery_rate)) / Amount
, where:Total amount is the amount of funds received by a client
Amount is the amount sent by a client
delivery_cost is the amount spent for funds transportation (dust + blockchain fee)
delivery_rate is the rate of the blockchain currency fee to amount currency
- Applicant
A client who has performed an exchange operation.
- Trading order
The identifier of the order that was created as a result of hedging of the exchange operation as well as the result of the hedging (
success
orfail
). This is a link to the order details.
Here, you can also find essential Profit and Loss information:
- Client requested rate
The client’s rate that was specified by a client for an exchange operation. The actual rate may differ from the client’s one if a transfer from a client’s wallet was made after the freeze rate time specified in the settings.
- Delivery costs rate to target
The rate of the blockchain fee currency that is charged for sending funds from the global wallet to a client’s wallet.
- Backoffice raw rate
The rate that was received from the rate provider (without markup). This rate is calculated as follows:
Backoffice raw rate = (Rate *100) / (100 - Markup)
.- Final rate
Rate with markup and transportation fees (that is blockchain fees that are charged for sending funds from the global wallet to a client’s wallet). This rate is calculated as follows:
Final rate = (Total amount + (delivery_cost * delivery_rate)) / Amount
, where:Total amount is the amount of funds received by a client
Amount is the amount sent by a client
delivery_cost is the amount spent for funds transportation (dust + blockchain fee)
delivery_rate is the rate of the blockchain currency fee to amount currency
- Markup
The value that represents the profit that B2BinPay is expected, in percents.
- Final markup
The value that represents actual profit or loss from the exchange operation, in percents. This value is calculated as follows:
Final markup = 100 - (Final rate * 100 / trading_rate)
, where:trading_rate is a rate of the closed order on the exchange (if it was a Sell side, the trading rate is used; if it was a Buy side,
1
is divided to the trading rate).
- Profit base
Profit or loss before hedging, in base currency. This value is calculated as follows:
Profit base = income_amount + profit_dust - loss_amount - spent_fee
, where:profit_dust is greater than zero only for OMNI tokens
loss_amount is the amount of transfer made from the global wallet to a client’s wallet; this amount is multiplied by the backoffice raw rate value (rate without markup)
spent_fee is the amount of dust and blockchain fee charged for token transportation; for coins it is a blockchain fee
- Profit target
Profit or loss before hedging, in the target currency. This value is calculated as follows:
Profit target = income_amount + profit_dust - loss_amount - spent_fee
, where:income_amount is the amount of transfer from a client’s wallet to the global wallet multiplied by the Backoffice raw rate value
profit_dust is greater than zero for OMNI tokens. It is a transfer dust charged for the transportation of funds to the global wallet in base currency and multiplied by the reverse rate to the base currency of the transfer from the global wallet to a client’s wallet (
reverse rate = 1 / rate
)loss_amount is the amount of transfer sent from the global wallet to a client’s wallet
spent_fee is the sum of dust and blockchain fee multiplied by the Delivery costs rate to target value that is spent for the token transportation to a client’s wallet; for coins, it is a blockchain fee
- Profit base with hedging
The profit or loss calculated after hedging, in base currency. This value is calculated depending on the side of the hedging order:
For the Sell side the formula is as follows:
profit_hedge_base = trade_target - backoffice_target - spent_fee
, where:spent_fee is a dust and blockchain fee charged for the transportation of tokens; for coins it’s the blockchain fee
rate_base is a rate to the base currency for an outgoing transfer from the global wallet to a client’s wallet
backoffice_target is the amount of transfer from the global wallet to a client’s wallet, in base currency
trade_target is the value calculated as
trading_order.external_total * rate_base
For the Buy side the formula is as follows:
profit_hedge_base = backoffice_source - trade_source - spent_fee
, where:profit_hedge_base is a value calculated as
backoffice_source - trade_source - spent_fee
spent_fee is a dust and blockchain fee charged for the transportation of tokens; for coins it’s the blockchain fee
rate_base is a rate to the base currency for an outgoing transfer from the global wallet to a client’s wallet
backoffice_source is the amount of transfer from a client’s wallet to the global wallet, in base currency
trade_source is the value calculated as
trading_order.external_total * rate_base
- Profit target with hedging
The profit or loss calculated after hedging, in target currency. This value is calculated depending on the side of the hedging order:
For the Sell side the formula is as follows:
profit_hedge_target = trade_target - backoffice_target - spent_fee
, where:spent_fee is the sum of dust and blockchain fee multiplied by the Delivery costs rate to target value that is spent for the token transportation to a client’s wallet; for coins, it is a blockchain fee
backoffice_target is the amount of transfer from the global wallet to a client’s wallet
trade_target is the trading_order.external_total
For the Buy side the formula is as follows:
profit_hedge_target = backoffice_target_from_source - trade_target - spent_fee
, where:spent_fee is the sum of dust and blockchain fee multiplied by the Delivery costs rate to target value that is spent for the token transportation to a client’s wallet; for coins, it is a blockchain fee
backoffice_target_from_source is the transfer amount sent from the global wallet and multiplied by the Backoffice raw rate
trade_target is the value calculated as
trading_order.external_total * Backoffice raw rate