more bug fixes, and added calculation of BTC fees when selling BTC to buy another asset