Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
21–30 of 47 posts
Re: Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
#22sticking around for 97% drawdown? Sorry.. doing this in real life would be more stupid than anything
Re: Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
#23So, I run this, and it makes me a bunch of free money?
Re: Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
#24sticking around for 97% drawdown? Sorry.. doing this in real life would be more stupid than anything
One point in the graph shows a -144% return. How do you even get a -144% return? Debt?
Re: Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
#25If someone really came up with some fool proof method of beating the market, wouldn't they keep it secret? Meanwhile, most folks should stick to asset class allocation and indexed funds and ETFs.
One would hope that most people would do that, unfortunately too few people pay attention to saving at all, let alone allocations that fit their needs/profile.
Re: Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
#26Re: Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
#27Earlier quoted context omitted.
How about risk and money management?
Cash management is built already. We track how much you have, dividend payments, all that stuff. We've built many risk measurements, too: alpha, beta, Sortino, Information Ratio, etc. Risk management is far more complex. Risk management is more a part of the algorithm itself than a feature that we can build. That said, we can add more risk tools. We're very open to suggestions, if you have some in mind.
Eg: For risk management I might not allow any trading whatsoever when the VIX is over 40, and the 5 day stddev of the S&P is above some threshold.
Similarly, I might scale my capital usage based on my risk metrics. Or scale the capital available to a particular algorithm based on its individual risk profile.
Recreating risk management in each algorithm seems like a bad idea. But even worse is pushing off risk to the user to do in an ad-hoc way.
Re: Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
#28Re: Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
#29As well, in the logs, when I see stuff like:
2012-05-31handle_data:35INFO -63.520880 shares of Security(6109) sold.
it doesn't really inspire a lot of confidence. What does it mean that -63.520880 shares were sold? Does that mean they were bought? And the fact that you are purchasing fractional shares also doesn't inspire a lot of confidence.
Re: Show HN: How I Used Machine Learning to Optimize My Trading Algorithm
#30Has anyone consistently beat the market with a home grown trading algorithm? I suspect it's possible but probably needs more signal than just stock price.
Edit: I don't mean to suggest that it can't be done. I'm just suggesting that the existence of people beating the market may not be a good indicator of your ability to beat the market.