paper trading code template in fortran