Displaying 7 results from an estimated 7 matches similar to: "Quantstrat; error with applyStrategy()"
2011 Aug 31
0
QUANSTRAT: error with applySignal
hi everyone,
I want to backtest a simple strategy with RSI, im using "sigThreshold".
i took example from the http://blog.fosstrading.com/ site to understand how
quanstrat works.
but now, i have a problem with my code that i really don't understand, R
says me:
Error in match.names(column, colnames(data)) :
argument "column" is missing, with no default
please can
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
2003 Jul 11
2
unz()
I am having problems getting the unz() function to work as a connection to
start reading a file...
z <- unz("c:/temp/stoxx.zip", "close_tmi_components.txt", "r")
readLines(z,2)
yields the following problems:
> z <- unz("c:/temp/stoxx.zip", "close_tmi_components.txt", "r")
Error in unz("c:/temp/stoxx.zip",
2011 Sep 09
2
Looping through multiple datasets already in memory
Gents,
I have the following loop:
for (i in (seq(along=Draw.1[,1]))) {print(i)} # from 1 - 5 (counter)
for (i in (seq(along=Draw.1[,1]))) {print(Draw[i,4])} # from the 1 - column
(passes parameter per column)
Now: I have multiple Draws [Draw.1 - Draw.100] in memory with different
"orders"
Question: How do I loop through each Draw.[j]? OR in other way, how do I
pick up all the
2011 May 23
1
MLDownloader 7.1 fails to download data from yahoo
Any pointers as to how to proceed with this would be most welcome!
wine --version
wine-1.3.19
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
I used crossover to create a Win XP bottle and installed IE7 and then MLDownloader.
There is a 15 day trial version available here:
2010 Jul 10
1
quantstrat and blotter unavailable
These packages were not available. Are these the only places to go for
backtesting technical trading systems other than ttrTests pls?
> install.packages("quantstrat", repos="http://R-Forge.R-project.org")
Warning in install.packages("quantstrat", repos = "
http://R-Forge.R-project.org") :
argument 'lib' is missing: using
2010 Jul 30
2
finding a function or a line while debugging?
guRus
Is there a way by which I can search for a particular function or a
particular line of code within the maze of all the R codes that are
interlinked? Say for instance I am running a code using quantstrat package
and on a particular line I get the error saying x is missing in is.array(x).
I want to figure out where is.array is in all the codes that my code refers
to? How do I do this? Is