|
Algorithm 2 Entropy-regulated quantitative trading. |
-
1:
Input: Trained C-T-GPR model, rolling window length T, entropy risk aversion , CVaR level , CVaR bound , initial capital .
-
2:
for each trading day t do
-
3:
Construct features from rolling window .
-
4:
Obtain from Algorithm 1.
-
5:
Compute via Equation (34).
-
6:
Compute entropy-penalised Kelly fraction .
-
7:
If multiple assets: solve CVaR-constrained Equation (37) to obtain .
-
8:
Trade execution:
If , set (close any long position; short selling is not allowed).
Set target holdings from the CVaR step (multi-asset) or for single asset and cash.
Submit market orders to rebalance from to .
Update portfolio value: , where is the realised return vector and c is the proportional transaction cost.
-
9:
Record , , for monitoring.
-
10:
end for
-
11:
Output: Portfolio value path, performance metrics, entropy time series.
|