parameters: (options)
return_statement: return subscriptionStrings
docstring: Creates a dict from the topics provided on the command line to their
      corresponding subscription strings.
docstring_summary: Creates a dict from the topics provided on the command line to their
      corresponding subscription strings.
docstring_tokens: Creates a dict from the topics provided on the command line to their corresponding subscription strings .
function: def createSubscriptionStrings(options):
      """
      Creates a dict from the topics provided on the command line to their
      corresponding subscription strings.
      """
      if not options.topics:
          options.topics = [DEFAULT_TOPIC]
  
      subscriptionStrings = {}
  
      # Use SubscriptionList to help construct the subscription string
      subscriptionList = blpapi.SubscriptionList()
      for i, userTopic in enumerate(options.topics):
          subscriptionList.add(userTopic, options.fields, options.options)
          subscriptionStrings[userTopic] = subscriptionList.topicStringAt(i)
          print(f"topic: {userTopic} -> subscription string: "
                f"{subscriptionStrings[userTopic]}")
  
      return subscriptionStrings
function_tokens: def createSubscriptionStrings ( options ) : if not options . topics : options . topics = [ DEFAULT_TOPIC ] subscriptionStrings = { } # Use SubscriptionList to help construct the subscription string subscriptionList = blpapi . SubscriptionList ( ) for i , userTopic in enumerate ( options . topics ) : subscriptionList . add ( userTopic , options . fields , options . options ) subscriptionStrings [ userTopic ] = subscriptionList . topicStringAt ( i ) print ( f"topic: {userTopic} -> subscription string: " f"{subscriptionStrings[userTopic]}" ) return subscriptionStrings