Function getSymbol

  • Gets the current trading symbol from execution context.

    Returns Promise<string>

    Promise resolving to the current trading symbol (e.g., "BTCUSDT")

    Error if execution context is not active

    const symbol = await getSymbol();
    console.log(symbol); // "BTCUSDT"