Genetic programming

Discussion in 'Trading Software' started by Sergio77, Dec 16, 2012.

  1. Sergio77


    Any genetic programming resources available for developing software that evolves trading systems from historical data? I would like to develop free software for doing that.
  2. that is my idea also. I don't trade with computers, but I asked if anybody was working on evolving systems here a while back. I still get ridiculed for that question from time to time.

    good luck
    keep me posted

    if I was doing it today, I would include more information than just historical price data. Like fundamental info that any econ 101 student could understand. GDP, QE, money supply, etc.
  3. Sergio77


    I will keep you posted. I have contacted a few app developers and they told me it is not too hard.
  4. I'm just curious what you have in mind in a little more detail. I'm somewhat familiar with genetic algorithms for optimizing trade system parameters. It sounds like you're looking to apply GA in some other way.
  5. ignl


  6. 2rosy


  7. GA has never been proven to work for building trading systems that work well over time. They tend to "curve fit" the backtested data.
    I don't think it's possible to program GA not to curve-fit.
  8. 2rosy


    what about using GA to determine what state a market is in ie. sideways, uptrend, downtrend
  9. I think there are solid statistical measures to do that.
    Biggest problem is: What time-frame ?
    Next 5 minutes, 5 hours, 5 days, 5 weeks, 5 months, 5 years ?
    If your average time-in-trade is 2 hours, knowing the 5 day or 5 week trend is somewhat worthless, no ?
    Likewise, if your average time-in-trade is 5 weeks, knowing the 5 hour trend is also worthless.

    First thing you want to determine: entropy
  10. slacker


    That is a good application for GAs, called a 'classifier' role. Train bots to identify uptrend, downtrend and chop.

    Problems with GAs, what does the chromosome look like? An array of bytes or a b-tree structure? How do you splice 'crossover' the b-tree at evolution time? How to avoid overfitting with a GA? If your chromosome is large enough to solve the problem it is large enough to 'remember' key positive or negative specific in your sample data.... Where can you get enough sample data to completely test insample/outsample? How do you insure that a system that is 'random number' based (evolution) is bug free?

    What is the 'fitness' value in a trading system you are going to evolve the system to find? Net profit? (too risky, large drawdowns but big profits) Sharpe ratio?

    Develop your system and then put in on cheap GPU cards for parallel processing in CUDA.

    GAs are much more fun than NN as you can see them learn. NN are more for predicting, GA are more about responding to events.

    Good trading...
    #10     Dec 28, 2012