---
title: "Discussion on \"The Permanent Halt That Lasts Until the Next Restart\" | Hashnode"
description: "Discussion on \"The Permanent Halt That Lasts Until the Next Restart\". Prop-firm challenges come with hard rules: lose more than a set percentage in a day, or in total, and the account is finished. So traders reach for a small utility that watches the account and enforce"
url: "https://hashnode.com/posts/the-permanent-halt-that-lasts-until-the-next-restart/6ab822dcd23af1cc3fb16f4e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Permanent Halt That Lasts Until the Next Restart](https://honest-backtest.hashnode.dev/the-permanent-halt-that-lasts-until-the-next-restart?utm_source=hashnode&utm_medium=feed)

Prop-firm challenges come with hard rules: lose more than a set percentage in a day, or in total, and the account is finished. So traders reach for a small utility that watches the account and enforce

Sep 26 · 5 min read · honest-backtest.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#trading](https://hashnode.com/tag/trading)

## Written by

[Valerii Sakara](https://hashnode.com/@arakas4488cmd)

@arakas4488cmd

  
[View profile](https://hashnode.com/@arakas4488cmd)

Independent code audits for algorithmic trading bots — real bugs, real backtests, no marketing curves.

I audit algorithmic trading bot code for a living — entry/exit logic, order management, risk handling, fee-honest backtests. I've filed 40+ public responsible-disclosure issues against live open-source trading bots, and audited my own bot the same way before offering this to anyone else.

## Responses 1

Markdown supported · ⌘↵ to post

[Arnold Holm](https://hashnode.com/@stratcorealpha)

[Oct 9](https://hashnode.com/posts/the-permanent-halt-that-lasts-until-the-next-restart/6ab822dcd23af1cc3fb16f4e/comment/6ac8e97828d22e2e60bf0a2f)

Saving the breach flag and day-start value together fixes the restart problem you describe. I would also test a restart during the file write: if the saved state is missing or unreadable, new entries should stay disabled until it is restored, rather than use the current equity as a fresh baseline. Does the revised version keep the halt in that interrupted-write case?
