Function getSweepSchema

  • Retrieves a registered sweep schema by name.

    Parameters

    • sweepName: string

      Unique sweep identifier

    Returns ISweepSchema

    The sweep schema configuration object

    Error if sweep is not registered

    const sweep = getSweepSchema("tv-ideas-sweep");
    console.log(sweep.exchangeName); // "ccxt-exchange"
    console.log(sweep.gridAxes); // grid axes override or undefined