Satu tombol untuk generate candle, update indikator, dan sinkronisasi portfolio.
| Aset | Jumlah | Harga Avg | Harga Now | Nilai USD | Nilai IDR |
|---|---|---|---|---|---|
| DOGE (DUST) | 0.89516505 | $0.00 | $0.09 | $0.08 | Rp 1.405,34 |
| USDT | 0.03050563 | $0.00 | $1.00 | $0.03 | Rp 519,21 |
| ETH | 0.02717071 | $2,101.67 | $13,503.78 | $366.91 | Rp 6.244.761,35 |
| SOL (DUST) | 0.00062755 | $0.00 | $81.87 | $0.05 | Rp 874,45 |
| BTC (DUST) | 0.00000903 | $0.00 | $69,029.46 | $0.62 | Rp 10.609,18 |
| TOTAL | $367.70 | Rp 6.258.169,53 | |||
Status monitoring untuk pair aktif: ETHUSDT
Started at: 03 Mar 2026 15:52 (hari ke-33)
| Durasi | Status | Tahap |
|---|---|---|
| 3 hari | ✅ Checked | Deteksi bug teknis, error log, fluktuasi sistem |
| 7 hari | ✅ Checked | Melihat pola dominan (sideways, bullish, bearish) dan stabilitas confidence |
| 14 hari | ✅ Checked | Sampel representatif (trend, sideways, volatility spike, weekend) |
Scoring System: Bot menggunakan sistem scoring multi-faktor untuk keputusan BUY (VWAP, RSI, Volume, Trend, Momentum).
Threshold adaptif berdasarkan ATR dan regime pasar. Sinyal dengan strength ≥ threshold dapat memicu eksekusi.
Intent System: Setiap keputusan trading (BUY/SELL) dibuat sebagai intent di database (status CREATED),
kemudian diproses secara asinkron oleh processPendingIntents() dengan retry mechanism (2x retry).
Watchdog system (runWatchdog()) memantau intent yang macet (>2 menit) dan memulihkannya secara otomatis.
Tier System (Scaling Out): Setiap posisi BUY memiliki target profit bertingkat (tiers).
Saat harga mencapai target tier, bot melakukan partial sell sesuai persentase yang ditentukan.
FIFO Accounting dengan Cost Basis: Setiap SELL mengurangi posisi BUY tertua (first-in, first-out) dengan row locking.
Portfolio Sync: sync_portfolio.php berjalan setiap 5 menit untuk menyelaraskan saldo database dengan Binance.