MyStock
Admin
not connected
Read-only
Load
Auth
ADMIN_TOKEN
Remember
Forget
Token disimpan di browser (localStorage). Rekomendasi: lindungi /admin.html dengan Cloudflare Access.
Portfolio Settings
Save
-
Price Cache
Upsert
Isi harga manual agar dashboard bisa hitung value/PnL.
-
Holdings (CRUD)
core
cyclical
growth
spec
Upsert
Delete
-
Ticker
Lots
Avg
Style
Target
Last
Notes
Klik row untuk auto-fill form.
Fundamental (upsert by as_of)
Upsert
-
Technical (upsert by as_of)
bullish
neutral
bearish
Upsert
-
News (manual verified research log)
global
indonesia
sector
ticker
neutral
positive
negative
mixed
verified
Add
Delete
-
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.