How do bitcoin exchanges commit the limit/market orders?

1

I'm trying to understand the topic of blockchain and bitcoins as well. So, the only one question I want to get answer for: how do exchanges commit orders? I mean, how the transaction could be started by exchange? As I understand, only the owner of wallet (with the pair of pub/private key) can start transaction for transferring some amount of btc. So, I can't find the information about "remote control" of wallet. Maybe I am wrong, please correct me. And excuse me for my English. It's not my native language.

jahra

Posted 2017-03-10T13:48:22.967

Reputation: 113

Are you interested in orders on an exchange (which never reach the Bitcoin blockchain) or withdrawals/deposits into an exchange (which are recorded on the Bitcoin blockchain) ?Nick ODell 2017-03-10T20:13:57.833

I'm interested in the way how the exchange handles the user's wallet. I have some spaces in knowleges about work of exchange. So I want to know what happens when the exchange closes my order and about the flow of btc from one wallet to another.jahra 2017-03-10T20:26:58.763

Does exchange work directly with my wallet or I have to make deposit/withdraw to exchange account?jahra 2017-03-10T20:31:03.880

Answers

2

In general, if an exchange wants to execute a buy or sell order without asking you, the relevant Bitcoins need to be held by an address that the exchange controls. When an order executes, and Bitcoins change hands, nothing changes on the blockchain. The only thing that changes is a record internal to the exchange. It's only when you withdraw the money from the exchange that anything changes on the blockchain.

Nick ODell

Posted 2017-03-10T13:48:22.967

Reputation: 26 536

Thanks for response! As I understood, the flow is something like: I deposit bitcoins to a wallet controled by exchage (transaction is added to blockchain) In a case of order execution no new transactions are opened in blockchain, but updates the value of btc on my account. And a transaction is opened when I withdraw btc back to my wallet. Is it correct?jahra 2017-03-10T20:45:53.020

Yes, that's correct.Nick ODell 2017-03-10T20:47:25.890