I have wondered on how the Coinbase get / calculate its Fees and total upon inputting a value in the Order (Market, Limit, Stop). Can anyone explain how to get the Fees and Total or maybe there's a coinbase api to be used in this one? It would really be a big help. Thank you! Here's the attached screenshot
You can read more about the Coinbase fees here.
At this moment, Coinbase trading fee is 0.2%.
Fee: 0.2% of 20 is: 0.04
Total: 20 - 0.04 = 19.96 GBP / 10601.60 GBP = 0.00188273468 BTC
*10601.60: is BTC market price