Backtester show 0 deals

Bug info:

I am trying to combine the market structure RR tool in the backtester with Bollinger Bands (BB) as a start condition, to see if the idea I have turns out to be profitable in the long term and if it can be automated.

The basic idea is that when there is a breakout in a higher timeframe BB, I want to enter a long position, with a stop loss below the nearest recent low and an RR of 2 (so the take profit will be dynamic based on where the low is), as you can see in the image.

Now, if I backtest the strategy WITHOUT the RR, focusing only on the breakout, let’s say with a random 2% TP and 1% SL, I end up with many open deals.

If I add the RR, the result is as follows:



Hello @Cr1pt0s,

Some days ago I was also backtesting with the RR and I had similar results and I think I know why.

The simple reason is that probably, you are in SPOT.
The complex reason is that if you are in SPOT sometimes is not possible to coordinate the amount of portfolio allocation to an entry with an indicator like BB%B and a % SL + an RR. Why? Because let’s say that you open a position and the bot calculates where will be your SL and TP with the RR, the problem here is that the bot is using the indicator to determine where are the SL and TP and what it is probably happening is that the SL is placed somewhere under 1% SL (0.05% for example) so when the price gets there, your position hasn’t decreased 1% but only 0.05% so there is a discrepancy between what your conditions are and what it is possible to do.

How to resolve that? By using leverage because with leverage you can get to 1% SL with 0.05% downtrend with x20 (for this concrete example). Also if the leverage multiplier is not high enough you still might have the same error, be cautious with leverage then.

Hope that my answer is clear enough :grin: let me know if this resolves your problem!

1 Like


I’ve tried by settings on your screenshot and it workerd.
Please provide backtest url that doesn’t open new deals.

Be careful anyway with these specific backtests as they may give unreliable information cause they use more funds than necessary as it is said in the message. They will probably work differently on live account than in backtest

https://app.gainium.io/bot/backtests?a=1623&aid=share-backtest&backtestShare=bd69c799-4fe6-4b4e-afb5-043f4b57e4e4

this is the backtest

I run it and got result.
https://app.gainium.io/bot/backtests?a=1&aid=share-backtest&backtestShare=7c4a3403-a2c9-45aa-a3bf-4c74ea0eb8f0
Can you retry on your side?

nope, 0 deals again :thinking:

Can you try different symbol or period that have not cached in your browser, or if its possible - remove candles from cache and try again.

Tried with a different non cached symbol and it’s the same 0 deals :thinking: I’m on edge browser btw

Does it show you any message at the top in stats tab?

Nothing unusual

I’ve just sent a server side backtest, but same result given

1 Like

@maksym.shamko
It seems that the issue only occurs on Binance Spot. On all other exchanges I’ve connected to, it does produce results, even if they differ for the same pair over the same periods.

Bybit SPOT (11 deals)

Kukoin spot & futures (2 deals)

Binance (SPOT) (0 deals)

Because Binance is the only exchange that connects directly from client. All other exchanges are re-routed through our server (much slower). Binance is not serving you data, try with a VPN from a different country.

Problem with balance, when using RR. Specific for your account, thats why I wasn’t able to reproduce.
I made fix, will be released in next few hours.

2 Likes

Thank you!