Hi, 

i've been trying to get some info on how to cancel ALL current open orders. Based on this:

https://www.quantconnect.com/docs/algorithm-reference/trading-and-orders

So far i have this:

openOrders = self.Transactions.GetOpenOrders() for x in openOrders: self.Transactions.CancelOrder(x)

Which return this error:

Runtime Error: In Scheduled Event 'EveryDay: 15.83', 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 CancelOrder method. Please checkout the API documentation. TypeError : No method matches given arguments for CancelOrder

Some help would be greatly appreciated !

Thanks !

Author