#NEWLINE# def get_instruments( self ) : #NEWLINE# #INDENT# '\n            See more:\n            http://developer.oanda.com/rest-live/rates/#getInstrumentList\n        ' #NEWLINE# url = '{0}/{1}/instruments' . format ( self . domain , self . API_VERSION ) #NEWLINE# params = { #NEWLINE# #INDENT# 'accountId' : self . account_id , #NEWLINE# #UNINDENT# } #NEWLINE# try : #NEWLINE# #INDENT# response = self . _Client__call ( uri = params , params = params ) #NEWLINE# assert ( len ( response ) > 0 ) #NEWLINE# return response #NEWLINE# #UNINDENT# except RequestException : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# except AssertionError : #NEWLINE# #INDENT# return False