Open orders are pending buy or sell orders that a trader has placed on the platform's perpetual futures market but haven't been filled. We can get openOrders for a particular user Account, by querying the orders field, and checking orders with status "open".
You can directly copy paste this code on replit and see it in action.