Bitcoin : With the btc price changing every second, how can you accurately display conversion to fiat currency?
So the ASK price of BTC is constantly moving — every second. I’m trying to build out a simple UI where the user can enter in the amount of BTC they want to buy, and then display how much that will cost them in USD. But when the user finally presses the ‘Buy’ button, the price of BTC might have changed slightly, and the user will be charged a different value of USD than what was displayed in checkout. WTF? Is there a way around this? How are other exchanges handling this?
Is this even possible with a market order? or do I need to send a limit order for the current ask, which would essentially lock in that USD price, right?
Bitcoin is a distributed, worldwide, decentralized digital money. Bitcoins are issued and managed without any central authority.
FindCrypto scans the web for the latest Bitcoin news, so you can find all the latest and breaking news in one convenient location.Author: bitcoindeveloperbro
Don’t forget to share the post if you love it !