MultiversX Tracker is Live!

I got another one for you guys - I coded a tool to help you find a profitable trading strategy using backtesting on historical data, as always it's open source

All Cryptocurrencies

by COINS NEWS 238 Views

I got another one for you guys - I coded a tool to help you find a profitable trading strategy using backtesting on historical data, as always it's open source

So you guys may have seen some of my previous posts, where I shared several open sourced crypto trading algorithms that I coded. Many of you asked if they have been backtested and how that would work.

So I created this quick tool to help you assess the profitablity of your trading strategy of trading bot if you're using one.

Backtesting is a way of feeding your current trading strategy to a script that applies it on historical data, in order to determine how successful it could be in the future.

Past performance does not always guarantee future returns, but it's good practice to test your strategy (or trading algorithm) before you go ham.

The script downloads historical data for a coin of your choice, and at an interval of your choosing. This is then used by the script to determine how profitable a strategy can be, and whether it has the potential to beat a buy and hold.

At the end of the testing phase, the tool will generate a plot showing each trade and final balance.

https://preview.redd.it/keifsz3901571.png?3604&format=png&auto=webp&s=5cbcf4bc64e2e23772b30de9fa10854d0543a1a5

Working with historical data since the start of this year, I fed it a simple strategy - buy if the price is up 1% in the last minute. Sell at 10% gain or 5% loss - but you can customise these parameters yourself. This strategy made a marginal loss on ICPUSDT, but then this is probably not the best coin to test on since it's been in decline ever since it was listed on Binance.

Here's the same strategy on NANOUSDT, seems like we're $800 in profit.

https://preview.redd.it/14sp9zum21571.png?3618&format=png&auto=webp&s=7c890929565f7d5c4feb273a23e2425f8e1f28ec

Happy Testing!

Here's the guide on how to implement it:

https://www.cryptomaton.org/2021/05/16/trailing-stop-loss-and-more-improvements-added-to-the-binance-volatility-trading-bot/

And here's the repo if you're a python wizard:

https://github.com/CyberPunkMetalHead/backtesting-for-cryptocurrency-trading

submitted by /u/CyberPunkMetalHead
[link] [comments]

Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments