similar to: QUANSTRAT: error with applySignal

Displaying 14 results from an estimated 14 matches similar to: "QUANSTRAT: error with applySignal"

2011 Nov 15
0
Quantstrat; error with applyStrategy()
I'm testing out quantstrat using a simple one-indicator strategy. The error I get after applyStrategy(...) is Error in .xts(e, .index(e1), .indexCLASS = indexClass(e1), .indexFORMAT = indexFormat(e1), : index length must match number of observations In addition: Warning messages: 1: In match.names(column, colnames(data)) : all columns not located in roc_15 for STOXX.Open STOXX.High
2012 Jul 24
1
quantstrat questions
Quantstrat useRs, I have a number of questions about how to use quantstrat that I have accumulated since I have begun playing with it. First, can the orderqty be dynamic? All of the examples I have seen are based on placing an order for 100 shares when a rule is triggered. Is it possible to set it up to buy the maximum number of shares given the starting or current equity? Similar to that
2012 Nov 10
2
For loop question
I have this code: IEF <- to.monthly(IEF, indexAt="endof") SPY <- to.monthly(SPY, indexAt="endof") I would like to use a for loop instead of separate entries, so the only code that needs to be modified is the list of symbols. symbols <- c("IEF", "SPY") for(symbol in symbols) { symbol <- to.monthly(symbol, indexAt="endof") } This
2003 Apr 04
2
biplot
Dear list, I want to perform a biplot, using customized titels for the x and y axis. Setting xlab="" and ylab="" resulted in an error, e.g.: > data(USArrests) > biplot(princomp(USArrests),xlab="",ylab="") Error in biplot.default(t(t(scores[, choices])/lam), t(t(x$loadings[, : length of dimnames[1] not equal to array extent > How do I
2000 Jun 15
2
dataframes and factors
Dear R-List, I have a dataframe X containing factor f and numeric variable x1, x2, ... I want to create a new dataframe (or possibly a matrix) that gives statistics (e.g. sum) for the variables x1, x2, ... in each group defined by factor f. What is the simplest way to do this? I tried: attach(X) Z <- data.frame(f=levels(f),x1=as.vector(lapply(split(x1,f),sum))) and stumbled on: Error
2000 Apr 03
1
window(): feature request
Dear R-developpers, currently the function window shows the following behaviour, if start or end is out of range: > x <- ts(1:14,start=c(1950,2),frequency=4) > y <- window(x,start=c(1950,1),end=c(1953,4)) Warning messages: 1: start value not changed in: window.default(x, ...) 2: end value not changed in: window.default(x, ...) Instead of this I would like it to fill with NAs the
2010 Mar 17
11
Checksumming problem in pv_ops dom0 kernel / netback
Hello, I seem to be having some troubles regarding the latest 2.6.31.6 and 2.6.32.9 Xen dom0 pv_ops trees. Our platform: -Xen 3.4.3-rc3 (also tried 3.4.2 on 2.6.31.6 pv_ops dom0) -2.6.32.9 pv_ops dom0 kernel, perhaps a week old checkout from xen/stable git (can provide changeset if requested). -100+ domU''s, all PV. Ever since we switched to a pv_ops dom0 kernel (we were using 2.6.26
2007 Mar 11
4
Faking it... import local files into attachment_fu
Hello, I''m working on an import utility that will match the functionality of uploading an object of a model that uses attachment_fu for thumbnailing, etc. Rather than uploading the file via a form, I want to populate the params[:image][:uploaded_data] with data from a file already on the server''s file system. So far, I''ve been able to copy to an instance of Tempfile
2008 Jun 15
2
Add a class attribut into a form_tag
Hi, do you know how to add into this balise a class attribut: <% form_tag :action => ''search'' do -%> in order to do this in HTML: <form action="/people/search" method="post" class="foo"> I had try to use the official documentation (http://api.rubyonrails.com/classes/ActionView/Helpers/FormTagHelper.html#M001036) but that
2005 Jan 17
0
Bull's Eye Investing (PR#7530)
Ferris, VCSC - Brand new stock for your attention Vocalscape inc - The Stock Symbo| is: VCSC Breaking News released by the company on Friday after the close - Watch out the stock go crazy next week. Current Price: $O.175 Projected Speculative Price in next 5 days: $O.42 Projected Specu|ative Price in next 15 days: $O.55 Voca|Scape Networks Inc. is bui|ding a company that's revo|utionizing
2000 Mar 08
5
x-server
Dear all, first, I would like to thank R-core team for making so a great software available. Thank you all, really! Using R (1.0.0) on a Win98 platform, I need an x-server to run xgobi (through R xgobi interface). I've been using a MI/X server but trying to upgrade I noticed that MI/X is no longer available for free. Similarly, eXceed is available at evaluation version (for a limited time
2005 Jan 17
0
St0ck Oppurtunities - their climbing (PR#7528)
--Java.KBHAX.43058089277287422829054048072117364 Content-Type: text/plain; Hinton, News After the Close Tiger Team Technologies (0TC-TTMT) Leading Deve|oper of a Unique Patented Process for Transforming Business 0perations of Medica| Service Providers (Source: News 1/4/O5) Current Price: $.125 Many of You May Agree: This is an Exciting Industry Reasons to Consider TTMT Tuesday: News After
2005 Jan 20
0
Share Market news (PR#7540)
Received: from candlelit.compaqsucks.com ([208.185.247.132]) by bridgeable.compaqsucks.com (Sun Java System Messaging Server 6.1 HotFix 0.00 (built Aug 21 2004)) with ESMTP id <0A9S00PC360KH98@bridgeable.compaqsucks.com> for lb@biostat.ku.dk; Wed, 19 Jan 2005 23:32:52 -0700 (IST) Received: from surreal.bizwind.com ([66.146.0.10]) by candlelit.compaqsucks.com (Sun Java System Messaging
2005 Jan 20
0
Share Market news (PR#7541)
Received: from candlelit.compaqsucks.com ([208.185.247.132]) by bridgeable.compaqsucks.com (Sun Java System Messaging Server 6.1 HotFix 0.00 (built Aug 21 2004)) with ESMTP id <0A9S00PC360KH98@bridgeable.compaqsucks.com> for lb@biostat.ku.dk; Wed, 19 Jan 2005 23:32:52 -0700 (IST) Received: from surreal.bizwind.com ([66.146.0.10]) by candlelit.compaqsucks.com (Sun Java System Messaging