I have been researching genetic optimization and am looking for C# code that can best describe how all this works in relationship to stock market historical data.
The problem I have run into while downloading and reviewing the code I have found out there on the internet is this:
Either the code ties into another application (NinjaTrader, etc).
or
The code is huge and gives no idea how it would work with stock market historical data.
What I am looking for is stand-alone C# code that describes genetic optimization and how stock market historical data is used as an input and does not work with or tie into another existing trading application.
Can someone provide me with code or a link to such code?
Need C# Genetic Code
Moderator: moderators
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
- eudamonia
- rank: 500+ posts
- Posts: 536
- Joined: Thu Jun 15, 2006 9:50 pm
- Reputation: 0
- Location: Rocklin, CA
- Real name: Edward Heming
- Gender:
- Contact:
Its been a couple years since I was looking into this. I found pretty much what you discovered.
Most of the C# code out there for GAs was non-trading specific and you needed to know how to modify it to be appropriate for trading analysis.
Or it was already built into another trading platform/software system.
Good luck.
Most of the C# code out there for GAs was non-trading specific and you needed to know how to modify it to be appropriate for trading analysis.
Or it was already built into another trading platform/software system.
Good luck.
Eudaimonia (pron.: you-die-moan-e-a) (Greek: εὐδαιμονία) is a classical Greek word commonly translated as 'happiness'. The less subjective "human flourishing" is often preferred as a translation.
- eudamonia
- rank: 500+ posts
- Posts: 536
- Joined: Thu Jun 15, 2006 9:50 pm
- Reputation: 0
- Location: Rocklin, CA
- Real name: Edward Heming
- Gender:
- Contact:
You may want to research how GAs work and optimization in general.
The Evaluation and Optimization of Trading Strategies by Robert Pardo is an excellent reference work that should introduce you to the basics.
At the most basic level with any optimization method you will have variables (which could be the ones you mentioned above), and you will have a fitness function. The purpose of the optimization (whether it be brute force, GA, or something else) is to find the best combination of variables to maximize your fitness function.
Optimization is only as good as the data you put in, the combination of variables you choose, and the fitness function you decide to optimize for.
The Evaluation and Optimization of Trading Strategies by Robert Pardo is an excellent reference work that should introduce you to the basics.
At the most basic level with any optimization method you will have variables (which could be the ones you mentioned above), and you will have a fitness function. The purpose of the optimization (whether it be brute force, GA, or something else) is to find the best combination of variables to maximize your fitness function.
Optimization is only as good as the data you put in, the combination of variables you choose, and the fitness function you decide to optimize for.
Eudaimonia (pron.: you-die-moan-e-a) (Greek: εὐδαιμονία) is a classical Greek word commonly translated as 'happiness'. The less subjective "human flourishing" is often preferred as a translation.
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.