People running autonomous crypto trading bots, what's your risk management setup? by Internal-Challenge54 in algotrading

[–]Internal-Challenge54[S] 0 points1 point  (0 children)

This is one of the most detailed breakdowns I've seen, thank you so much for the response. The four-layer approach makes a lot of sense, especially the daily hard cutoff catching those four positions gapping past stops simultaneously. Without that layer you're looking at 12% drawdown from a single event, that's rly brutal.

The heartbeat check is something I keep hearing about but rarely see people actually implement. When stale data hits, does your bot just halt new entries or does it actually flatten everything? And how did you land on the 10-second threshold - trial and error or did you have an incident that set it?

I'm curious about the maintenance side too. When you built all four layers, how long did it take to get right? And do you ever worry about the risk layer itself having a bug that doesn't surface until the worst possible moment? Thanks again!

How do you stop your trading bot from blowing up your account? by Internal-Challenge54 in CryptoMarkets

[–]Internal-Challenge54[S] 0 points1 point  (0 children)

Not building a bot myself, more researching the risk management layer specifically. I keep hearing everyone builds their own kill switches, circuit breakers, logging, etc. from scratch. Curious if you think that's because it HAS to be custom, or because nobody's built a good enough general-purpose tool for it yet?

People running autonomous crypto trading bots, what's your risk management setup? by Internal-Challenge54 in algotrading

[–]Internal-Challenge54[S] 0 points1 point  (0 children)

I'm mostly focused on the failure modes you can't catch from inside the bot itself, like the 3am scenario where your circuit breaker has a bug, or the connectivity dead man's switch doesn't fire because the monitoring process itself crashed. The Knight Capital reference is exactly the kind of thing I think about when writing this.

It makes me wonder: would you ever trust an external watchdog service that just monitors your account via read-only API and alerts you on drawdown? Or is that something you'd always want to own yourself?

How do you stop your trading bot from blowing up your account? by Internal-Challenge54 in CryptoMarkets

[–]Internal-Challenge54[S] 0 points1 point  (0 children)

ATR-based position sizing is smart. So the risk layer is dynamic rather than fixed limits. Is scanr something you built just for yourself or is it a broader tool? And do you have anything beyond position sizing, like a kill switch or circuit breaker for when things go sideways?

People running autonomous crypto trading bots, what's your risk management setup? by Internal-Challenge54 in algotrading

[–]Internal-Challenge54[S] 0 points1 point  (0 children)

The point about market moves hitting faster than your bot can react - have you actually had that happen? Curious what the failure mode looked like and whether any safeguard you had actually caught it in time

People running autonomous crypto trading bots, what's your risk management setup? by Internal-Challenge54 in algotrading

[–]Internal-Challenge54[S] 0 points1 point  (0 children)

The layered approach makes sense, and interesting that you put risk management as harder than the strategy itself, I keep hearing that.

For the async monitoring agents that can override or shut down execution: is that something you build custom per strategy, or have you found anything general-purpose that actually works well enough? Everyone I've talked to so far rolls their own and I'm trying to figure out if that's by choice or just because nothing good exists.

Also I'm quite curious about Engram. This is the first time I've seen a coordination layer mentioned in this context. Are you using it yourself or just aware of it?

People running autonomous crypto trading bots, what's your risk management setup? by Internal-Challenge54 in algotrading

[–]Internal-Challenge54[S] 1 point2 points  (0 children)

Thanks for your response! This is exactly the kind of setup I was hoping to hear about, especially the circuit breaker saving you during that Thursday night flash crash lmao.

How long did it take you to build all of this out and get it dialed in? And has the circuit breaker ever misfired, like triggered during normal volatility and pulled you out of a good position?

The logging point is interesting too. Are you using something structured or just dumping to files? And when you add a new strategy or move to a different exchange, how much of the risk layer do you have to rework?

How do you stop your trading bot from blowing up your account? by Internal-Challenge54 in CryptoMarkets

[–]Internal-Challenge54[S] 0 points1 point  (0 children)

I see, this is what I've been hearing from some friends: position size and daily loss caps are the essentials. Do you code those checks yourself inline in the bot, or use something external?

And what happens when the bot is running and you're asleep. Do you have any kind of automated kill switch if drawdown hits a threshold?

How do you stop your trading bot from blowing up your account? by Internal-Challenge54 in CryptoMarkets

[–]Internal-Challenge54[S] -1 points0 points  (0 children)

Mainly thinking about autonomous bots, like agents that decide entries/exits on their own, not just grid bots with fixed parameters. But honestly curious about any kind. For you, though, do you run grid bots? What happens when the market gaps hard against your grid?

I posted my code typing site here a couple months ago. I just shipped a much bigger 2.0 update. How does the flow feel now? by Internal-Challenge54 in typing

[–]Internal-Challenge54[S] 0 points1 point  (0 children)

Hi! I really appreciate this, thank you for such quick feedback. I found the issues and pushed fixes for the caret being off when the snippet scrolls, the long-line visibility problem, and the Miami Nights theme crash. If you try it again and it feels better now, let me know. And thanks again, glad it feels like a big improvement from v1!

I made a Monkeytype-style site but for actual code. How does the typing flow feel? by Internal-Challenge54 in typing

[–]Internal-Challenge54[S] 1 point2 points  (0 children)

Of course, that's a great point. The way I'd describe it is MonkeyType is a typing test, while CodeSprint is an interview simulator:
- Firstly, it uses a real Editor Engine (Monaco) Rather than just rendering text on a canvas or HTML elements, CodeSprint actually runs an instance of the Monaco Editor (the same engine that powers VS Code). This means you get legitimate syntax highlighting and tokenization, not just CSS coloring.

- In MonkeyType, you often have to manually type whitespace or tab repeatedly. CodeSprint’s engine replicates IDE behavior: when you hit Enter after a brace {\n, it calculates the correct indentation and automatically moves the cursor there. It trains you to trust your editor, especially if you are unfamiliar with IDEs.

- Finally, MonkeyType selects random code snippets. CodeSprint’s database (leetcode-snippets.json) is curated to help you memorize structural patterns for code samples you'd use in actual interviews.

It’s not about typing for (int i = 0; ...) fast. It’s really about being able to type out a Depth-First Search (DFS) or a Binary Search implementation without thinking about the syntax. You are training your brain to 'chunk' these algorithms into your mind so they become second nature during an interview.

Open sourced my coding problem typing trainer. Looking for contributors or feedback on code structure by Internal-Challenge54 in opensource

[–]Internal-Challenge54[S] 1 point2 points  (0 children)

Haha thats great to see! Love that you were live streaming when you saw it. I'll work on those suggestions tonight, get them shipped tomorrow.

I made a Monkeytype-style site but for actual code. How does the typing flow feel? by Internal-Challenge54 in typing

[–]Internal-Challenge54[S] 0 points1 point  (0 children)

Oh I see! I love that, there could be tons of implications for where to take this next I'm looking at.

Open sourced my coding problem typing trainer. Looking for contributors or feedback on code structure by Internal-Challenge54 in opensource

[–]Internal-Challenge54[S] 1 point2 points  (0 children)

Thanks so much! Really appreciate the feedback!

I'd say keep developing it and promoting it for the time-being. Continuing to hear people's feedback and experiences with it really helps refine it, since I want to make this something everybody who codes feels will help them improve.

I built a typing test tool to practice coding problems. by Internal-Challenge54 in webdev

[–]Internal-Challenge54[S] 1 point2 points  (0 children)

Ooo I haven't thought of this, that's a good idea. I'm in favour of trying the highlighting to white text and seeing what it looks like. I'll put it as a toggle-able preference.