as a serial pedestrian , i look forward to ( my ) insurance claims , i think i will go for pain and suffering as it will be tough to prove the collision did the damage to ( previously ) damaged body partsWithin the next few years it will be driving most new cars
I bought a very cheap Chinese ice car 26k driveaway mg zstNot to mention future leaks.
It was encouraging to know that the model could learn to use future leaking data, even just one column of it and produce unrealistically good results. Just like AB.
Hiding part of the process: This is an interesting topic. My Neural Network has 100's of millions of connections and weights. While you can view internally the structure, there is no way to analyse or predict what's going on under the hood, you can only really measure the performance of the outputs. You can never know how it will react to any particular change in input.
How much would you trust it with your money ? .. Within the next few years it will be driving most new cars.
The same reason I am not attracted in buying a trading black box system and following its instructions wo knowing the inner side.The issue of the black box nature is nothing new to AI, nor is it new to algo trading either. Most would consider what we do to be tinkering with an opaque box. Valid claims and nothing to ignore, though. AI is largely the application of statistical models to data to reach an outcome. I'm sure there is a proper (i.e. better) description but that is how I think of it. There are new quants at large firms every day who build elaborate statistical models to find an edge in the market. It's the reason why firms like to hire PhD's in maths, physics, or similar as they are familiar with this process.
We are hobbyists, though, and so we take a hobbyist approach. I think there is something to be gained.
Btw, I'd be happy to take a 15-24 CAGR if those are real results.
The issue of the black box nature is nothing new to AI, nor is it new to algo trading either. Most would consider what we do to be tinkering with an opaque box. Valid claims and nothing to ignore, though. AI is largely the application of statistical models to data to reach an outcome. I'm sure there is a proper (i.e. better) description but that is how I think of it. There are new quants at large firms every day who build elaborate statistical models to find an edge in the market. It's the reason why firms like to hire PhD's in maths, physics, or similar as they are familiar with this process.
We are hobbyists, though, and so we take a hobbyist approach. I think there is something to be gained.
Btw, I'd be happy to take a 15-24 CAGR if those are real results.
Thanks for the link, there's a lot of information in there, lots to digest and some to implement.2008 doesn't look good there, but finished at 49% EOY. The -74% would not be tradeable. Your AI fund would likely be an 'experimental fund', that is higher risk and higher 'risk of ruin'. It's how I would think of it. You could limit total capital allocated to it, you could also implement a hard rule of shutting off at a certain MDD. The rule for turning back on would need some thought.
Your points on the AI taking on higher risk, higher volatility stocks to maximise profits reminded me of Modern Portfolio Theory/Markowitz model. I remember seeing a python library where someone had coded it up and was using it. It would take up high volatility stocks and balance it with low volatility stocks based on the math. It might give some inspiration for your work and see how some deal with the issues that come up with the markowitz model.
Edit: python library is here, https://pyportfolioopt.readthedocs.io/en/latest/index.html
As hobbyists we have limited resources, time and money. I'd love to go and buy a $3K GPU (or 2 or 3) to run bigger networks faster, but until something is proven and i REALLY need it, it's a pipe dream.
Thanks for the link, there's a lot of information in there, lots to digest and some to implement.
When i implemented the 3 outputs for the 10,50,90 percentiles, i was hoping it would create it's own risk reward type scenario, but it's not quite doing that and it just chooses the path that leads to the best end, regardless of the pain. I am starting to understand how evil it really is.
I am only rewarding it for higher gains ( so to speak), so the model has no concept of bad trades or bad times. I need to introduce a punishment for bad trades to stop it taking on riskier trades, maybe with an exponential punishment .. bigger risk, much bigger slap. Hopefully that would smooth out both the equity curve and reduce the MDD as well.
FML .... I thought raising children was bad !!!
maybe not , key if you want to trade ( or just analyze data ) is fast internet speeds , either to your broker/platform and/or your news feed ( live data or 'sensitive announcements )
unless you are trying to buy/sell large positions ( in smallish parcels ) that part is not hard a good platform/broker can do that , all you need is the software to identify targets and decide when to pull the trigger ( fairly quickly )
for example i might wake up tomorrow morning and decide i can grab some ILU at $7 , now without a fancy rig i can throw an order in premarket ( or even during the trading session )
all you need the AI to do FIRST is flag ILU ( or whatever you trading ) as a possible trade that day , now if you are setting trailing stops after buying that is a little more complicated do you trail at 3% or 5% for example
remember history only rhymes , it might not play out exactly the same next time ( so what kicks goals this year might be a trail of tears in 3 years time in the same scenario )
remember most computers are only fancy adding machines with a typewriter attached ( the first software spun out of print servers ))
very fast and colourful now , but until they think for themselves
Abacus V Modern Calculator (1967)
Abacus V Modern Calculator (1967)
No title - Abacus versus modern calculator. Hong Kong. C/U abacus and calculating machine. L/S crowd gathered round competitors in the hall. C/U's girl using large calculator. M/S little boy Lee Pak Kwan using abacus. Various shots as he works with an abacus. M/S of the girl with...yt.cdaut.de
this has been repeated over the decades ( by others ) the secret is at data entry speeds ( even on modern computers )
however once you get the computer talking to the broker/platform ( needing communication elsewhere the computer grabs the advantage
It's a tricky one. I don't want to diminish the ability to pick high returning stocks in sideways or upward markets, just the ability to decide when to apply it (Not in downward markets).Yea, there's a lot of info there. It's been on the list of things to look at for the future. It's a long list unfortunately, lol.
I thought I had seen a tutorial where they did just that, and had punishments for risk that was too high. But it's been a while and I can't remember where that tutorial was so can't verify. Rewards for higher returns will just result in higher volatility, which you are seeing.
I'm too much of a n00b, but like the link I sent you there may be some credence is having an aim for sharpe/sortino or annualised volatility instead of max gain. Or maybe that'll just turn it into the markowitz model, but in AI form?
It's a tricky one. I don't want to diminish the ability to pick high returning stocks in sideways or upward markets, just the ability to decide when to apply it (Not in downward markets).
I am going to add index data into the models input, that extra dimension might allow it to learn good or bad periods in the overall market and make adjustments to it's algorithm. However the more dimensions i add the less it will learn or generalise.
I like your idea about the sharpe ratio, so i might try that as a target instead of momentum and see if that behaves better in weaker markets or gives a smoother equity curve.
Looking Forward: I will need to create a market sentiment model to gauge the direction the market is going. It could be something as simple as just the index, but i will try adding things such as gold, bonds, oil etc. The output from the sentiment model can be fed into the market price models OR the agent can decide which market model to use based on the sentiment model.
Things are getting deep now !!!!
Your market gauge will be interesting. the 'strength' of its ranking for market (i.e. strong bear, strong bull, weak bear, weak bull, sideways, etc.) could be a weighting factor for allocated funds. Perhaps that's getting too deep into things, but if the model is pursuing a long strategy only and it's a strong bull market, then you'd want full allocation. If it's a weak bull market, then maybe 0.4 * alloc would be the way to go? And so on.
THe market sentiment could be a different model. The outputs of that model could then be used by your trading model. It may be best to develop them independently of each other.
Really good thread.
I was learning Python to try something similar. Very slow process so far.
I believe those that get in early will be able to enjoy profits until the rest catch on.
Hello and welcome to Aussie Stock Forums!
To gain full access you must register. Registration is free and takes only a few seconds to complete.
Already a member? Log in here.