Advanced pricing of loans using the risk-neutral approach