Function overrideLauncherSchema

  • Overrides an existing launcher configuration in the framework.

    This function partially updates a previously registered launcher with new configuration. Only the provided fields will be updated, other fields remain unchanged.

    Parameters

    • launcherSchema: TLauncherSchema

      Partial launcher configuration object

      • launcherName

        Unique launcher identifier (must exist)

      • strategyName

        Optional: Strategy to run

      • exchangeName

        Optional: Exchange to run on

      • callbacks

        Optional: Lifecycle callbacks

    Returns Promise<ILauncherSchema>

    overrideLauncherSchema({
    launcherName: "my-launcher",
    strategyName: "another-strategy", // Only update the strategy
    });