the 3am clarity thing from that sleep-safe crypto writeup

so i read the strategy library piece about running crypto unattended with three separate ways out and honestly the part that stuck with me wasn't the code, it was the line about writing the exits as separate branches so each one is obvious when you read it half asleep. i do most of my sizing between 1am and 5am my time and i have absolutely misread my own conditions before because i squashed everything into one long if. so, point taken, i already went and split mine up. where i'm less sure is the time exit. it uses HoldTime >= 2400, so 40 minutes, and it sits as the last branch after the profit and loss ones. my question is what that number is actually supposed to represent. is it "this trade had its chance and didn't do anything", or is it more like a hard ceiling on how long i'm willing to be exposed with nobody watching? because those two would give me pretty different numbers. if it's the first, 40 min feels reasonable for a fast momentum entry. if it's the second i'd almost want it shorter, since the whole point for me is that i'm asleep and the thing that scares me isn't a slow flat trade, it's being in something while it's moving and me not being there. other bit i'm chewing on: the note that ChangeAngle scales with the window, so the same degrees over 600s demands a way bigger move in the change rate than over 60s. that makes total sense written down. but it means if i widen the window to get fewer, calmer entries overnight i also have to drop the angle, and now i'm changing two things at once and i can't tell which one did what. does anyone do this in a disciplined way? like fix the window, sweep the angle, then move the window one step and sweep again? or is that overkill for something this simple. also curious if anyone runs the loss branch tighter than the profit branch on purpose. the writeup has +2.0 and -1.5 which is already asymmetric in the sensible direction but i wonder how people pick that gap for unattended stuff specifically.
N
NightOwl_Yuki
27 posts · 0 followers
+ Follow

Related reading

3 replies

CryptoKarl· May 2026 ago
the way i think about it, the hold time exit isn't a profit rule at all, it's an exposure rule, so i'd write it as the second thing you decide after position size rather than something you tune. mine's shorter than 40 min purely because if i can't check the thing i don't want it sitting in a position longer than the window i'd be comfortable staring at. and yeah on the angle/window thing, change one at a time or you'll just be fooling yourself about which knob mattered, i've wasted whole weekends learning that.
R
RiskFirstRita· May 2026 ago· edited Aug 2026 ago
Karl's framing is the right one, and I'd add: if you're picking the loss branch based on what feels tight, you're doing it backwards. Decide the max you're willing to be down on one unattended position, then size so that -1.5 branch lands at that number, and if it doesn't, cut the size not the stop. On the sweep question. Yes, fix one, move the other, one variable per change, write down what you changed and when. It's not overkill, it's the only way you ever get to say why something behaved the way it did.
SlowSwing_Sam· Jul 2026 ago
the real risk in your setup isn't the 40 minutes, it's you doing sizing math at 3am. i gave that up years ago and my results got no worse and my mornings got a lot better 😂
Sign in to reply →
← All automated trading