Binance Connector JS
    Preparing search index...

    Function replaceWebsocketStreamsPlaceholdersPreserveCase

    • Replaces placeholders in the format with corresponding values from the provided variables object, without changing the case of any value. Same as replaceWebsocketStreamsPlaceholders, except that <symbol> and <windowSize> values are kept as given.

      Parameters

      • str: string

        The input string containing placeholders.

      • variables: Record<string, unknown>

        An object where keys correspond to placeholder names and values are the replacements.

      Returns string

      • The resulting string with placeholders replaced by their corresponding values.