Harga live otomatis via cron: Yahoo Finance tiap 6 menit saat jam bursa IDX
- saat.saham: field harga_terakhir, harga_update_at + method _cron_fetch_live_prices() - _in_trading_window() pakai timezone Asia/Jakarta eksplisit (container UTC) 08:45-16:00 WIB - Data ir.cron (6 menit): ambil harga saham aktif, update KALAU berubah, sinkronkan ke saat.portofolio.harga_sekarang utk hitung equity - Terverifikasi: 8 saham ter-fetch & ter-update (07:01 UTC / 14:01 WIB)
This commit is contained in:
@@ -44,6 +44,8 @@ Akses UI: http://localhost:18069 — login `admin` / `admin`
|
||||
- ✅ **Addon `saat_invest` terinstal** (model saham, transaksi, portofolio + seed 5 saham IDX)
|
||||
- ✅ **Portofolio auto-sync**: otomatis diperbarui tiap transaksi ditambah/ubah/hapus
|
||||
(tidak perlu tombol manual; buka menu Portofolio selalu datanya segar)
|
||||
- ✅ **Live harga pasar (cron)**: ambil & update harga dari Yahoo Finance (.JK)
|
||||
tiap 6 menit SAAT jam bursa IDX (08:45–16:00 WIB). Update hanya bila berubah.
|
||||
- ✅ End-to-end teruji: buat beli/jual → portofolio ter-update → hitung avg cost & realized/unrealized P/L
|
||||
- ⏳ Aplikasi Flutter (login, catat jual/beli, portfolio, P/L)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user