Hi Samir,
Usually in a business scenario, Spot transactions are not valued, there is no Valuation done for the Simple reason, Spot transaction are only valid for 1 day or 2 days. So you won't get any result. It follows the T+2 rule.
You can valuate forward transaction where the Value date is atleast 3 or more days more than the contract date.
Regards,
Nikhil