Milktrader

Iterating Until Convergence

Monday, November 21, 2011

A Simple R Script for Traders

Now that we've got the Python implementation under out belts, let's do the same thing with R. We'll still be able to pass command-line arguments to get a quick look at what our stock of interest is doing during the day. And we start with the familiar incantation of enabling our script to run from command-line.

Sunday, November 20, 2011

A Simple Python Script for Traders

My latest polyglot excursion has landed my in the world of snakes. I've started playing around with Python a few weeks ago and have to report that I'm very pleased with how well this programming language performs. I decided to take it out for a little run on Yahoo stock data and came up with a little script that returns the current state of your stock in relation to the current day's trading range.

Wednesday, November 9, 2011

My Kids Are Correlated

I have three kids. Two boys and a girl. They are so different in so many ways that it's amazing they all come from the same genes. But sometimes, they're correlated. This week I told them that they are absolutely banned from any electronic devices after 8:00 pm on school nights. They all reacted the same way. Absolute incredulity. "How can this be?" they all three asked.