My name is Ilya Kipnis. I am a quantitative research analyst.

I was inspired to write this blog via interactions with Brian Peterson, Joshua Ulrich, and Kent Hoxsey, and professors I have interacted with at Stony Brook Quantitative Finance (Dr. Robert J. Frey and Dr. Andrew P. Mullhaupt)

This blog will be an investigation into various problems that interest me in quantitative finance and asset management.

You can find my github here.

I am committed to continuous learning in quantitative finance through online courses, books, and articles.

I am currently employed as a contractor in data analytics. I have previously worked in quantitative analysis for trading, so-called ‘big data’ analytics, and asset management. I am interested in networking, along with other full-time opportunities in finance, and may be reached at my gmail address.

My LinkedIn profile is here.

### Like this:

Like Loading...

Nice Blog! I have added it to my netvibes aggregator.

A

Extremely helpful blog. Is it possible to test an opening range breakout system in quantstrat?

So long as you’re able to formally, objectively, and quantitatively define your indicators, signals, and rules, it is possible (though not always trivial) to test something.

I wondering which programm are you using for your quant analysis? Matlab? R?

R

It is clear that R is a strong contender when faced with the others (Matlab, Python, etc) – but can you please elaborate a bit more the answer?

And can you also please explain how strong is R in following topics:

1) integration with execution platforms

2) backtesting types supported (is walk forward supported and how flexible is it compared to things like AmiBroker, TradeStation, Multicharts, etc)

3) any capabilities regarding machine learning?

Thanks!

1) I believe R integrates with IBrokers. Up to you to do that homework, though.

2) As flexible, if not more so.

3) R is the go-to language for machine learning, actually.

Hi. I recently came across your blog after recently joining firm that runs many different quantitative strategies in the equity markets. I’ve always been a trader but it’s only ever been as an execution trader.

Can you please recommend a few entry level books/videos/courses for someone like me. Thanks again.

Mj

Which firm?

Beyond that, I’d recommend Norman Matloff’s book (The Art of R programming). Beyond that, try datacamp’s free stuff.

Hey I was just wondering, is there any way i can possibly do automated trading using r? I’m trading bitcoins and as it is an extremely volatile asset, it’s really hard to apply a strategy manually

I hear interactive brokers has an R plugin. You’d have to look into that yourself.

So when you trade you do everything manually? how many time per day / week do you have to run your program for the strategy that requires you to do it the most frequently? approx. thanks!

This is all research for me so far.

I really enjoy the rigor you bring as a “quant”, and will try to keep up with your blog. I posted the following observation on your recent FAA article on Wesley Gray’s site:

********

As a newcomer to this forum, but as one who’s explored momentum-based strategies for some time on his own, I’m quite interested in this multi-dimensional ranking concept. One observation I have is that the existence of overall ranking ties is due to the structure of the chosen values for the weights (1, 0.5, 0.5). If you were to choose weights that were not small-integer multiples (e.g. 1, 0.499, 0.501) you’d have no ties and you’d lose the “tie” argument for excluding the risk-free asset. I’d be very interested in seeing the results of small variations in the weights around the (1,0.5,0.5) point to always resolve ties in favor of one of the three dimensions. I suspect that the slight improvement from excluding cash on ties lies within the performance range with small weight perturbations and that we’re heavily influenced by a few “lucky” inclusion/exclusion choices.

********

I’m very interested in exploring FAA for myself, but am not quite ready to learn R. I’ll rather beat the Excel horse until I’m quite sure it’s dead. I understand that use a 4-month period for momentum, but what about volatility (SD) and correlation? Do you use daily data? I know making too many a priori parameter choices begins to smack of data mining, but looking at performance under parameter variations might reduce concerns a bit. I’m also unwilling to make conclusions based on small performance changes – using a log return plot usually shows that these changes are due to a small number of trades. I like to refer to “the law of small numbers”.

Thanks again for all your research and your willingness to share it.

God Work. Congratulations.

I expect in next year change some ideas.

Thanks

José

Ilya, thanks for the insights. What data source(s) do you use for your R routines?

Yahoo. Number one rule is people must be able to replicate my analyses.

Hi,

Enjoy the blog – very interesting.

I was wondering if you could provide a simple example on how to use quantstrat to execute on the bid / offer. I appreciate it’s a next bar execution system but lets say I’m building signals based on 1 second bars my preference for realistic execution would involve hitting / lifting.

Would really appreciate an example to review.

Regards,

Dave

Considering I don’t have access to such data, no. You might ask on the R-SIG-Finance mailing list, but again, you’d have to provide a minimum reproducible example, meaning, again, providing the data.

Thank you for the swift response. I’ll post an example to the mailing list

very much enjoyed your step by step instructions and insights and experience with the quantstrat package which I’m using in our trading systems course at UW that actually uses R with IB. I’m taking my next class from B. Peterson on advanced trading..

Pingback: Getting Started: Building a Fully Automated Trading System. – Quants Portal

Hi Ilya,

Thanks for sharing your work, this is very impressive.

I am a physicist and an investment banking quant for some years now. I also enjoy developing quant strategies in my own time and am working mostly in R.

I will follow your blog and would like to see more on enhancing speed of optimisations in quantstrat.

Hi Ilya! Great blog, congratulations

I’m taking your course on quantstrat in DataCamp. How easy is it to combine quantstrat with machine learning methods? Specifically, can the indicators and signals come from machine learning algorithms such as SVMs and neural nets?

Of course.

Thanks!