First you must be more specific:
D2 is general term for Diesel Oil, however there are several types classified based on their sulfur content. Do you mean LSD, ULSD?
Second, Platts daily prices are posted late, at the end of the day so today's price is either yesterdays or you need to wait until tomorrow.
Third, Platts where? US Gulf Coast? Rotterdam or NWE, please be specific. Platts reports the low and high value fr the day, so I guess you want the mean? Also depending on where the volume is it coud be Water (for vessels) , Pieline, Barges?
This question is too general to be answered as is. RR