I'm not taking an official class (actuarial exams), some fellow "students" created a question (forum discussion), considering the integral in title. This is my attempt at a solution with no real justifications
\begin{align} \int_0^tsZ_s \, ds & = \int_0^ts\lim_{n\to\infty}\sum_{i=1}^nY(ih)\sqrt h\,ds\\ & = \lim_{n\to\infty}\frac{1}{\sqrt n}\sum_{i=1}^nY(ih)\int_0^ts^{3/2} \, ds\\ & = \lim_{n\to\infty}\frac{1}{\sqrt n}\sum_{i=1}^nY(ih)\frac{2}{5}t^{5/2}\\ & = \frac{2}{5}t^2Z_t. \end{align}
I have strong doubts that this is correct. Or if it is correct, how should I confirm? Using Ito's lemma? I am using the simple representation of Wiener motion,
$$Z_t=\lim_{n\to\infty}\sum_{i=1}^nY(ih)\sqrt h,$$
with step size $h=t/n$, where $Y(ih)=\pm1$ each with probability $\frac{1}{2}$ (transformation of a Bernoulli RV).
I have taken the series of undergraduate real analysis courses, so one idea that pops in my head is that $Z$ is not well-behaved enough to interchange objects such as limits, sums and integrals. I would find it interesting to know which theorems' conditions I am not meeting, from various courses along the sequence of courses ascending to a course in stochastic integration.