17 lines
337 B
Bash
17 lines
337 B
Bash
|
# Paths
|
||
|
PRICES_FILE="~/hledger/$(date +%Y).prices"
|
||
|
|
||
|
# API KEYS
|
||
|
POLYGON_API_KEY='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
||
|
|
||
|
# Assets
|
||
|
declare -A assets; assets+=(
|
||
|
# Key is the name that goes in the journal
|
||
|
# Value is the ticker searched in the API
|
||
|
["BTC"]="X:BTCUSD"
|
||
|
["ETH"]="X:ETHUSD"
|
||
|
["XMR"]="X:XMRUSD"
|
||
|
["MKR"]="X:MKRUSD"
|
||
|
["AMD"]="AMD"
|
||
|
)
|