sabren.net archives
back to sabren.net...
back to the
archive...
entries for 2002/12/10
a better idea?
On further thought, there's no reason all of the system has to be implemented in the same language - especially one I'm not terribly good at yet. It might make more sense to have the infrastructure - the stock history database, the simulator, the code to interact with
the brokerages, and all that fun stuff written in python, and somehow
make the "brains" part something that other scripts can plug into. Then I can write the logic in any language I want, or even have real people competing. If I did that, it would winds up being like an internet gaming server, which certainly fits my long-term goals.
Very interesting.
scheme
I'm feeling better. While I was sick, I was thinking about the stock market. I didn't really come up with anything new, but I'm still
convinced I can write a program to make money trading stocks. And
while I have a nice list of big projects I want to build for
my business, I'm not ready to get started on any of them quite yet. So I'm thinking I'll use January to work on the trading system.
Every time this comes up, I start thinking that I really ought to
write it in scheme. Scheme is a dialect of Lisp. The neat thing
about these languages is that the programs themselves can be manipulated like data. That's especially useful for genetic programming, which is the basis of my system. It's also useful
to have if I want to experiment with other forms of AI. Which
I probably will. I don't really know scheme yet, and I could
do the same stuff in python, but I feel like learning something new.
So I'm just going to plunge headfirst into it for at least the
next couple weeks, and see where it takes me. More later.