Selling Bitcoin with Google Sheets / Venta de Bitcoin con Google Sheets

in #google7 years ago (edited)

So you're selling Bitcoin on a regular basis. Tired of multitasking between your browser, calculator and Bitcoin wallet to figure out how much to send to your customer? Well, here's something to help you out!

It's basically a Google Sheets document that uses the Bitstamp price API (although you can use other ones) and uses the IMPORTXML function to query bitcoinfees.info to get the recommended transaction fee in satoshis/byte. Just enter how much the customer wants to buy from you in the "Purchase (USD inputs)", configure how much markup you want to charge, and that's it! It will load the BTC price in the Google Sheets, and subtract the markup and TX fee.

It's a first iteration, and it can be improved. Hopefully if you can improve it, you'll post it back here or elsewhere so someone else can benefit.

Comments, constructive criticisms and upvotes are welcome.

https://docs.google.com/spreadsheets/d/1uFQaqgB3K7WZkafRBKMuv5LLLQXRTmGIW4vSj9k11AQ/edit?usp=sharing


[ESPAÑOL]

Entonces estás vendiendo Bitcoin regularmente. ¿Cansado de hacer multitasking entre tu navegador, tu calculadora, y el monedero de Bitcoin para calcular cuánto le envías a tu cliente? Bueno, ¡esto te puede ayudar!

Es básicamente un documento de Google Sheets que usa el API de Bitstamp para sacar el precio (aun que pueden usar otro API de otro exchange si desean) y la función de IMPORTXML para sacar la tarifa de transferencia en satoshis/byte. Solo digita cuánto quiere comprar tu cliente en el "Purchase (USD inputs)", configura cuánto margen quieres cobrarle, ¡y listo! El documento cargará el precio de BTC y restará el margen y la tarifa de transferencia.

En caso que la compra sea en una moneda diferente de USD, en la pestaña de "Venta BTC" donde tienes la posibilidad de poner otra moneda con el tipo de cambio.

Es una primera iteración, y puede ser mejorado. Ojalá ustedes puedan mejorarlo y lo publicarán aquí o en otro lado para que los demás se beneficien.

Comentarios, críticas constructivas y upvotes son bienvenidos.

https://docs.google.com/spreadsheets/d/1uFQaqgB3K7WZkafRBKMuv5LLLQXRTmGIW4vSj9k11AQ/edit?usp=sharing

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.028
BTC 63721.78
ETH 3503.08
USDT 1.00
SBD 2.54