Remove this Banner Ad

Cryptocurrency mega-thread

🥰 Love BigFooty? Join now for free.

Are you able to post charts showing your progress down the route of algo trading? Doesn't have to be $ charts, % works just as well for seeing how you're progressing.

In the interests of disclosure as you'd well know I'm on the skeptic side of things, but I'd be curious to see how it plays out even though it's something I'd never touch.
Ok, so these are results for backtesting I have completed over the last 6 months (1st December 2022 to 31st May 2023). I won't disclose my buy signal, but this test has been performed over all USDT trading pairs currently listed on Binance (322 trading pairs).

Trial 7Trial 8Trial 9Trial 10
max_open_trades
20​
20​
20​
20​
investment_amount
250​
250​
250​
250​
take_profit
2.0%​
4.0%​
3.0%​
4.0%​
stop_loss
30.0%​
10.0%​
20.0%​
30.0%​
trailing_take_profit
0.1%​
0.1%​
0.1%​
0.1%​
trailing_stop_loss
4.0%​
3.0%​
3.0%​
3.0%​
Total trades
276​
455​
295​
193​
Total losing trades
21​
152​
42​
19​
Total profit$ 2,278$ 3,938$ 2,833$ 1,957
Total losses$ 1,587$ 4,379$ 2,266$ 1,472
Net Profit$ 691-$ 441$ 567$ 485
Max runup
46%​
81%​
81%​
25%​
Max drawdown
43%​
39%​
39%​
36%​

I am not sure what to make of the results yet, it feels like I'm missing something... Market return over the same period is only 0.33% (so 3 out of the 4 trials outperformed the market), which is effectively a DCA calculation i.e. if I bought all trading pairs evenly at the beginning of the backtest and then sold at the end.

Trailing take profit moves the take profit level up by that amount once the initial take profit has been hit. It cannot close out a trade, it will just continually raise the take profit level so the trade can secure more profits. The trade is exited with the trailing stop loss, which will be set at a percentage below the most recent peak that set the new take profit level. The original stop loss will only be hit if the trade never reaches it's first take profit level and is counted as a losing trade.
 
Last edited:
BACCS

Have you incorporated AI into your trading strategy? That seems to be the new thing. Once the tech is established, I can't see how a human will be capable of out-trading AI.
 
An update on this... I am now running a script that is generating a buy signal based on the hourly chart, but then merging this with minute data for exiting trades. It forwards fills the hourly data to the minute data, creates a new dataframe for the backtest to perform on and then only looks at the first minute of the hour for buy signals (to avoid repeating the same signal 60 times). It allows me to get more precise exits based on my take profit and stop loss levels, because as we all know, even an hour in crypto can see some wild swings (my code can only sell at the close of a candle, which is now a minute candle instead of an hour).

Once you have a buy signal you are happy with, it is important to tinker with take profit/stop loss levels, as these are absolutely critical to nailing a profitable strategy. Review your trades (there are plenty of good metrics that you can print to a log file) and see whether you could have let a trade run longer/cut your losses earlier and find that optimal balance.

If anyone is keen to learn algo trading, please reach out on DM and I will do my best to give tips I've learnt along the way and help you get started.
How many hours have you put into coding this and did you have much coding exp prior to taking on this project?
 

Log in to remove this Banner Ad

BACCS

Have you incorporated AI into your trading strategy? That seems to be the new thing. Once the tech is established, I can't see how a human will be capable of out-trading AI.
No, but for live trading I am using a far more sophisticated bot developed a team that met on Reddit 3 years ago. It has a easy web user interface and does not require any coding skills. The platform is called AESIR for anyone interested. Plenty of info about the platform on their website and Reddit. It allows paper and live trading, but does not have backtesting capabilities yet, which is why I’ve developed my own.
How many hours have you put into coding this and did you have much coding exp prior to taking on this project?
I had absolutely no coding experience prior. I honestly think at least 200+ hours have gone into it. I had something working earlier than that, but I’ve managed to refine it further so it is giving more accurate results now.
 
No, but for live trading I am using a far more sophisticated bot developed a team that met on Reddit 3 years ago. It has a easy web user interface and does not require any coding skills. The platform is called AESIR for anyone interested. Plenty of info about the platform on their website and Reddit. It allows paper and live trading, but does not have backtesting capabilities yet, which is why I’ve developed my own.

I had absolutely no coding experience prior. I honestly think at least 200+ hours have gone into it. I had something working earlier than that, but I’ve managed to refine it further so it is giving more accurate results now.
Will have a look

Fair effort to get a bot working with no prior exp. Good work
 
No, but for live trading I am using a far more sophisticated bot developed a team that met on Reddit 3 years ago. It has a easy web user interface and does not require any coding skills. The platform is called AESIR for anyone interested. Plenty of info about the platform on their website and Reddit. It allows paper and live trading, but does not have backtesting capabilities yet, which is why I’ve developed my own.

I had absolutely no coding experience prior. I honestly think at least 200+ hours have gone into it. I had something working earlier than that, but I’ve managed to refine it further so it is giving more accurate results now.
I had you pegged early on as someone who'd make it in crypto. It's encouraging to see your progress.
 
Just seems like an abuse of power, the judge even said that about the SEC in the XRP case at one point. So many bigger fishes to fry in TradFi, but they choose to go after an industry barely a fraction in size of those. Coinbase are as transparent as they come, are very public about trying to work with the SEC on industry regulation, and then still get hit with a suit. I have got no doubt Binance very likely made some errors back in 2017/2018, but they do genuinely seem to be trying to work with the SEC over the last couple of years.

Gensler has ties to SBF and never targeted FTX, funny that.

25% of crypto trading volume is in the US, but that means 75% is elsewhere. The frustrating thing for US citizens is that Gensler is not an elected official, so until there is a change in Government, it's unlikely he's going anywhere.

Also, the US Government have been actively selling BTC through these exchanges this year :drunk:, did ol mate Gary not get the memo?
 

Remove this Banner Ad

Good idea but surely a bot doesnt matter. Volatility will provide the better opportunities?
Simply holding tends to outperform all types of trading in bull markets.

Decent free algos outperform most traders. Using ATR trailing stops on a weekly timeframe would make you money, as shown below.

W96kugUm
 
^^

Please post the same chart when it turns red :)
It's a free indicator on tradingview called ATR trailing stops strategy. Another popular algo (used by incomesharks from twitter) is supertrend. I'm quite sure you can access both algos from free tradingview accounts by searching indicators.

indicators.JPG

Simple strategies often work best. This one is just a moving average crossover:


crossover.png
 

🥰 Love BigFooty? Join now for free.

Seems like something regulation would fix. This is why I went off crypto, 12 years on and the basic idea of having a healthy ecosystem is still lacking.
This is why I'm still here. If we ever have a healthy ecosystem, the opportunities to get rich will diminish. I'm in favour of regulating exchanges while leaving the ecosystem intact.

A healthy ecosystem regulated by government won't give you the same opportunities to get rich (or poor) from buying scam shitcoins. I don't see that as a win.
 

Remove this Banner Ad

Cryptocurrency mega-thread

🥰 Love BigFooty? Join now for free.

Back
Top