It's to check when I should sell my btc according to how much I want to earn
Using the npm install
npm i
start project
nodemon
usable url bitcoin,dolar,euro
Quotation bitcoinQuotation, verb used http POST. To used post need to pass a json. Exemple:
{
"coinOld":90965,
"amount":1,
"amountNew":1.13
}
coinOld -> It's the amount you paid in bitcoin
amount -> It's the amount in reais you bought of bitcoin
amountNew -> It's the amount i want to redeem in reais
Response service:
{"percentage":12.99999999999999,"valueShouldSell":102790.45,"btcNew":0.00001099323915791788}
btcNew -> Is the amount of bitcoin i bought with the coinOld
Used it's api