Add GOLD/SILVER ratio indicator to dashboard
Add gold_silver_ratio indicator (xyz:GOLD / xyz:SILVER) with fallback reference of 61.59, mirroring the existing WTI/BRENT ratio setup. Also register xyz:GOLD and xyz:SILVER in WATCHED_COINS and data_fetcher defaults so the candle data is fetched for the new indicator.
This commit is contained in:
@ -175,7 +175,7 @@ if __name__ == "__main__":
|
||||
parser.add_argument(
|
||||
"--coins",
|
||||
nargs='+',
|
||||
default=["BTC", "ETH", "xyz:BRENTOIL", "xyz:CL"],
|
||||
default=["BTC", "ETH", "xyz:BRENTOIL", "xyz:CL", "xyz:GOLD", "xyz:SILVER"],
|
||||
help="List of coins to fetch (e.g., BTC ETH), or 'all' to fetch all coins."
|
||||
)
|
||||
parser.add_argument("--interval", default="1m", help="Candle interval (e.g., 1m, 5m, 1h).")
|
||||
|
||||
Reference in New Issue
Block a user