Android - 如何检索货币汇率

发布于 2024-10-09 06:15:21 字数 137 浏览 0 评论 0原文

我正在尝试为 Android 开发一个简单的外汇应用程序。 首先,我需要获取过去一年的货币汇率。

有人可以建议我该怎么做吗? 我查看了 Google Financh API,但找不到如何检索货币汇率。 任何建议表示赞赏。

谢谢。

I'm trying to develop a simple Forex app for Android.
To start off, I need to get the currency exchange rates, say for the past year.

Could anybody advice how I can go about this?
I looked in Google financh API but couldn't find how to retrieve currency rates.
Any advice is appreciated.

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

残龙傲雪 2024-10-16 06:15:21

您可以解析来自美联储的数据。它具有按国家/地区分开的历史数据。您可以在此处找到链接:

http://www.federalreserve.gov/releases/h10/Hist /

数据以普通 ascii 格式给出,使其非常易于解析。

You can parse the data from the federal reserve. It has historical data separated by country. You can find the link here:

http://www.federalreserve.gov/releases/h10/Hist/

Data is given in plain ascii, making it very easy to parse.

尤怨 2024-10-16 06:15:21

您可以访问一些外汇公司 API,并访问一系列货币对的实时和历史数据。

Oanda 提供 API :http://fxtrade.oanda.com/trade-forex/api/

盈透证券还提供了一个:http://www .interactivebrokers.com/en/p.php?f=programInterface&p=

XE 有数据馈送服务:http://www.xe.com/ict/

CurrencyFreaks 提供 179 种货币的最新汇率:https://currencyfreaks.com/

You could access some Foreign Exchange company APIs and get access to realtime and historical data of a range of currency pairs.

Oanda provide an API : http://fxtrade.oanda.com/trade-forex/api/

Interactive Brokers provide one also : http://www.interactivebrokers.com/en/p.php?f=programInterface&p=

XE have a data feed service: http://www.xe.com/ict/

CurrencyFreaks provides latest exchange rate for 179 currencies: https://currencyfreaks.com/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文