Skip to content
Prev 7824 / 15274 Next

Strategy performance summary report

2011/5/2 Vijay Vaidyanathan <vijay at myemailforever.com>:
That's right. And I can only add that I forgot about quantstrat intentionally :)

quantstrat is generally very good backtester... but, it is not right
for me. Anything related to trading I have written in raw C, so I do
not use R for trading.

If someone wants to properly model the real market, as most should
reflect the tasks that will take place in reality. So I use exactly
the same code in the backtests and the trading... and the models
I have written in C (and not in R).

You can use eg syslog (linux, unix) and save information about the
orders and transactions on the disk (or use some databases), and then
import it to the blotter for further analysis. And this is just the
way I like.
Blotter is fast enough for the analysis of PnL. It is not suitable, to
ensure that it build a platform that will be able to operate on real
market data (in my opinion).

Even for simple models written in R will be difficult to process such
amount of data that are generated out of the exchanges. So to be able
to use R to the real trading should be placed between the connection
with broker/exchange (eg FIX engine) some fast layer (writen in
C/C++), which will be efficient enough to capture all messages from
the market, and the model (written in R) would be recalculated for
example, every 5 minutes or less.

Just why complicate your life when you can immediately write everything in eg C?

..but for pre/post trade processing R is the best! :)
Already interested in your project. But I have not used it enough to
write something more.

regards,
daniel