Missing an assignment to currency here (currency = kwargs.get(...))