silviaxyz
high
For some cases like holidays, forex markets are closed.
In tests it was tested for timestamp but in the code it is block.timestamp. Also, for non existent records it will retun 0 from config.marketTimes function which does not have validation. For day switches it causes wrong calculations. Also,
Even if we would be in creationWindow for forex options it will still pass the isInCreationWindow check.
Manual Review
Update test according to timestamp and use timestamp in the code.