Displaying 20 results from an estimated 4000 matches similar to: "Select interval of time series object by date and time"
2010 Feb 22
2
Creating regularly spaced time series from irregular one
Hello,
I have a series of intraday (high-frequency) price data in the form of POSIX
timestamp followed by the value.
I sucesfuly loaded that into "its" package object. I would like to create
from it a regularly spaced time series of prices (for example 1min, 5min,
etc apart) so i could calcualte returns.
There is an interpolation function locf() that for timestamp with value NA
uses last
2012 Oct 12
1
RTAQ - convert function: warning causes incorrect loading of data
Hello,
I am closely following the RTAQ documentation in order to load my dataset
into R, however I get this warning when running the convert function in the
following way:
convert(from="2010-11-01", to="2010-11-01",datasource=datasource,
datadestination=datadestination,trades=T,quotes=T,ticker="BAC",dir=T,
extention="csv", header=T,
2006 Nov 13
1
Fetching Intraday data from Bloomberg
Hi Everyone.
I am downloading intraday Bloomberg data from R.
The code I give is:
library(zoo)
library(chron)
library(RBloomberg)
conn<-blpConnect(show.days="trading",na.action="previous.days",periodici
ty="daily")
dat<-blpGetData(conn, "VG1 Index", c("LAST_PRICE"),
start=as.chron(as.Date("2006-9-01",
2012 May 20
1
Problem in convert function in RTAQ package
Hi All,
I am using convert() function in RTAQ package to convert the text file into
xts object.The code I am using is shown below:
convert(from="2010-07-01",to="2010-07-01",datasource="C:\\TAQdata",datadestination="C:\\datadestination",trades=T,quotes=F,ticker="SUBX",dir=F)
The problem is that I am not getting the text files named Ticker.trades
2011 Jul 19
1
Plotting intraday data in quantmod
Hello, I'm new to R and am having trouble plotting intraday data on a chart.
I haven't had any success with using ideas from some other posts or other
content.
My data is in csv format, here's the first few rows:
TimeStamp..UTC. Open High Low Close
1 2011-06-15 13:30:00:0000 127175 127500 126925 127425
2 2011-06-15 14:00:00:0000 127400 127575 127225 127225
3 2011-06-15
2011 Aug 03
2
limits on liniar model
Can I put limits on the lm() command? I only know that you can choose a
liniar model with or without an intercept, but can I put other limits on
the coefficients (for example- the intercept must be bigger than 1) ?
_________________________________________________________________
Walla! Mail - [1]Get your free unlimited mail today
References
1. http://www.walla.co.il/
2011 Jul 26
1
intraday plot and gaps in data
Hi,
I have an intraday timeseries of financial data (see below) which has gaps
due to market opening and closing hours. I am trying to plot it, but the
time gap is always visible in the plot. I tried converting data to xts, zoo,
timeSeries and plotting it with different functions i.e. plot.xts, plot.zoo.
The only way to make it work was with function 'chartSeries' in the quantmod
package
2011 Aug 02
3
how to get the percentile of a number in a vector
I'm familiar with the quantile() command, but what if I have a specific
number that I want to know its location in a vector? I know that in known
distributions, (for example the normal distribution), there is pnorm and
qnorm, but how can I do it with unknown vector?
thanks in advance
_________________________________________________________________
Walla! Mail - [1]Get
1998 Dec 03
2
interactions between OPIE-ftpd and RH5.2
Ran into a weird problem, and this seemed a good forum to toss it out into
-- if I've gaffed, please let me know.
Just upgraded my RH5.0 box to RH5.2. Went well, worked nearly seamlessly.
When running 5.0, though, I'd installed the opie-fied ftpd that comes with
the most recent opie package (ftp://ftp.inner.net/pub/opie/opie-2.32.tar.gz)
and had it work without a hitch. I'd also
2008 Nov 11
2
Manipulation in timeSeries object:how to use the function "applySeries" by daily?
Hi all
I have some tick-by-tick data and I have calculated the intraday returns. I
want to sum up the intraday squared returns to calculate the daily
volatility(or daily variance). I know that the s-plus FinMerics has the
function aggregateSeries function that can be apply to daily data:
aggregateSeries(x, Fun, by="daily"), but the counterpart function in
R:applySeries can not be apply
2011 Jul 28
1
sorting data from dataframe with oter dataframe
Hi, the subject isn't define well the problem, so i'll explain it in detail:
i've got a csv.file with data on number of factors (every column got the
name
of the factor as header and the data below). on another csv file, i've got
the
factors sorted by their type. for example-
c1=read.csv('C:/R/c1.csv', header= TRUE)
urrDate A_XS b_XS c_XS
2010 Dec 03
1
intraday zoo
I'm trying to read intraday zoo but running into issues (again) ...
what am I missing here? (the date doesn't seem to read in correctly)
> head(dat)
TrdDate TrdTime impliedVol
1 20090102 09:55:03 0.3610715
2 20090102 09:55:04 0.3637943
3 20090102 09:55:05 0.3752375
4 20090102 09:55:05 0.4190025
5 20090102 09:55:06 0.3696080
6 20090102 09:55:06 0.4944981
> f <-
2003 Nov 04
0
-test8 & Mail.app
A user just tried to use OSX 10.3's Mail.app via imap. It caused the process
to start eating CPU, and this in the logs. Any idea what could be happening
here? What information should I get on his setup?
imap-login: Nov 03 14:28:37 Info: Login: fenner [12.106.35.5]
imap(fenner): Nov 03 14:30:37 Error: Timeout while waiting for release of exclusive fcntl() lock for index file
2005 Sep 22
0
Lost transaction log file /Users/frohro/Maildir/dovecot.index.log.2 seq 1
Hi,
I got a bunch of the following errors:
Lost transaction log file /Users/frohro/Maildir/dovecot.index.log.2
seq 1
when I was trying to apply some rules to move messages from one
mailbox to another. Things hadn't been working well and I had
recently upgraded to alpha 2, so I moved all dovecot* files in my
Maildir/.
Things then seem to work better.
Rob
--
Rob Frohne, Ph.D.,
2009 Apr 03
0
Intraday financial returns
Hello,
I would like to create a function that computes intraday returns of a financial asset
on a calendar time basis, without making any loop. For instance, I want to get price returns every 60 seconds.
The main problem is that the times series of prices is irregularly spaced in time.
I have looked in the "zoo" or "its" classes but have not found any answer to my problem.
2013 May 20
0
Loading intraday data with zoo
Hi,
You may need to add "dec=","" in the read.csv.
dat1<- read.table(text="
Time;Mid
31/01/2013 00:00;1,35679
31/01/2013 00:01;1,35678
31/01/2013 00:02;1,356785
31/01/2013 00:03;1,35689
31/01/2013 00:04;1,3569
31/01/2013 00:05;1,3569
31/01/2013 00:06;1,356885
31/01/2013 00:07;1,35691
31/01/2013 00:08;1,357
2006 Dec 03
2
Evolution: DATA command failed: Requested mail action aborted: exceeded storage allocation.
Hi Everyone,
I have been recently getting these errors in Evolution 2.6.1. I think
it is a client issue, as I don't see them using Thunderbird on the same
machine (though I get a lot of "disconnected from servers" from
Thunderbird. On Evolution 2.8.1 on another machine I haven't noticed
these issues.
DATA command failed: Requested mail action aborted: exceeded storage
2009 Apr 27
1
Extract one element from yahooKeystats data
I am trying to extract one particular piece of data(Float) from all
the data returned by yahooKeystats, but thus far I'm having no luck.
This is what I've got so far:
> library(fImport)
Loading required package: timeSeries
Loading required package: timeDate
> data<-yahooKeystats("IBM")
trying URL 'http://finance.yahoo.com/q/ks?s=IBM'
Content type 'text/html;
2008 May 07
2
How do I increase the fd limit on OS X?
Hi All,
I just upgraded to the new 1.1rc5 from 1.0 that I had been using and it
advised me to increase the file descriptor limit. I'm not sure how to
do this. There is a command built into tcsh that allows me to do this
called limit, but sudo limit 4224 doesn't work, and usually dovecot is
started from the rc.local file if I recall right, and I'm not sure how
to set this up from
2008 Mar 22
2
intraday OHLC plot
I want to create a open/high/low/last plot of intraday data.
I try to use the function plotOHLC from the tsteries package. I create
my own multiple time series and then try to plot it.
raw Data Format (file eurusd2.csv):
"Date (GMT)" "Open" "High" "Low" "Last"
17-03-2008 00:00:00 1,5764 1,5766 1,5747 1,5750
17-03-2008 00:05:00 1,5749 1,5750 1,5741