[docs]defget(identifier:str)->Portfolio:"""Gets the `TradingStrategy` that matches with the identifier. Arguments: identifier: The identifier for the `TradingStrategy` Raises: KeyError: if identifier is not associated with any `TradingStrategy` """ifidentifiernotin_registry.keys():raiseKeyError('Identifier {} is not associated with any `TradingStrategy`.'.format(identifier))return_registry[identifier]