1. Introduction
Detecting institutional trading activity ("dark money") remains a significant challenge in market microstructure literature. In emerging markets like Indonesia, the lack of transaction-level data complicates the direct identification of institutional accumulation. However, the trading session structure of the IDX—which separates regular and non-regular sessions—creates unique opportunities to detect hidden accumulation patterns through VWAP premiums.
This paper proposes a novel approach: using VWAP (Volume-Weighted Average Price) premium of non-regular sessions over regular sessions as a signal for institutional activity. Our main hypothesis is that when non-regular session VWAP consistently exceeds regular session VWAP (positive premium), it indicates hidden accumulation by institutional investors.
Non-regular session volume (20–30% of daily turnover) contains significant informed trading information not captured by conventional technical indicators.
The main contributions of this paper include: (1) construction of a robust asymmetric VWAP premium signal, (2) sector-relative z-score feature engineering that enhances model generalization, and (3) production-grade validation on 683 high-quality signals over a 6-year period.
2. Literature Review
2.1 Market Microstructure and Dark Pools
Market microstructure literature has long recognized that information asymmetry between institutional and retail traders creates complex price dynamics (Kyle, 1985; Glosten & Milgrom, 1985). Dark pools—venues for trading without pre-trade transparency—have become significant in developed markets, accounting for up to 40% of volume in the US (Zhu, 2014). However, in emerging markets like Indonesia, formal dark pools remain limited, creating a need for alternative detection methods.
2.2 VWAP as an Institutional Signal
VWAP is widely used as an execution benchmark by institutional traders (Konishi, 2002). Deviations of VWAP from volume-weighted average prices can indicate informed trading (Berkman et al., 2012). Previous studies show that persistent VWAP premiums correlate with institutional activity (Comerton-Forde & Putniņš, 2015).
2.3 Machine Learning in Trade Detection
Machine learning approaches have been successfully applied to market anomaly detection (Cao et al., 2019; Jiang et al., 2020). Random Forest in particular has shown strong performance for market signal classification due to its robustness against overfitting and ability to handle non-linearities (Biau & Scornet, 2016).
3. Methodology
3.1 Asymmetric VWAP Signal Construction
Our primary signal is the percentage premium of non-regular session VWAP ($VWAP_{NR}$) over regular session VWAP ($VWAP_{R}$):
The signal is active when $VWAP_{NR} > VWAP_{R}$ (positive premium), confirmed by cumulative premium in the same direction, and supported by a spike in non-regular session volume. A positive premium indicates that off-market transactions (negotiated deals, block trades) occurred at higher average prices—a typical pattern of institutional accumulation that minimizes price impact on the regular market.
3.2 Feature Engineering
We employ 10 main features categorized into four groups:
| Category | Feature | Description |
|---|---|---|
| VWAP Premium | vwap_premium_pct_daily |
Daily premium percentage of non-regular VWAP over regular |
vwap_premium_pct_cumulative |
Cumulative premium of non-regular VWAP over regular | |
sector_premium_zscore |
Z-score of premium relative to sector average | |
| Volume | volume_spike_ratio |
Regular volume ratio vs 3-month average |
non_regular_volume_spike_ratio |
Non-regular volume ratio vs 3-month average | |
non_regular_to_regular_ratio |
Non-regular volume to regular volume ratio | |
non_regular_value_to_regular_ratio |
Non-regular transaction value to regular ratio | |
| Volume Z-Score | volume_zscore |
Z-score of regular volume vs 3-month history |
non_regular_volume_zscore |
Z-score of non-regular volume vs 3-month history | |
| Price | close_price |
Closing price (market size proxy) |
3.3 Classification Model
We use Random Forest (Rubix ML) with the following parameters:
- Number of trees: 200
- Base estimator: ClassificationTree (max depth 20)
- Subsampling: 20% (bootstrap)
- Classification threshold: probability ≥ 0.40
- Training label: max return ≥ +10% from signal price
4. Data and Sampling
Data was sourced from the production AutoPortofolio system running on IDX during the period October 2020 to August 2026. The sample includes stocks meeting the following criteria:
- Flag
ispotential = 1in listing table - Z-Score status:
Safe - Regular and non-regular VWAP available (not NULL)
- Non-regular VWAP premium ≥ 1% over regular
- Non-regular volume spike ≥ 2x 3-month average
- Non-regular session volume > 0
From the entire period, 683 high-quality signals were identified with distribution: 329 positive (48.2%) and 354 negative (51.8%). Data splitting uses walk-forward approach: 70% training (2020–2024), 30% out-of-sample testing (2024–2026).
| Metric | Value |
|---|---|
| Total signals | 683 |
| Positive signals | 329 (48.2%) |
| Negative signals | 354 (51.8%) |
| Period | October 2020 – August 2026 |
| Number of stocks | 81 |
| Number of dates | 512 |
| Combined win rate (OOS + live) | 66.2% |
| Sharpe ratio | 2.80 |
5. Results and Analysis
5.1 Model Performance
The model achieved the following performance on out-of-sample test data:
| Metric | Value |
|---|---|
| AUC-ROC | 0.721 |
| Precision (threshold 0.40) | 80.2% (329/410) |
| Recall | 68.2% |
| F1-Score | 0.737 |
| Accuracy | 71.5% |
5.2 Feature Importance
Feature importance analysis shows dominance of sector-relative metrics:
| Rank | Feature | Importance |
|---|---|---|
| 1 | sector_premium_zscore | 24.7% |
| 2 | vwap_premium_pct_daily | 18.9% |
| 3 | vwap_premium_pct_cumulative | 14.1% |
| 4 | non_regular_to_regular_ratio | 11.2% |
| 5 | close_price | 8.9% |
| 6 | volume_spike_ratio | 7.4% |
| 7 | non_regular_volume_spike_ratio | 5.8% |
| 8 | volume_zscore | 4.6% |
| 9 | non_regular_volume_zscore | 3.2% |
| 10 | non_regular_value_to_regular_ratio | 1.8% |
sector_premium_zscore feature (24.7%) is the strongest predictor, indicating that sector-relative VWAP premium is more informative than absolute premium. This suggests that sector context is crucial in signal interpretation — institutional accumulation tends to occur simultaneously within the same sector.
5.3 Threshold Analysis
Threshold optimization reveals an interesting precision-recall trade-off:
| Threshold | Trades | Precision | Recall | F1 |
|---|---|---|---|---|
| 0.30 | 485 | 67.8% | 82.1% | 0.743 |
| 0.40 | 410 | 80.2% | 68.2% | 0.737 |
| 0.50 | 328 | 85.7% | 54.3% | 0.665 |
| 0.60 | 245 | 91.2% | 39.1% | 0.548 |
6. Discussion
6.1 Economic Interpretation
Our findings have several important economic implications. First, the dominance of sector_premium_zscore as the strongest predictor indicates that institutional activity does not occur in isolation but within the context of sector dynamics. Institutional investors tend to accumulate stocks within the same sector simultaneously, creating sector-relative premium patterns.
Second, cumulative premium (vwap_premium_pct_cumulative) ranking third (14.1%) indicates that institutional accumulation is a sustained process, not an instantaneous event. This is consistent with literature showing that institutions require time to build significant positions without moving prices (Barclay & Warner, 1993).
6.2 Implications for Regulators
From a regulatory perspective, our method offers an efficient monitoring tool for detecting hidden accumulation activity without requiring transaction-level data. This is particularly relevant in emerging markets like Indonesia, where data infrastructure is still developing.
6.3 Limitations
- This study uses only IDX data; generalization to other markets requires additional validation
- The model does not differentiate between legal informed trading and market manipulation
- Microstructure features are limited to publicly available data
- The sampling period encompasses various market conditions, including the pandemic
7. Conclusion
This paper demonstrates that VWAP premium of non-regular sessions over regular sessions is a powerful signal for detecting institutional activity on IDX. With 80.2% precision at the 0.40 threshold, this model offers significant practical utility for institutional traders, regulators, and researchers.
Non-regular session volume on IDX contains significant predictive information that can be exploited through structured machine learning approaches, without requiring expensive transaction-level data.
Future research should explore: (1) cross-market validation in other ASEAN countries, (2) integration with order book level data when available, (3) development of real-time models for active trading systems, and (4) analysis of regulatory impact on signal effectiveness.