search for: aapl

Displaying 20 results from an estimated 134 matches for "aapl".

Did you mean: aap
2010 Sep 10
2
[xts, quantmod] segfault probelm when I work with memcpy function
Hi, I work with SEXP C code and with xts and quantmod packages. I try to touch how xts internal works. So we have R session and: > ls() character(0) > getSymbols('AAPL') # quantmod package [1] "AAPL" > ls() [1] "AAPL" > str(AAPL) An ?xts? object from 2007-01-03 to 2010-09-09 containing: Data: num [1:929, 1:6] 86.3 84 85.8 86 86.5 ... - attr(*, "dimnames")=List of 2 ..$ : NULL ..$ : chr [1:6] "AAPL.Open"...
2016 Aug 31
3
source() does not include added code
...;d appreciate if someone with QuantStrat installed, to try this and see if they get a different result. My R and RStudio and QuantStrat libraries are all current. I get the chart and this much output. > source('~/CodingData/RCode/Quantstrat1/maCross.R') [1] "2001-06-27 00:00:00 AAPL 100 @ 1.526312" [1] "2001-09-07 00:00:00 AAPL -100 @ 1.13002" [1] "2002-01-07 00:00:00 AAPL 100 @ 1.497538" [1] "2002-07-10 00:00:00 AAPL -100 @ 1.132636" [1] "2003-05-16 00:00:00 AAPL 100 @ 1.22942" [1] "2006-06-22 00:00:00 AAPL -100 @ 7.792429&quo...
2016 Aug 31
3
source() does not include added code
...;d appreciate if someone with QuantStrat installed, to try this and see if they get a different result. My R and RStudio and QuantStrat libraries are all current. I get the chart and this much output. > source('~/CodingData/RCode/Quantstrat1/maCross.R') [1] "2001-06-27 00:00:00 AAPL 100 @ 1.526312" [1] "2001-09-07 00:00:00 AAPL -100 @ 1.13002" [1] "2002-01-07 00:00:00 AAPL 100 @ 1.497538" [1] "2002-07-10 00:00:00 AAPL -100 @ 1.132636" [1] "2003-05-16 00:00:00 AAPL 100 @ 1.22942" [1] "2006-06-22 00:00:00 AAPL -100 @ 7.792429&quo...
2018 Mar 15
1
Adjusting OHCL data via quantmod
...e AV's adjusted close column to adjust my OHCL data, my data will be adjusted for splits, and split-adjusted dividends. (So, I can use adjustOHLC(), with argument use.Adjusted = TRUE to adjust for splits, and split-adjusted dividends) Evidence: ### library(quantmod) #AV data getSymbols("AAPL",src = "av" ,api.key = my_api_key , adjusted = TRUE, output.size = "full") #supply your own api key #Manual adjustments for splits, and split-adjusted dividends close_av <- Cl(AAPL) splits <- getSplits("AAPL") dividends <- getDividends("A...
2017 Sep 01
3
How to use getSymbols() to get annual data
Dear Sir/Madam, How to use getSymbols() to get annual data? For example, I need the annual stock price of APPLE from the year 2000 to 2016. How to write the command? I only know how to get the daily data. It is: getSymbols("AAPL",from="2000-01-01",to="2016-12-31") Thank you very much. Have a good week! Best regards, Yingrui Liu [[alternative HTML version deleted]]
2012 Oct 11
2
simple parsing question?
I am using the getQuote function in the Quantmod package to retrieve the % change for a stock as follows: > getQuote("aapl",what=yahooQF(c("Change Percent (Real-time)"))) Trade Time %Change (RT) aapl 2012-10-11 03:41:00 N/A - -1.67% How can I extract the numeric "change %" which is being returned as a factor so that I can use it in other calculations? Thanks.
2009 Feb 07
1
Yahoo data downloading problem
Hi, I got some problems while was trying to download data from Yahoo using yahoo.get.hist.quote() function. My script is as follows : app <- yahoo.get.hist.quote("aapl", start="02/07/09", end="02/07/06", quote="close") However I got following error : trying URL 'http://chart.yahoo.com/table.csv?s=aapl&a=6&b=09&c=0002&d=6&e=06&f=0002&g=d&q=q&y=0&z=aapl&x=.csv' Error in downloa...
2015 Jul 31
1
vfs fruit unable to create xattr and ACL from OS X 10.10.4
> On 29 Jul 2015, at 10:02, Ralph Böhme <rb at sernet.de> wrote: > Hm, works for me: > > mac$ mount | grep smb > //ralph at 10.10.11.100 <mailto:ralph at 10.10.11.100>/AAPL on /Volumes/AAPL (smbfs, nodev, nosuid, mounted by ralph) > mac$ touch /Volumes/AAPL/test > mac$ xattr -w foo bar /Volumes/AAPL/test > mac$ xattr -l /Volumes/AAPL/test > foo: bar > mac$ It does not matter if I use ls -la@ or xattr -l. Nothing is there. > As expected, afair the...
2011 Aug 23
1
Testing Specific Hypothesis
..., taken a small sample of all my data. I hope I have provided enough information in order for you to understand what I would like to do. I have researched for a couple of hours regarding this problem but to no avail! Thanks! Anna > otestme values ind 1 0.001008012 AAPL.UW.Equity 2 0.015518087 AAPL.UW.Equity 3 0.013221459 AAPL.UW.Equity 4 0.012195734 AAPL.UW.Equity 5 -0.026750298 AAPL.UW.Equity 6 -0.001910487 AAPL.UW.Equity 7 -0.003419938 AAPL.UW.Equity 8 0.009316770 BHI.UN.Equity 9 -0.007564103 BHI.UN.Equity 10 -0.040175688...
2016 Jan 29
2
Fruit/AAPL behavior
...n page, however directory listing performance still takes a few seconds. I've cranked the fruit debug level up to 10 and can see that it is getting used ("fruit_stat called for files", for instance). I've also looked through Wireshark and it appears to appropriately negotiate the AAPL extension with the client. In wireshark I'm still seeing a GetInfo Request for every file and directory which hammers my poor server. I was under the impression the aapl protocol extension was supposed to make these requests unnecessary. Am I misunderstanding the functionality or is something...
2016 Jan 29
0
Fruit/AAPL behavior
...atest Samba 4.3 tarball and enabled fruit per the modules man page, > however directory listing performance still takes a few seconds. sounds reasonable for 5000 elements in a folder. How long does it take without fruit? You may be able to squeeze some more out of it by adding: readdir_attr:aapl_max_access = false This results in the clients incorrect view of effective permissions though, but if everything is eg 0777 anyway than why care? > I've cranked the fruit debug level up to 10 and can see that it is getting > used ("fruit_stat called for files", for instance)....
2012 Mar 04
1
quantmod getOptionChain Not Work
...tasets methods base other attached packages: [1] pomp_0.40-2 deSolve_1.10-3 subplex_1.1-3 mvtnorm_0.9-9992 quantmod_0.3-17 TTR_0.21-0 xts_0.8-2 zoo_1.7-7 Defaults_1.1-1 loaded via a namespace (and not attached): [1] grid_2.14.2 lattice_0.20-0 tools_2.14.2 > AAPL.OPT<-getOptionChain("AAPL") Error in puts[, 2] : incorrect number of dimensions > AAPL.OPT<-getOptionChain("AAPL",NULL) Error in puts[, 2] : incorrect number of dimensions >
2015 Jul 28
2
vfs fruit unable to create xattr and ACL from OS X 10.10.4
...t module to avoid possible performance problems on OS X clients. We do NOT user netatalk. Current vfs_fruit config: vfs objects = catia fruit streams_xattr fruit:resource = file fruit:metadata = netatalk fruit:locking = none fruit:encoding = private fruit:aapl = yes readdir_attr:aapl_rsize = true readdir_attr:aapl_finder_info = true readdir_attr:aapl_max_access = true fruit:nfs_aces = yes fruit:veto_appledouble = yes Problem -> OS X clients are unable to create new extended attributes (and ACLs) with exception of Re...
2010 Nov 21
1
abline(h=whatever) not working in candleChart() (in quantmod)?
Hello, all-- I am having some fun playing with the graphing in quantmod-- very nice! I am writing a function to calculate (and hopefully plot) support and resistance lines, but the usual plot call of "abline(h=value)" does not seem to work. Here's my code: require(quantmod) AAPL<-getYahooData("AAPL") candleChart(AAPL,subset="last 3 months",theme="white") addMACD() abline(h=290,col="red") The same sequence works fine if I'm just using a plain vanilla "plot" call, however. What am I missing? Do I need to call the li...
2016 Feb 01
1
Fruit/AAPL behavior
...his is because the users smbd process is stuck spinning at 100% CPU and the new request is stuck at the back of the queue. I've had a few times where OS X drops the server connection, presumably because the 2nd operation took too long to complete. > > > I was under the impression the aapl protocol extension was supposed > > to make these requests unnecessary. Am I misunderstanding the > > functionality or is something wrong? > > Slightly inaccurate. It will still make the requests (the exact > behaviour depends on OS/Finder version), but should display folder &g...
2017 Aug 02
1
Looping Through QuantMod Objects
...mpanies from the getFinancials object and put them together into a single file. I can do this one by one, but if I try to build a loop and use the get function then the results are not anticipated and leave me baffled. If I do it one at a time all is good. require(quantmod) getFinancials("AAPL") getFinancials("IBM") getFinancials("MSFT") items=c("Cash & Equivalents","Short Term Investments","Cash and Short Term Investments") HoldQuart<-AAPL.f$BS$Q CashHold<-subset(HoldQuart,rownames(HoldQuart) %in% items) CashT<-t(Cas...
2019 Oct 29
2
Subject=Re: Mac Clients Disconnect with: source3/smbd/service.c:1050(close_cnum) closed connection to service data
...een trying out the various Apple specific flags in vfs_fruit ( https://www.samba.org/samba/docs/current/man-html/vfs_fruit.8.html), though with no success thus far. Example settings tried in smb.conf: [global] min protocol = SMB2 inherit permissions = yes fruit:advertise_fullsync = true fruit:aapl = yes fruit:resource = xattr [data] durable handles = yes kernel oplocks = no kernel share modes = no posix locking = no spotlight = yes vfs objects = catia fruit streams_xattr -- Louis Waweru Senior Staff Associate Department of Psychology 373 Schermerhorn Ext. Columbia University (212)...
2009 Feb 05
4
eval and as.name
I'm sure there is a more general way to ask this question but how do you use the elements of a character vector as names of objects in an expression? For example, say you have: a = c(1,3,5,7) b = c(2,4,6,8) n=c("a","b") and you want to use the names a and b in a function (e.g. sum) sum(eval(as.name(n[1])),eval(as.name(n[2]))) works but what is a simpler way to
2015 Jul 29
0
vfs fruit unable to create xattr and ACL from OS X 10.10.4
...OS X clients. > We do NOT user netatalk. > > Current vfs_fruit config: > > vfs objects = catia fruit streams_xattr > fruit:resource = file > fruit:metadata = netatalk > fruit:locking = none > fruit:encoding = private > fruit:aapl = yes > readdir_attr:aapl_rsize = true > readdir_attr:aapl_finder_info = true > readdir_attr:aapl_max_access = true > fruit:nfs_aces = yes > fruit:veto_appledouble = yes fwiw, I'd remove anything that is the default. > Problem -> OS X cl...
2011 Oct 24
2
Date column in downloaded date
...If I download yahoo data by getSymbols() in R, the date column gets accompanied along with the downloaded data. There is no column header for the date column to access separately. What is the way to eliminate the date column? If I want to draw a xy scatter plot with the downloaded price (suppose AAPL vs NASDAQ), I think the date column is creating problem and the plot function is not working. Please advise on this as I am very new to R. Thanks. -- View this message in context: http://r.789695.n4.nabble.com/Date-column-in-downloaded-date-tp3932125p3932125.html Sent from the R help mailing l...