1

I want to sell Bitcoin automatically and immediately after I receive it.

Is there any exchange site has this feature?

3 Answers 3

1

You can use one of the Bitcoin exchanges and using their API, create something with the following logic:

while True:
    current_balance = get_balance("BTC")
    if  current_balance > 0:
        crypto_exchange.sell_market_order(current_balance)
        print("Sold %s" % current_balance)
        break
    else:
        time.sleep(60)

This would automatically sell your crypto as soon as its confirmed as an active balance on the exchange and it would "hedge" your crypto exposure in the process.

0

I expect that any exchange will require that deposit transactions (i.e. sent from the global Bitcoin network, not from another account within the exchange) have to be confirmed before the coins can be sold or traded. Otherwise, the exchange is vulnerable to double-spend attacks where a customer deposits coins, sells them, withdraws the cash, and then reverses the deposit transaction.

A common requirement is 6 confirmations, meaning that you will have to wait until your transaction is included in a block (which takes at least about 10 minutes on average, longer if the transaction fee you paid is too low) plus an additional 50 minutes on average.

So the answer is no, you should not expect to be able to sell Bitcoin immediately after you receive it.

-2

Yeah.. there are a lot of websites that allow you to sell Bitcoin for USD.

Here are a few:

2
  • This doesn't address the question of whether you can sell immediately. Commented Jul 31, 2018 at 21:18
  • How so? Have you ever used any of the platforms above? Localbitcoins is like craigslist. You get the money within minutes. Maybe immediately for you is within seconds? Commented Aug 1, 2018 at 18:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.