An open API service indexing awesome lists of open source software.

https://github.com/mikiw/btcinvestingcalculator

BTC income calculator in GoLang is based on the assumption that an income transaction is a buy transaction at that time on the market and an outcome transaction is a sell.
https://github.com/mikiw/btcinvestingcalculator

bitcoin go golang

Last synced: 3 months ago
JSON representation

BTC income calculator in GoLang is based on the assumption that an income transaction is a buy transaction at that time on the market and an outcome transaction is a sell.

Awesome Lists containing this project

README

        

# CryptoInvestingCalculator

BTC income calculator in GoLang is based on the assumption that an income transaction is a buy transaction at that time on the market and an outcome transaction is a sell.

To run it we can simply change the wallet address and type:
```
go run .\Main.go
```

Result will be:
```
sumSellValue: 0.18734452000000004
sumSellUsd: 7615.893100012698

sumBuyValue: 0.18734452000000004
sumBuyUsd: 7565.0997448037615

Income in USD: 50.79335520893619
Remaining BTC: 0
```