Skip to content
Menu
LUNEV
Language
DEEN

Trade Studio: a trading journal as a web app

A trading journal for accounts, trades, payouts and transactions, with analytics and a calculator. Publicly live at trade-studio.de.

Own project · Web application · 2026

View live(external site, opens in a new tab)

Description

Own project. Not a client commission.

Trade Studio is a trading journal: accounts, trades, payouts and transactions with screenshots in one place, plus analytics, a position size calculator and market news. It runs at trade-studio.de(external site, opens in a new tab) and can be installed on an iPhone like an app.

Screenshots

Trade Studio with demo data, German version, analytics view: key figures of a challenge account and the balance over time.
Analytics · 1280 px · demo data · German version
Further down the analytics view: result per month and per weekday as bars, with long and short compared below.
Analysis · 1280 px · demo data · German version
The bookkeeping view with income, expenses, balance, the trend over the year and the list of entries.
Bookkeeping · 1280 px · demo data · German version
The analytics view at iPhone width: account picker, key figures in one column and the navigation at the bottom.
iPhone format · 390 px · demo data · German version

Starting point

A trading journal holds private financial data: balances, results, payouts. It has to assign that data safely to each account, protect sign-ins and work on a phone just as well as at a desk.

Approach

A web client in Vue and Vite and a custom Node.js server with SQLite that needs no packages besides Node and serves the web app from the same process. The server assigns every record to the signed-in account itself and ignores any such field in the request. It runs on a rented Linux server behind Cloudflare Tunnel.

Result

  • Publicly live at trade-studio.de, on a computer and on a phone.
  • Each account sees only its own data.

Technical measurements

  • Backend tests on 1 October 2026 (npm test, in an empty test folder, never against real data): 396 of 396 passed.
  • JavaScript at start according to the build of 1 October 2026: 176.3 KB gzip, budget 200 KB. If the budget is exceeded, the build fails.
  • Every build first checks formatting, types, lint, translation files and licenses and stops at any error.

Security

  • Passwords are stored only as scrypt hashes with their own salt and compared in constant time (timingSafeEqual).
  • The session cookie __Host-session is HttpOnly, Secure and SameSite=Lax. Only a hash of the session key is stored, never the key itself.
  • For Google sign-in the server verifies the ID token itself: signature, audience, issuer, expiry and verified email address.
  • Requests are rate-limited per IP, failed password checks also per address. Every failed sign-in gets the same answer and doesn’t reveal whether an account exists.
  • Each account sees only its own records. IDs from other accounts get a 404, as if they didn’t exist.

Technologies

Related services

Build something that holds up?

Briefly describe what you have in mind. You’ll receive a reply within two business days, with a suggested date for a free, no-obligation first call.

Book a free first call