From Documentation:

# Get an enumerable of open QuantConnect.Orders.OrderTicket for the specified
# symbol
self.GetOpenOrderTickets(filter = null):
return List<OrderTicket>


My Code:

otFilter = lambda ot: ( ot.Symbol == OrderTicket.Symbol and self.OpenTag in OrderTicket.Tag )
OTList = self.Transactions.GetOpenOrderTickets(otFilter)




Error Message:

Runtime Error: Trying to dynamically access a method that does not exist throws a TypeError exception. To prevent the exception, ensure each parameter type matches those required by the GetOpenOrderTickets method. Please checkout the API documentation. at OnOrderEvent in 298 :: OTList = self.Transactions.GetOpenOrderTickets(otFilter) TypeError : No method matches given arguments for GetOpenOrderTickets


How do I set and pass correct filter parameter to function all   self.Transactions.GetOpenOrderTickets( filter = null )   ?    Can you point me to any pytho example code? 


Thank you in advance.