#NEWLINE# def create_order( self , order ) : #NEWLINE# #INDENT# '\n            See more:\n            http://developer.oanda.com/rest-live/orders/#createNewOrder\n        ' #NEWLINE# url = '{0}/{1}/accounts/{2}/orders' . format ( self . domain , self . API_VERSION , self . account_id ) #NEWLINE# try : #NEWLINE# #INDENT# return self . _Client__call ( uri = url , params = self . __dict__ , method = 'post' ) #NEWLINE# #UNINDENT# except RequestException : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# except AssertionError : #NEWLINE# #INDENT# return False