summaryrefslogtreecommitdiff
path: root/cli/src/trading_cli/commands/strategy.py
blob: 68ffeee598e830183e8fc64df1663c1eedfa28d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import click


@click.group()
def strategy():
    """Strategy management commands."""
    pass


@strategy.command("list")
def list_():
    """List all available trading strategies."""
    click.echo("Fetching available strategies...")


@strategy.command()
@click.option("--name", required=True, help="Strategy name")
def info(name):
    """Show detailed information about a strategy."""
    click.echo(f"Fetching details for strategy: {name}...")