I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).
If you are new here, please see some information on how to ask for support. Thank you!
-
AnonymousInactive
We See only at the exchange the btc fees on the adapter but not on the other coins
Attachments:
You must be
logged in to view attached files.
Hello,
This is intentional. The fees are always charged on the base coin, not the quote coin of the market.
Suppose that user 1 is a buyer and user 2 is a seller. Then, the four transactions that you see are:
one tx for removing the base coin from user 1 (fees are charged in this tx)
one tx for adding the base coin to user 2 (fees are charged in this tx)
one tx for removing the quote coin from user 2 (no fees)
one tx for adding the quote coin to user 1 (no fees)
Hope this helps.
AnonymousInactive
can you read the fees?
and display it on another page?
AnonymousInactive
show fees when trading extra field
Hello,
There is no shortcode to display the fees.
The maker and taker fee percentages are in the following JavaScript fields:
walletsExchangeUserData.makerFee
walletsExchangeUserData.takerFee
So you can use these to display fees. The amounts that the user enters into the limit buy / limit sell forms are in wp.wallets.viewModels.walletsExchange.exchangeBuyAmount()
and wp.wallets.viewModels.walletsExchange.exchangeSellAmount()
. So you could do the multiplication and display fees.
But until the order is executed, you do not know how much of it is going to be charged with maker fees and how much with taker fees. For that you would have to run the algorithm through a snapshot of the order book. So it is much easier to give a low and a high estimate for the fees.
Hope this helps.
with regards
- You must be logged in to reply to this topic.