quantmod
Rollapply & xts. Can I output the time of max value in the window?
I\'m studying some yahoo finance data via quantmod. How would I determine not only the Max and Min price over a rolling window of data, but also the exact Timestamp of those highs and lows? I have tr[详细]
2023-04-10 08:35 分类:问答How to calculate days since moving average crossover?
I\'m trying to determine the number of days that have passed since the beginning of a trend, e.g. when price has moved above the 200 day moving average (SMA).For example:[详细]
2023-04-10 08:14 分类:问答Pulling historic analyst opinions from yahoo finance in R
Yahoo Finance has data on historic analyst opinions for stocks.I\'m interested in pulling this data into R for analysis, and here is what I have so far:[详细]
2023-04-08 12:16 分类:问答Find whether a particular date is an Option Expiration Friday - problem with timeDate package
I am trying to write a simple function that (should) return true if the parameter date(s) is an Op-Ex Friday.[详细]
2023-04-06 17:38 分类:问答quantmod 3d graphics
I am trying to use the code on the quantmod website for a 3d graph.I followed the instructions and entered the year as 2010 (since 2008 link was not found).However, when I enter this command at the R[详细]
2023-04-04 04:54 分类:问答Adding points to xts plot
I开发者_如何学运维 thought Adding Points, Legends and Text to plots using xts objects would have the answer to this question, but apparently not...[详细]
2023-04-02 04:43 分类:问答How to draw a line on chartSeries plot using quantmod?
I would like to produce a plot like this https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20110826/19da3834/attachment.png using quantmod.[详细]
2023-03-31 01:28 分类:问答newTA SMA OBV How to?
I am trying to create a new indicator in R with quantmod\'s command newTA but i can\'t make it. The indicator is a simple 20-day moving average of the OBV.[详细]
2023-03-22 14:02 分类:问答Getting stock news data from google in R [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-02-27 13:47 分类:问答Parallelize a rolling window regression in R
I\'m running a rolling regression very similar to the following code: library(PerformanceAnalytics) library(quantmod)[详细]
2023-02-25 21:18 分类:问答