Function getStrategySchema

  • Retrieves a registered strategy schema by name.

    Parameters

    • strategyName: string

      Unique strategy identifier

    Returns IStrategySchema

    The strategy schema configuration object

    Error if strategy is not registered

    const strategy = getStrategy("my-strategy");
    console.log(strategy.interval); // "5m"
    console.log(strategy.getSignal); // async function