I'm getting a ParseError and I dont know why

Perhaps you forgot an underscore?

This works fine:

julia> if length(orders) < 1
           time_left=0
       end
2 Likes