Adapts to changes in Oanda_API