Because the first bar of a week starts sunday 23:00 by default. Your script is probably trading at every bar, regardless if it's 15:00 or not.

Just check the time before entering a trade.