Simple app tracks your net worth including crypto assets.
Install requirements by:
pip3 install -r requirements.txt
Make sure you can run the tests
python3 test_coinmarketcap.py
Fill in the cash_holdings.json
and crypto_holdings.json
according to your holdings. You can only include the cryptos and currencies indicated below:
PHP, HUF, IDR, TRY, RON, ISK, ILS, CNY, USD, EUR, PLN, GBP, CAD, AUD, MYR, NZD, CHF, HRK, SGD, DKK, BGN, CZK, BRL, JPY, KRW, INR, SEK, MXN, RUB, HKD, ZAR, THB, NOK, PHP, HUF, IDR, TRY, RON, ISK, ILS, CNY, USD, EUR, PLN, GBP, CAD, AUD, MYR, NZD, CHF, HRK, SGD, DKK, BGN, CZK, BRL, JPY, KRW, INR, SEK, MXN, RUB, HKD, ZAR, THB, NOK
Sample cash_holdings.json
file:
{
"USD":"100",
"EUR":"200",
"NOK":"300"
}
Sample crypto_holdings.json
value:
{
"bitcoin":"1.3",
"ripple":"500",
"decred":"23",
"bitcoin-cash":"11"
}
After getting the json files in place, execute:
import total_worth
total_worth.save_total_worth()
now networth.txt should be recorded in the current directory
Different stocks and currencies