forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on May 01, 2022, 12:32 pm

Title: how can I get the fee percentage on buying or selling a specific amount of bitcoin at any time?
Post by: Bitcoin on May 01, 2022, 12:32 pm
how can I get the fee percentage on buying or selling a specific amount of bitcoin at any time?

so im noob on all of this so bare with me.

im trying to test the possible net revenue of a trading algorithm/bot,
but i dont trust it enough to test it with real money, so im going to simulate how much money it would make, by finding out the transaction fees for each buy/ sell.
now ive read about it online and all i seem to find stuff like :


https://bitcoinfees.earn.com/api/v1/fees/recommended
output:
{ "fastestFee": 40, "halfHourFee": 20, "hourFee": 10 }

which seems to be in satoshis per byte,
so if i wanted to buy 1 btc at that time, how much would the fee be ?
or is there another API or service i can use ?
thanx


Source: how can I get the fee percentage on buying or selling a specific amount of bitcoin at any time? (https://bitcoin.stackexchange.com/questions/113540/how-can-i-get-the-fee-percentage-on-buying-or-selling-a-specific-amount-of-bitco)