Looking for some clarification to the values of the parameters used in the Carr-Madan payoff decomposition formula.
$$f(S_T)=f(\kappa) + f'(\kappa) (S_T - \kappa) + \int_0^{\kappa} f''(K) (K-S_T)^+ \ d K + \int_{\kappa}^{\infty} f''(K) (S_T-K)^+ \ d K$$ which represents replication by investments in risk free bond, forward and put and call options.
what values would be used for:
1) $S_T$ ? the future price is not known at t=0, so what is used for $S_T$?
2) $\kappa$? is this the closest forward price to the strike price used for options?