#NEWLINE# def get_orders( self , instrument = None , count = 50 ) : #NEWLINE# #INDENT# '\n            See more:\n            http://developer.oanda.com/rest-live/orders/#getOrdersForAnAccount\n        ' #NEWLINE# url = '{0}/{1}/accounts/{2}/orders' . format ( self . domain , self . API_VERSION , self . account_id ) #NEWLINE# params = { #NEWLINE# #INDENT# 'instrument' : instrument , #NEWLINE# 'count' : count , #NEWLINE# #UNINDENT# } #NEWLINE# try : #NEWLINE# #INDENT# return self . _Client__call ( uri = url , params = params , method = 'get' ) #NEWLINE# #UNINDENT# except RequestException : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# except AssertionError : #NEWLINE# #INDENT# return False