TestGenerator current spread

 

It appears the strategy tester actually uses the current spread from the broker but we know that the spread can change throughout the day.  

Is there anyway to declare the spread within the code, I would be interested in setting the spread based on time to simulate variable spread.

thank you