· Version bffb7231db16
Hourly pullback · BTC
A backtest study of a short pullback in BTCUSDT on Binance Spot. It attempts one buy on a falling hourly candle and checks when to close the position.
Did Studio fail to open or show a blank window?
- If you need Studio, open the install page, choose the file for your system and follow “How to install this file.”
- Launch XTester Studio from your applications menu or installation folder. Wait for the workspace and sign in to EasyTrading.
- Return to the card and select “Open strategy in Studio.” Allow the browser to open the app and confirm the link in Studio. The strategy will appear in My Strategies.
If the browser opens a blank window, find this strategy directly in Studio. Open Strategy Library, then Catalog. Search by title and select “Add to My Strategies.”
Backtest result
BTCUSDT · Binance · h1
Overview
How to read these metrics
- Return
- Change in equity over the run as a percentage of starting equity.
- Annualized return
- Compound annual growth rate of equity.
- Max drawdown
- Largest peak-to-trough decline in equity during the run.
- Trades
- Closed trades counted in the run statistics.
- Sharpe ratio
- Return relative to its variability, annualized from UTC daily returns in Studio.
- Starting equity
- Equity at the start of the run.
- Ending equity
- Equity at the end of the run as reported by Studio.
- Return
- -0.03%
- Annualized return
- -1.31%
- Max drawdown
- -0.03%
- Trades
- 1
- Sharpe ratio
- -6.63
- Starting equity
- 10,000
- Ending equity
- 9,997.47
Risk
How to read these metrics
- Annualized volatility
- Variability of UTC daily returns, annualized.
- Drawdown duration
- Longest time equity stayed below a previous peak.
- Sortino ratio
- Return relative to downside variability.
- Worst day
- Lowest return between two consecutive UTC day closes.
- Max exposure
- Largest share of equity exposed to the market in the run.
- Annualized volatility
- 0.17%
- Drawdown duration
- 0 days
- Sortino ratio
- -6.22
- Worst day
- -0.03%
- Max exposure
- 1.82%
Trades
How to read these metrics
- Trades
- Closed trades counted in the run statistics.
- Winning trades
- Percentage of closed trades with a positive result.
- Profit factor
- Gross profit divided by the absolute value of gross loss.
- Average win
- Average return of winning trades.
- Average loss
- Average return of losing trades.
- Expectancy per trade
- Average outcome per closed trade across winners and losers.
- Average trade duration
- Average elapsed time from trade entry to exit.
- Time in market
- Share of the run during which positions were open.
- Trades
- 1
- Winning trades
- 0%
- Profit factor
- 0
- Average win
- 0%
- Average loss
- -1.42%
- Expectancy per trade
- -1.42%
- Average trade duration
- 04:00:00
- Time in market
- 2.38%
By period
How to read these metrics
- Best month
- Month with the highest return in the Studio report.
- Worst month
- Month with the lowest return in the Studio report.
- Profitable months
- Months with a return strictly above zero. A flat month is not counted as profitable.
- Best quarter
- Highest quarterly return in the Studio summary.
- Best month
- January 2026 · -0.03%
- Worst month
- January 2026 · -0.03%
- Profitable months
- 0 / 1 · 0%
- Best quarter
- -0,03%
| Month | Return |
|---|---|
| -0.03% |
Settings
How to read these metrics
- Exchange
- Exchange selected for the historical simulation.
- Market
- Market type used in the run, such as spot or futures.
- Symbol
- Trading pair or contract used for the simulation.
- Time frame
- Candle interval selected for this run.
- Start UTC
- Start of the historical period in UTC.
- End UTC
- End of the historical period in UTC.
- Fees in the run
- Total fees charged by the simulation.
- Studio run
- Identifier of the saved run that supplied these statistics.
- Exchange
- Binance
- Market
- Spot
- Symbol
- BTCUSDT
- Time frame
- h1
- Start UTC
- 2026-01-08T00:00:00Z
- End UTC
- 2026-01-15T00:00:00Z
- Fees in the run
- 0.36081093 USDT
- Studio run
- c1b31608005d45c98b60cb4dd2fe01ad
How the strategy works
OnBar works only in Backtest on hourly Binance Spot BTCUSDT candles. On the first falling candle with a zero BTC balance, it attempts to buy 0.002 BTC once. From the next candle, it checks whether 4 hours have elapsed or whether a candle closes at least 1% below the entry reference. It attempts to sell once, capped by the available BTC balance and the original size, with quantity and minimum notional checks.
Limitations
Historical simulation only. The code places no orders in Paper or Live. There is one instrument, no borrowing, and at most one buy and one sell attempt. The reference is the entry candle close, not the fill price. Missing balance or symbol information prevents the sell order, and closed candle checks cannot guarantee the exit time or price.