MyStock Admin

not connected
Read-only

Auth

Token disimpan di browser (localStorage). Rekomendasi: lindungi /admin.html dengan Cloudflare Access.

Portfolio Settings

-

Price Cache

Isi harga manual agar dashboard bisa hitung value/PnL.
-

Holdings (CRUD)

-
TickerLotsAvgStyleTargetLastNotes
Klik row untuk auto-fill form.

Fundamental (upsert by as_of)

-

Technical (upsert by as_of)

-

News (manual verified research log)

-

Deploy ringkas

1) Buat D1 → jalankan migrations/0001_init.sql.
2) Deploy ke Pages. Output dir: public.
3) Bindings: D1 name DB, Secret ADMIN_TOKEN.
4) Buka /admin.html → paste token → update data.