Thursday, December 20, 2012

Trading with R and Python

First the fiscal cliff trading update:

I added AMZN, 0027(galaxy) shorts with a a short term short this week to try to capture the potential for a market derisk before the end of the year, instead; got an opposite reaction and markets were very strong the past two out of three sessions.  I will consider closing these positions if markets don't see a good selloff to end the week.

I'm currently looking for cheap long dated GLD or SLV options; and will try to catch a bid on SLV if it drops below 30 over the next two weeks.


Discovering R and Python:
I started studying python about 6 months ago, and have been fiddling around with the programming of R and inputting and manipulating stock data.  I'm finding it both challenging and very interesting.  You can get R for free at http://cran.r-project.org/
It takes a few hours to get the hang of the inputs and a fair bit of time to download the packages, but once I get the hang of it, I agree it will be another great tool to guide my trading development.
One package in R that is very useful is quantmod. http://www.quantmod.com/examples/