简体   繁体   English

VBA-从Oanda拉动汇率变动

[英]VBA - Pull changing exchange rates from Oanda

I'm doing a project and need help getting started. 我正在做一个项目,需要入门帮助。

Essentially what I am doing is pulling data with changing parameters every single day and need the exchange rate for the average period. 本质上,我正在做的是每天都在更改参数的情况下提取数据,并且需要平均期间的汇率。

Example: Today is June 10th. 示例:今天是6月10日。 I need the Period Average from June 1st to June 9th of various exchange rates. 我需要各种汇率的6月1日至6月9日的期间平均值。

The difficult part is that every day, I need to update the period range and change the exchange rates being viewed. 困难的部分是,每天我都需要更新期间范围并更改所查看的汇率。 So tomorrow, the 11th, I will need the PA from the 1st to the 10th. 所以明天11号,我将需要1号到10号的功率放大器。

Anyone have any ideas on how to get started? 有人对入门有任何想法吗?

Arrange the data how you want it and then use the Excel macro recorder to record the actions that you want to take. 安排所需的数据,然后使用Excel宏记录器记录要执行的操作。 That will give you a good starting point. 这将为您提供一个良好的起点。 You can then examine the code, work out what it is doing and change it as required. 然后,您可以检查代码,确定其作用并根据需要进行更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM