// If it's Monday, do not trade.
if (Time[0].DayOfWeek == DayOfWeek.Monday)
return;
and I get the following compilation error
'int' does not contain a definition for 'Monday' and no extension method 'Monday' accepting a first argument of type 'int' could be found (are you missing a using directive or an assembly reference?)
basically I don't want to execute my system if it's monday.
any suggestions?
Comment