Sunday, August 1, 2010

Genetic Program Generated Strategy

I've been experimenting with Genetic Programming for some time now and we're starting to see some interesting results. I recently tried some USD/EUR currency data with 350 days training and 150 days validation, one of the resulting strategies was:

COS(ADD(Low, Close))

In simple words, add the low and the close then take the cosine of the result. A value greater than 0 is a Buy signal, a value less than 0 is a Sell signal, and a value equal to 0 is a Hold signal.

Over the 150 validation days this strategy made 13.7% and projected over a year it yielded around 25% profit. In the last year the USD/EUR has gone up about 9.2% and using that simple strategy is projected to produce 2.5 times more gains than the buy and hold.

7 comments:

  1. Dear Kiril,
    I like your work. You may find our new website TweetTrader.net interesting. You may want to adjust the syntax of your Twitter stock predictions a little ("$AAPL+" for Buy and "$AAPL-" for sell) to comply with our Stock Game.
    Best regards to Chicago (I lived in Lincoln Park for a couple of months in 2006 and loved it),
    Timm

    ReplyDelete
  2. How intriguing, such a senseless function producing good results! :)

    ReplyDelete
  3. hi there.
    after 8 years coming back lol
    I would like to know what it logic behind this function? why coisne?


    thanks,
    Dor.

    ReplyDelete
  4. It is amazing to visit your site. Thanks for sharing this information, this is useful to me.
    Advanced analytics

    ReplyDelete
  5. Nice post keep it up. SRB Technology is Artificial Intelligence Course Provider Company in Muscat, Oman. We offer you complete services. Artificial Intelligence Course in Muscat | Robotic And Coding For Kids in Muscat | Digital Marketing Training in Muscat | SEO Services in Muscat

    ReplyDelete