Try to identify if that live currency price data is available from a proper data feed of sorts - for example, https://fixer.io/ (note: we do not test, support or endorse that particular example), and using either a built-in adapter or a custom adapter, you would have a better more resilient application.