QUIETCRYPTO
Discretion & Algorithms
Under the hood
Most sites of this kind show a curve and a promise. Here you can read the architecture, the technical choices, what broke and how it was fixed. The figures on this page are measured on production, not estimated.
The site, the engine and operations share neither the same language, nor the same rights, nor the same exposure. If one falls, the others keep going.
Apache and PHP 8 in a Docker container, MySQL alongside. The reverse proxy terminates TLS and routes each subdomain.
NPMApachePHP 8MySQLPython, separate from the site: it talks to the exchange APIs and is never reachable from the web. The site only reads its results.
PythonHyperliquidBitgetcronDaily database backup with off-site copy, health checks, access logs, position alerts.
backuphealthlogsA technical choice without a trade-off does not exist. Here are the six that structure the project, with their price.
The site is plain PHP with an in-house library. Not nostalgia: every page loads without a build step, the server has nothing to install, and an outage is diagnosed by reading a file. The cost is duplication, which I reduced by centralising translations, headers, footer and sidebar.
Tailwind is compiled on the machine, Font Awesome, Chart.js and the QR library are served by the server, and the security policy forbids any external origin. A page cannot break because a CDN moved, and no visit data leaves for a third party.
The front site and the app live on two different hosts. The session cookie is issued on the parent domain, otherwise a visitor who signs up from the front site arrives logged out in the app. I found this by testing a sign-up end to end, not by reading the code.
The code that places orders is not reachable from any public address, and it does not use the same keys as the site. A flaw in a page therefore cannot reach the keys able to withdraw funds: the site's keys have no withdrawal right.
Every change to a live file leaves a dated copy, and the database is backed up nightly then copied off the machine. That is what allowed restoring 41 broken files in one command, with no loss, the day an automated replacement went wrong.
Test suites are written in unittest and run before every engine change. They caught outdated expectations, a stale budget ceiling and margin computed on the wrong leverage. A failing test is information, not an obstacle to work around.
A project that never broke anything never ran anything. Here are three incidents, the cause, and the rule that came out of it.
A text replacement meant for translations caught a timezone setting in 41 files. The site stayed up but several pages lost their timezone. Restored from dated copies, then a rule: word-boundary pattern, count occurrences first, syntax check after every touched file.
The login logo returned 404 in production while the file existed: it was in the front site, not in the app. No visible error, just text where the image should be. Since then the same file is deployed to both roots, and a check compares the two.
The monitoring page answered from the front site instead of the app, with no sidebar and a dead script. The cause was an over-broad redirect rule in the server configuration. Fixed, then verified by reloading the page with and without a session.
The same figures, read the other way. What I have not done yet, and what I would do first if I started over.
The results page shows the full backtest, the trajectory page shows what a real account becomes, and the markets page shows the tracked pairs and the ones excluded, with the reason.
Results Trajectory Markets tracked