{"id":33,"date":"2026-11-25T22:35:49","date_gmt":"2026-11-25T22:35:49","guid":{"rendered":"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/"},"modified":"2026-11-25T22:42:55","modified_gmt":"2026-11-25T22:42:55","password":"","slug":"run-a-backtest","status":"publish","type":"docs","link":"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/","title":{"rendered":"Run a backtest and read the results"},"content":{"rendered":"<p>A backtest replays your rule over real Binance spot candles with fees and slippage. It answers one question honestly: how would this exact rule have behaved on data that is already finished?<\/p>\n<h2>Running one<\/h2>\n<ol>\n<li>Open <strong>Backtesting<\/strong> and choose the bot whose rule you want to test.<\/li>\n<li>Pick the timeframe and the period. Longer periods include more market conditions.<\/li>\n<li>Run it. The replay returns an equity curve, a trade list and the statistics below.<\/li>\n<\/ol>\n<h2>Reading the output<\/h2>\n<table>\n<thead>\n<tr>\n<th>Metric<\/th>\n<th>What it tells you<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Equity curve vs buy &amp; hold<\/td>\n<td>Whether the rule added anything over simply holding<\/td>\n<\/tr>\n<tr>\n<td>Max drawdown<\/td>\n<td>The worst peak-to-trough stretch you would have lived through<\/td>\n<\/tr>\n<tr>\n<td>Profit factor<\/td>\n<td>Gross wins divided by gross losses<\/td>\n<\/tr>\n<tr>\n<td>Sharpe ratio<\/td>\n<td>Return relative to volatility<\/td>\n<\/tr>\n<tr>\n<td>Win rate<\/td>\n<td>How often trades closed green \u2014 meaningless without the average win\/loss<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>What it does not include<\/h2>\n<p>Partial fills, liquidity gaps and exchange outages. Fees and slippage are modelled, execution is not. Treat the result as an upper bound and let a paper bot test the missing parts \u2014 see <a href=\"\/blog\/backtest-vs-paper-trading\">backtest vs paper trading<\/a>.<\/p>\n<p><!--rm-related-start--><\/p>\n<aside class=\"rm-related\" style=\"margin-top:48px;padding-top:24px;border-top:1px solid #E6E6F0;\">\n<h2 style=\"font-size:18px;margin:0 0 12px;\">Related reading<\/h2>\n<ul style=\"list-style:none;padding:0;margin:0 0 4px;display:grid;gap:8px;\">\n<li><a href=\"https:\/\/rulemancer.com\/blog\/backtest-vs-paper-trading\/\">Backtest vs paper trading: what each one actually proves<\/a><\/li>\n<li><a href=\"https:\/\/rulemancer.com\/blog\/drawdown-explained\/\">Drawdown: the number that decides whether a bot survives<\/a><\/li>\n<\/ul>\n<p style=\"margin:12px 0 0;font-size:14px;color:#5B5B72;\"><a href=\"https:\/\/rulemancer.com\/blog\/docs\/\">All documentation<\/a> &nbsp;\u00b7&nbsp; <a href=\"https:\/\/rulemancer.com\/register\">Start free<\/a><\/p>\n<\/aside>\n<p><!--rm-related-end--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A backtest replays your rule over real Binance spot candles with fees and slippage. It answers one question honestly: how would this exact rule have behaved\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[6],"doc_tag":[],"class_list":["post-33","docs","type-docs","status-publish","hentry","doc_category-backtesting"],"year_month":"2026-11","word_count":191,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/rulemancer.com\/blog\/author\/admin\/"},"doc_category_info":[{"term_name":"Backtesting & paper trading","term_url":"https:\/\/rulemancer.com\/blog\/docs-category\/backtesting\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Run a backtest and read the results - Rulemancer Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Run a backtest and read the results - Rulemancer Blog\" \/>\n<meta property=\"og:description\" content=\"A backtest replays your rule over real Binance spot candles with fees and slippage. It answers one question honestly: how would this exact rule have behaved\u2026\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/\" \/>\n<meta property=\"og:site_name\" content=\"Rulemancer Blog\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T22:42:55+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/docs\\\/run-a-backtest\\\/\",\"url\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/docs\\\/run-a-backtest\\\/\",\"name\":\"Run a backtest and read the results - Rulemancer Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-11-25T22:35:49+00:00\",\"dateModified\":\"2026-11-25T22:42:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/docs\\\/run-a-backtest\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rulemancer.com\\\/blog\\\/docs\\\/run-a-backtest\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/docs\\\/run-a-backtest\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Run a backtest and read the results\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/\",\"name\":\"Rulemancer Blog\",\"description\":\"Guides for rule-based crypto trading bots\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rulemancer.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Run a backtest and read the results - Rulemancer Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/","og_locale":"en_US","og_type":"article","og_title":"Run a backtest and read the results - Rulemancer Blog","og_description":"A backtest replays your rule over real Binance spot candles with fees and slippage. It answers one question honestly: how would this exact rule have behaved\u2026","og_url":"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/","og_site_name":"Rulemancer Blog","article_modified_time":"2026-11-25T22:42:55+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/","url":"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/","name":"Run a backtest and read the results - Rulemancer Blog","isPartOf":{"@id":"https:\/\/rulemancer.com\/blog\/#website"},"datePublished":"2026-11-25T22:35:49+00:00","dateModified":"2026-11-25T22:42:55+00:00","breadcrumb":{"@id":"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rulemancer.com\/blog\/docs\/run-a-backtest\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/rulemancer.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/rulemancer.com\/blog\/docs\/"},{"@type":"ListItem","position":3,"name":"Run a backtest and read the results"}]},{"@type":"WebSite","@id":"https:\/\/rulemancer.com\/blog\/#website","url":"https:\/\/rulemancer.com\/blog\/","name":"Rulemancer Blog","description":"Guides for rule-based crypto trading bots","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rulemancer.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/docs\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":1,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/docs\/33\/revisions"}],"predecessor-version":[{"id":52,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/docs\/33\/revisions\/52"}],"wp:attachment":[{"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/doc_category?post=33"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/rulemancer.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}