Holy hell I think I cracked the stock market! This new algorithm I invented is insane. The back testing was like nothing I've seen and real world performance is already matching exactly what the backtests showed....
@mistermonster You would think so, but no, no overfittering, I used different test sets to help avoid that, and the actual principles of the algorithm is actually not that complicated. I'd be hesitant to give away the specific details as to why/how but after seeing the results I applied it to other stocks and timeframes and it consistently gave the same performance. Its a day trading algorithm and trades anywhere from once every day to a few times a day, it rides the peaks and bumps.
Made 15,000 in profit today on 150,000 in investment, whcih is better than the historical results which would have had me at around 8K a day on that level of investment. Keep in mind thats no margin use.
@mistermonster well you can calculate one from the other.
Historic testing shows 0.8% profit **daily**... thats over 18x/1800% yearly... Real world results have been higher (partly because i pick some trades not to execute if there is a reason to speculate against it).
@mistermonster I do, but it isnt needed. the 0.8% per day 1800% per year figures is the result you get without manual intervention. If you just let the algorithm run.. that includes a little slippage and commission fees (I overestimated both costs).
the 10% figure I saw today was with manual intervention. I had one set of stucks I let it go at completely automated (those on real world seem to get about 1.5% daily), then I use it on stocks I personally like to tell me when to enter and exit on them, so in that case it is just an assist, on those stocks with the algo as a helper it is netting me 10% so far daily (those this last fifgure will likely come down as today was an exceptionally good day for one of the stocks I keep my eye on)
@mistermonster Well anythign that is truly and completely random by definition cant be predicted. so not sure any algorithm could do better than 50% on stochastic data if by that you mean full random.
So im not really sure those two statements are different things... But it was designed for the purpose of the stock market, though should be applicable to any data stream with similar characteristics,.
@mistermonster Its a tricky place I'm in. If i explain it enough to replicate it then I risk loosing the investment advantage. Moreover if i dont explain enough to replicate it I wont be saying anything useful.
@freemo @mistermonster Get people to sign an NDA?
Would be a must if i were to release info about it. But even then there would need to be some advantage in doing so.
@freemo @mistermonster i assumed that. figure you're either looking for academic interest or considering selling (trading potential profit for reduced risk)
@2ck nope neither. It is performed so well that I cant really imagine anyone being able or willing to buy me out at a high enough price.
The risk of the algo seems extremely low. the strategy i applied has virtually no downturns over a 10 year period. and the returns are enormous.
I really cant see any way I could make more money selling it than just using it.
I can certainly show you the data to prove that to be true.. though its not as simple as counting number of bets wont because the algorithm bails early on bad investments and rides out good ones.. So the win to loss ratio isnt particularly telling unless you weight it by the degree of win or loss, which is what what I've done by normalizing my backtesting. The way I backtest is by ensuring that the amount invested is always a fixed cash quantity. As it goes over the amount the extra money is held as cash and not invested, if it goes below the starting amount then it invests on margin up to the starting amount. This way the profit graph shows instantaneous performance rather than overall growth (which would be exponential).
When normalized in this way it is very clear that it found a real indicator because the drawdown is extremely minimal with consistent gains on both up and down markets... one moment
Would you like me to share with you a chart of actual buy/sell points the algorithm indicated and the success/failure of it? I can show that without revealing too much actually.
Sadly the graph wont give you any info to know the math behind them, and im sorry for that. As someone who opensources everything he does it is kinda killing me not to release it. But the money im making is just too much, at least for the moment :) Knowing me ill probably slip the algorithm into the open source world at some point and just never tell anyone it can make a fortune at the stock market and hope no one notices :) But even then not until i made my first billion :)
Anyway ill pm you shortly with an image of a day of trading and the historic performance testing results so you can see.
@mistermonster There are aspects I can share, like the profit results from historic testing, some examples of it making predictions on a chart with a limited time span... but that isnt likely to be helpful for you to get anything useful out of it.
@mistermonster Anything I can say in public i can say in private. If you'd like to continue discussing it, or for a link to some of the results, we can do it in public here.
@freemo where do you get your stock data?
@drewfer different places depending on what im doing or using... two main places are interactive brokers and tradingview.com
@freemo are you scraping or do they have api's available?
@drewfer Well interactive brokers provides a full on API to do whatever you wish.. Trading view is a bit different. It provides charts and rendering in app, and allows you to pull up a code editor right on the chart using a special language that trading view created specifically for stock market analysis and investing. so you can write a few line of codes defining a stock investment strategy then click a button and back test it on historic data. Due to the nature of it your algorithm has access to the historic data for quite a ways back (i use 10 years back test) but you dont have direct access tot he data.
While the language is very simple, it can cover most math based analytics,and can be more than powerful enough to do everything you need there. But it does have some limitations and will only take you so far.. If you want to go past mathematical/regression type stuff it wont work. You can not and would not want to write a neural network in that for example.
@freemo I wonder if you'll say anything about it if, later on, your algorithm doesn't continue making the returns you claim 🤔
@2ck Probably not in the sense I wont be shouting it from the rooftops no.. But if someone directly asked me I would be honest
@freemo 😁 i can respect that
@2ck Its not like it would be intentional. But if i loose 100K on the stock market because I was wrong somehow it isnt likely something to be exciting and make me so gitty I'd go around announcing it. But yea not intentional I wouldnt hide or lie about it.
But So far I've been using real money and its working.
@drewfer just a few under 30K return on 200K risk
@drewfer I'm debating upping the risk to 500K tomorrow since im getting more comfortable that these results are consistent.
@drewfer I should poitn out today is not in anyway typical or representative of the algorithm. I tried a new tactic where I put the algorithm on a stock I already had faith in as a buy and hold stock (well a two stocks actually) and it wasnt on the TQQQ v. SQQQ swing today as on past days.
So part of the win was the vact that I made a really good stock pick in general, the other part is that the algorithm enhanced the profit by skipping over some bitg downturns and rebuying on the upswing.
@freemo So, how well does it perform compared to just hodling bitcoin?
@L29Ah I havent thrown it at any crypto yet but thats a good suggestion let me check.
@freemo don't forget us when you're rich! 🤑💰