Before revision:  The optimal strategy is derived in a semi-closed form that depends on the solution of a Riccati-Volterra equation.
After revision:  The optimal strategy is derived in a semi-closed form solutions depending on the respective Riccati-Volterra equation.