diff --git a/client/docker-finance.d/container/fetch/fetch.yaml.in b/client/docker-finance.d/container/fetch/fetch.yaml.in index eec1185..498483b 100644 --- a/client/docker-finance.d/container/fetch/fetch.yaml.in +++ b/client/docker-finance.d/container/fetch/fetch.yaml.in @@ -30,8 +30,19 @@ # Where :subaccount-2:... (and successive subaccounts) are optional # (the final subaccount in the chain being wallet-name (per address)). # -# 2. For cryptocurrency tickers, visit coingecko.com to get the token's ID. -# Combine the ID with the symbol, as seen below (e.g., bitcoin/BTC). +# 2. For cryptocurrency assets: +# +# - Mobula: +# +# 1. Visit mobula.io to search for your asset +# 2. Prepend the ID to the ticker (as seen below) +# a. If necessary, use contract address as asset ID +# b. If necessary, prepend the blockchain to asset ID (as seen below) +# +# - CoinGecko: +# +# 1. Visit coingecko.com to get the assets's ID +# 2. Prepend the ID to the ticker (as seen below) # # 3. For account APIs, replace XXXXXXX... with your API-related information. # Accounts below will provide unique details/caveats on API key creation. @@ -50,26 +61,76 @@ version: @DOCKER_FINANCE_VERSION@ @DOCKER_FINANCE_PROFILE@: @DOCKER_FINANCE_SUBPROFILE@: price: - #- "compound-usdt/cUSDT" # NOTE: delisted on coingecko: 2022-06-18 - - "aave-usdc/aUSDC" - - "algorand/ALGO" - - "autonolas/OLAS" - - "binance-usd/BUSD" - - "bitcoin/BTC" - - "cardano/ADA" - - "ethereum/ETH" - - "gemini-dollar/GUSD" - - "litecoin/LTC" - - "matic-network/MATIC" - - "metacade/MCADE" - - "multichain/MULTI" - - "paxos-standard/PAX" - - "paypal-usd/PYUSD" - - "tether/USDT" - - "tezos/XTZ" - - "usd-coin/USDC" - account: + mobula: + # NOTE: visit mobula.io for free API key + #key: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" + key: + asset: + - "algorand/ALGO" + - "autonolas/OLAS" + - "bitcoin/BTC" + - "busd/BUSD" + - "cardano/ADA" + - "ethereum/ETH" + - "litecoin/LTC" + - "metacade/MCADE" + - "multichain/MULTI" + - "tether/USDT" + - "tezos/XTZ" + # USDC + - "usdc/USDC" + #- "ethereum:usdc/USDC" # same as above + #- "avalanche:0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e/USDC" + #- "optimistic:0x0b2c639c533813f4aa9d7837caf62653d097ff85/USDC" + + # USDC (bridged USDC.e) + # NOTE: '.' removed from ticker for hledger + - "arbitrum:0xff970a61a04b1ca14834a43f5de4533ebddb5cc8/USDCe" + + # Aave V2 USDC + - "ethereum:0xbcca60bb61934080951369a648fb03df4f96263c/aUSDC" + #- "polygon:0x625e7708f30ca75bfd92586e17077590c60eb4cd/aUSDC" + + # Gemini USD + - "ethereum:0x056fd409e1d7a124bd7017459dfea2f387b6d5cd/GUSD" + + # Compound USDT + - "ethereum:0xf650c3d88d12db855b8bf7d11be6c55a4e07dcc9/cUSDT" + + # MATIC (on Ethereum) + - "ethereum:0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0/MATIC" + + # Paxos (treated as USDP) + - "ethereum:0x8e870d67f660d95d5be530380d0ec0bd388289e1/PAX" + + # PayPal USD + - "ethereum:0x6c3ea9036406852006290770bedfcaba0e23a0e8/PYUSD" + + coingecko: + # NOTE: an empty `key` will use the free Public API. Otherwise, Pro API (paid plan) will be used. + key: + asset: + #- "compound-usdt/cUSDT" # NOTE: delisted on coingecko: 2022-06-18 + - "aave-usdc/aUSDC" + - "algorand/ALGO" + - "autonolas/OLAS" + - "binance-usd/BUSD" + - "bitcoin/BTC" + - "cardano/ADA" + - "ethereum/ETH" + - "gemini-dollar/GUSD" + - "litecoin/LTC" + - "matic-network/MATIC" + - "metacade/MCADE" + - "multichain/MULTI" + - "paxos-standard/PAX" + - "paypal-usd/PYUSD" + - "tether/USDT" + - "tezos/XTZ" + - "usd-coin/USDC" + + account: # When creating a Gemini API key, create a key with only the "Auditor" role gemini: key: "account-XXXXXXXXXXXXXXXXXXXX"