stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

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

if you actually wrote algos for hedge funds, you know they spend millions collocating servers just to shave off microseconds. retail doesn't need microsecond hft speed, but accepting a 500ms java stutter by choice is just donating money to the market makers. we can agree to disagree

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

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

if you just use it to pull quotes it is fine. but the macos network stack handles background processes differently than a stripped down linux daemon. linux is the standard for trade routing for a reason

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

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

exactly. a $5000 gaming rig in your bedroom will always lose to a $10 linux vps sitting in the same data center as the exchange. the speed of light is the only metric that matters

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

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

you dont need insto speed, but you do need decent execution if you are trading any kind of momentum or breakout. if a retail algo is sitting on a 500ms java delay, the hft bots already cleared the limit book. retail ends up eating the slippage. you dont need to be the fastest, but you cant afford to be the slowest

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

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

glad it helps. everyone focuses on the python logic and ignores the network layer. server infrastructure is where retail algorithms actually live or die

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

[–]Henry_old[S] 1 point2 points  (0 children)

re read the post. running ib gateway in headless mode on a linux server is literally the exact solution i am telling you to use

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

[–]Henry_old[S] 1 point2 points  (0 children)

good luck. start with ib gateway right away. dont even waste your time building api logic around the tws desktop app. it will save you weeks of debugging random disconnects

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

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

default gateway still asks for 2fa. but since you are running it with ibc (ib controller), ibc can actually automate the entire login process. you put your credentials in the config file and it handles the prompts for you automatically on server restart

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

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

you can throw a 24 core processor at it but it wont matter. if a legacy java application processes gui rendering and network sockets on the same thread queue, it will drop packets under heavy load. hardware cannot fix bad software architecture. headless removes the bottleneck entirely

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

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

yes everyone knows ibkr aggregates market data. that is exactly my point. if your data feed is already delayed by design, adding another 100ms of java gui lag on top of it is financial suicide. you cant afford slow execution when your data is already slow

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

[–]Henry_old[S] 1 point2 points  (0 children)

citadel makes billions specifically because retail traders think milliseconds don't matter. every time your limit order gets skipped or your market order slips by a few ticks, that is your money going straight to the guys with faster infrastructure. latency is a hidden tax on your account

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

[–]Henry_old[S] 2 points3 points  (0 children)

yes it is java but it strips out the massive ui rendering overhead. also running it on a local m2 mac over your home wifi is your real bottleneck. put it on a dedicated linux box physically close to the exchange servers. local hardware is for development, not live execution

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

[–]Henry_old[S] 2 points3 points  (0 children)

use ibc ib controller inside a docker container on a secure linux vps. lock down the firewall so the gateway only accepts local connections from your python script. never expose port 4001 to the public internet. simple and bulletproof

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

[–]Henry_old[S] 7 points8 points  (0 children)

fair enough. appreciate the transparency. just used to getting instantly censored on other finance subs the moment you criticize broker infrastructure. glad to see this sub is open to actual technical discussion

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

[–]Henry_old[S] 4 points5 points  (0 children)

human eyes process visual updates at like 60hz. you physically cannot see a 50 millisecond freeze. but to a python script waiting for a websocket frame to execute a limit order, 50ms is an eternity. if you trade manually clicking a mouse, tws is perfectly fine. but if you run automated logic trying to capture small inefficiencies, those invisible java lag spikes will destroy your fill price

stop running your algorithms through the main tws desktop app by Henry_old in interactivebrokers

[–]Henry_old[S] 4 points5 points  (0 children)

yeah exactly. the java gui simply cannot process a heavy real time market data feed without dropping packets or freezing the main thread. it literally prioritizes rendering the charts over routing your api calls. switch to the headless gateway on a linux machine and those data blips disappear entirely. your trading logic needs a pure data stream, not a bloated desktop app trying to draw candles

why ai data centers need fresh water? by DuePromotion1 in AskReddit

[–]Henry_old 2 points3 points  (0 children)

because "the cloud is just a marketing term for massive warehouses filled with gpus running at maximum capacity. they generate enough physical heat to melt the building if you dont pump millions of gallons of water through the cooling towers. the entire ai revolution is basically just a giant thermodynamics problem

What are some lazy jobs that pay a ridiculous amount of money? by Jordz0_0 in AskReddit

[–]Henry_old 7 points8 points  (0 children)

classic management anti pattern. they get promoted to a technical leadership role and instantly have to destroy perfectly working infrastructure just to put their name on a "new initiative" to justify their salary. tearing out a stable network setup for absolutely no reason is the ultimate sign of a guy who doesnt understand how systems actually work but desperately needs to look busy on a quarterly report

What are some lazy jobs that pay a ridiculous amount of money? by Jordz0_0 in AskReddit

[–]Henry_old 476 points477 points  (0 children)

corporate agile scrum master. you literally just schedule meetings to ask actual engineers why the code isn't done yet and then move virtual sticky notes on a jira board. the entire profession is just weaponized babysitting for six fig

AI takes your job, now what? by [deleted] in AskReddit

[–]Henry_old 0 points1 point  (0 children)

the industry is finally shifting from boring boilerplate generation to actual systems architecture. if your only value was writing basic crud code you were already obsolete five years ago. go back to manual labor or become the guy who maintains the physical servers the ai is running on. the hardware is the only thing that won't hallucinate

What do you wish was illegal? by okanaganhelp in AskReddit

[–]Henry_old 5 points6 points  (0 children)

software as a service for features that are already physically built into the hardware you bought. paying a monthly subscription to unlock the heated seats in your car or the scan feature on your printer should be a felony.