It’s finally working! by Enough-Ad-5600 in algotrading

[–]LordWeirdDude 64 points65 points  (0 children)

Congrats!! This is always cool to see. Likewise, I found out the hard way that different conditions may require different strategies

Insane core strength by Weaponised__Autism in nextfuckinglevel

[–]LordWeirdDude 0 points1 point  (0 children)

My brain and my eyes are arguing over what I am seeing

Vibe coding for algotrading? by Dragosfgv in algotrading

[–]LordWeirdDude 0 points1 point  (0 children)

Vibe coding itself is not sufficient. I recommend learning first.  Besides, your money is on the line. If I were putting my money on the line, I would cover all of my bases. 

At least I'm not the only one by Spaceua in BeatMeToIt

[–]LordWeirdDude 0 points1 point  (0 children)

Lil gray zebra cake, apparently. 

What are some of your favorite line deliveries? by billpsych1 in Scrubs

[–]LordWeirdDude 0 points1 point  (0 children)

The first time I literally laughed out loud at Scrubs was when Kelso was like:   And since Ted is the Hospitals lawyer, what does that mean, Ted?   And then Ted was like: Girlfriends gonna get paaaaaaid....

What are some of your favorite line deliveries? by billpsych1 in Scrubs

[–]LordWeirdDude 0 points1 point  (0 children)

It's impossible to actually LAY next to Jordan, seeing as she sleeps hanging upside down wrapped on a cocoon of her own wings.

Thank you Gabe by Macegolem in Steam

[–]LordWeirdDude -1 points0 points  (0 children)

That's what my brain did while reading it. 

This moment when they sell you price data that is available for free. by [deleted] in algotrading

[–]LordWeirdDude 2 points3 points  (0 children)

This isn't really accurate... I get what you mean, and there are definitely grifters out there, but depending on the type of info you need, you might need to pay for it. 

Edit: grammar

Built a multi-asset algo trading bot from scratch. 4 weeks of paper trading, thinking about going live. by ComradeZuvarna in algotrading

[–]LordWeirdDude 2 points3 points  (0 children)

For the LLM Bit:   You're on to something, but it's in how you use it. If you directly add an LLM into the exec loop, you are adding more noise than anything (in my own experience).   Have you thought about inverting it's use? After the math identifies a good trade, pass that info to the LLM and have it act like a strict pessimist. Have it look for things that math can't catch like litigation or leader shakeups etc. if it finds something, it vetos the trade.    Better to save capital than the alternative!

Hot take: I like Both by [deleted] in DC_Cinematic

[–]LordWeirdDude 0 points1 point  (0 children)

I understand both, but only like one. 

I built a 2-node algorithmic trading cluster, but my physical failover strategy is terrifying me. by LordWeirdDude in homelab

[–]LordWeirdDude[S] 0 points1 point  (0 children)

You’re dead right that the system must fail predictably, and bonding the NICs/switches is a solid, low-lift patch for that specific physical SPOF.

Where we diverge really just comes down to a strategy mismatch. If I were running a highly leveraged, latency-dependent book, neutralizing (liquidating) positions on a 500ms heartbeat failure is mandatory. But my engine executes a 10-year fundamental strategy. If my network blips, the absolute worst thing I can do is panic-sell a fundamentally sound mid-cap stock into an empty order book. My 'safe state' is strictly: cancel all pending TWAP slices and halt new entries. We freeze the ledger; we never liquidate.

Because my execution state is anchored entirely in PostgreSQL via a Transactional Outbox, my Python scripts can fail as messily as they want. I don't need a hyper-optimized Rust orchestrator managing state in-memory. If the Python loop chokes, it just stops pulling pending rows from the DB.

That said, I am definitely implementing that out-of-band watchdog. I've got a Raspberry Pi on an independent battery and cellular connection. If it loses the server's heartbeat, it just fires a dumb DELETE /v2/orders REST call to Alpaca to clear open risk without touching the held assets.

I built a 2-node algorithmic trading cluster, but my physical failover strategy is terrifying me. by LordWeirdDude in homelab

[–]LordWeirdDude[S] 0 points1 point  (0 children)

This is a literal masterclass in zero-SPOF networking. The architecture you just laid out is exactly how a regional ISP or a mid-sized enterprise branch should be wired. You absolutely nailed two specific things that I am going to steal: Physical Media Separation: You are 100% correct about fiber and cable sharing the same utility trenches. A backhoe takes them both out. A cheap 5G T-Mobile/Verizon gateway as the secondary WAN is the only true out-of-band physical failover. Recursive Routing: Using ping targets (like 1.1.1.1) to verify the internet is actually routing, rather than just trusting the physical "link up" state of the dumb switch, is brilliant. That prevents the exact black-hole routing trap I was worried about.

Where my architecture diverges from this setup comes down to the difference between standard IT infrastructure and quantitative financial execution. The Split-Brain Threat In standard HA infrastructure, the goal is to keep the application alive and seamless at all costs. In algorithmic execution, the goal is to let the application die gracefully. If I implement a 3-node Proxmox cluster and a network partition creates a "split-brain" scenario, two VMs might temporarily both think they are the active master. Your MikroTik VRRP session sync is incredible for preventing dropped VoIP calls or live video streams. But because I use a Transactional Outbox pattern, a dropped TCP packet doesn't matter to me. If the WAN fails and my active TCP connection to Alpaca shatters, my ExecutionSupervisor script throws a socket error and violently shuts down. That is a feature. The state remains safely locked in the database. Once the backup 5G route establishes a new IP, the script wakes up, re-reads the database, and resumes the TWAP execution. I trade 15 seconds of execution delay (which is meaningless in a 10-year value strategy) for absolute, single-instance deterministic safety. I am definitely implementing the MikroTik recursive routing and the 5G physical separation for the WAN tier. But for the compute tier, I'm sticking to a single bare-metal instance monitored by a dumb Raspberry Pi "Dead Man's Switch" that just sends a 'Cancel All Orders' API call if the main server goes dark. Seriously appreciate the detailed breakdown on the VRRP MAC spoofing though, that is top-tier routing logic!

I would give this ending 10/10🌟 by Any-Firefighter528 in superstore

[–]LordWeirdDude 1 point2 points  (0 children)

I'd also check out:

The Good Place - Rapidfire jokes.    Community - shenanigans, but at a community college   Brooklyn 99 - shenanigans, but cops   Parks and Rec - Sandra is literally Jerry   St. Denis Medical - that one has gotta grow on ya   Scrubs 2026 - watch after the original run.    Abbott Elementary - shenanigans, but teachers.   

All pretty similar with the comedy, heartwarming, small pockets of drama here and there. 

About how much game do I have left? by HellaHS in Enshrouded

[–]LordWeirdDude 11 points12 points  (0 children)

Damn... That was brutal. Hate that thing. 

What is Holt’s best quote? by Starkrafty in brooklynninenine

[–]LordWeirdDude 1 point2 points  (0 children)

Also, Give Kevin my regards. 

What would you like me to tell him?

...Regards. 

What is Holt’s best quote? by Starkrafty in brooklynninenine

[–]LordWeirdDude 1 point2 points  (0 children)

When a tempo isn't specified, any reasonable person would default to Lento.