diff --git a/settings.example.json b/settings.example.json index d37115f..a0e65af 100644 --- a/settings.example.json +++ b/settings.example.json @@ -60,7 +60,8 @@ "options": { "targetValueUsd": 50000, "rebalanceDeltaPct": 1.0, - "minValueBtc": 0.0001 + "minValueBtc": 0.0001, + "hideMissingCoins": false }, "outputFile": false } diff --git a/src/index.js b/src/index.js index 5872005..3301e2f 100644 --- a/src/index.js +++ b/src/index.js @@ -38,7 +38,9 @@ async function refreshPortfolio() { } } - await Portfolio.addMissingCoins() + if (!settings.options.hideMissingCoins) { + await Portfolio.addMissingCoins() + } Portfolio.trim() Portfolio.removeCoin('USDT')