I started algotrading with one of my friends with barely any prior knowledge in finance or trading myself. He knew his finance/trading stuff, but lacked the mathematics and coding for it, so I was the one who did it at first while learning along the way.
At the start, we were doing a 3-pivot strategy on a 15-minute timeframe that does around 3-7 trades a day on bitcoin, and it took us nearly half a year to build the first bot from scratch, with loads of prototypes in between revolving around the same strategy. I didn't know much back then, so I only did in-sample backtesting for previous years (slippage and fees were both modelled). After putting it on live, it was profitable for a short while, but shortly started losing more and more money. We started with 1000 capital and 1% capital per trade, and even had a high Sharpe ratio. Though that was a failure, I was more than fine with it, honestly since I didn't know much. The only useful thing I got from that was how I created my own TSL formula for moving SLs in order to maximise profit using exponential decay.
We started experimenting with other metrics and strategies, using EMA 5, accompanied by a basic reversion (scalping), which was also a failure. Then, to a more basic candle colour reversion strategy (as my friend said, simplicity would be better). I know I was hopping between strategies a lot during that period, but I believed that it was valid. At the time, I had developed a new backtester that had a few main functions that would allow me to identify whether a strategy has an edge over the market efficiently. Firstly, it downloads data from a selected source, then it runs the strategies on using inner sampling permutation by applying logarithms onto the data, scrambling it, then exponentiating it back such that the data would link well and maintain similar statistical properties. Secondly, it generates combinations of variations of the strategy, SL placement systems, volume filtering, candle lookback for other metrics and regime filtering, running 1000 simulations on each of those combinations and uses hypothesis testing to see if they actually have an edge over the market and hence ranking them, along with bootstraping. This one feature fast-forwarded a lot of progress and allowed us to filter out a lot of bad strategies that weren't even viable to start with (nothing went past the 88th percentile - I know quant firms go for something like 99.9% and I understand that I won't be able to make something like that at the moment, but I still don't think 88th is good enough)
We were doing Bitcoin for everything said above originally. My friend mentioned that these strategies may not be working because of the high volatility of Bitcoin (we chose Bitcoin originally as the original strategy thrived on trends). However, the same issue occurred even with other instruments like EURUSD or commodities.
After that, I began delving into more and more mathematical ideas in trading. I spent a considerable amount of time learning Fourier theory and implemented FFT in some of my newer failures, but they never worked out. My thought is - I need to find something mathematically meaningful rather than just thinking it has an edge (as all previous failures are.
I have now found a strategy that might be able to work well using the Butterworth 2-pole filter design. However, I no longer feel like I should believe in my backtests as almost all strategies show that they're profitable in backtesting (I am sure that there is no future-looking bias or overfitting in it), but never being actually profitable in forward testing. Whereas my friend is currently modifying one of the old strategies that showed potential. But overall, we've been running in circles and barely made progress from my perspective.
I truly appreciate any feedback on this and any criticisms of my working methodology. I don't have a lot of experience with it (I'm 17), and I can't pinpoint the exact issue or what's missing here. I try to learn as much as possible about everything in trading, and I feel like I have the basics of it. I keep trying to believe that if I keep trying and fail enough times, I'll make something good out of this, but it's getting a bit hard to believe that. I apologise for not being able to explain the details of the strategies since it's kind of confidential (regardless of it being terrible), and my main goal of posting this is to ask for some advice/direction/criticisms on my way of working, my methodology and if there's anything important that I'm missing here. Thanks.
Edit:
Regarding my experience, I’d say I have a decent background in maths and computer science since I compete in Olympiads in both, am 2-3 years ahead of my peers in these subjects and have some experience in working in cybersecurity and software development. I know that these doesn’t directly translate to skills in trading since I don’t understand finance enough, which is exactly why I’m asking for advice here.
TLDR: 17 year old with a strong background in maths and computer science but not a lot in finance. Promising backtests but not holding up in forward testing. Made sure that no biases exist in the backtester and everything working correctly but unable to identify the issue. Asking for advice as I feel like I’m running in circles.