阅读背景:

Jumping to the next available date when merging data.frames by date

来源:互联网 

I want to merge two data.frames by date. Data contains stock data for each trading day of a given stock. Events contains news about the company. Some news were published on non-trading days, so there are no stock data for this day. For example on 04.01.2000 some news for the company got published. I want to merge this article with the return of the NEXT trading day, in this case the return on the 06.01.2000. So how can I jump to the next trading day when merging?I want to merge two data.frames by date. Data c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: