Hi,
I am looking into trading bitcoins and have a couple of questions. How do you trade on the market if it takes such a long time for the order to be processed. Lets say I sell BTC on an exchange for USD when the price is x. Now the price is y. Do I get x or y?
your title is irrelevant to your question! confirmation has nothing to do with trading.
and to answer your question it depends on what x and y are.
for example imagine the buy order books has a buy order on top at the price of $5500.
now if you place a sell order at $5400 your order will be filled immediately and you get the highest value meaning the $5500 price * amount you sold - fees.
however if you place a sell order at $5600 you have to wait until someone buys it from you at that price and you will get $5500 price * amount you sold - fees
the time it takes (which you call it being processed) is the time it takes until someone comes along and buys bitcoin from you at the price that you wish to sell.