From a43d8ee071009688ca69d7e614f8728e22118941 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Tue, 29 Jul 2025 21:03:51 +0200 Subject: [PATCH] Sets default interval hours for subnets price to 4, bc of rate limiting. --- bittensor_cli/cli.py | 2 +- bittensor_cli/src/commands/subnets/price.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bittensor_cli/cli.py b/bittensor_cli/cli.py index a11b2ed18..4520a17cd 100755 --- a/bittensor_cli/cli.py +++ b/bittensor_cli/cli.py @@ -5009,7 +5009,7 @@ def subnets_price( "Netuids to show the price for. Separate multiple netuids with a comma, for example: `-n 0,1,2`.", ), interval_hours: int = typer.Option( - 24, + 4, "--interval-hours", "--interval", help="The number of hours to show the historical price for.", diff --git a/bittensor_cli/src/commands/subnets/price.py b/bittensor_cli/src/commands/subnets/price.py index 461ed4325..e5dae1b6f 100644 --- a/bittensor_cli/src/commands/subnets/price.py +++ b/bittensor_cli/src/commands/subnets/price.py @@ -27,7 +27,7 @@ async def price( subtensor: "SubtensorInterface", netuids: list[int], all_netuids: bool = False, - interval_hours: int = 24, + interval_hours: int = 4, html_output: bool = False, log_scale: bool = False, json_output: bool = False,