I'm trying to return a "list" of Symbol objects from the 'CoarseSelectionFunction'. However, it seems the function wants a very specific list. Namely a 'System.Collections.Generic.1' object. How can I easily convert a standard Python list to this object?
The brute force method I have found is this:
quantconnect_list = List[Symbol]()
for symbol in python_list:
quantconnect_list.Add(symbol)
That isn't very elegant. Am I missing something?