The cost is based on the cost of the trip, not timing. Also be aware if any portion of your trip, including deposit, is non-refundable you cannot buy this insurance after you make that deposit.
. Your flights will need to be insured separately or be refundable fares.