What is happening is that commonly I will receive duplicate messages and sometimes miss others. For example: 9:30am, 10am, 11am, & 12pm I get a proper message but then 1pm I get two messages exactly the same then 2pm & 3pm are fine but then it skips 4pm. Then the next day a similar issue will happen but I may get two messages at the 2pm and 3pm times and then miss 4pm. It seems to not be very consistent as well.
So I added a print function to the strategy so it records each time OnBarUpdate occurs. This log file shows a proper entry for each minute of the ETH day so the strategy is not running multiple times on a single bar. I then am able to view the gmail sent mail folder and there I can see that NT is sending some messages twice or just not sending them at all. Some days everything works just fine with a single message at each interval time.
Has anyone seen this before or might you have any additional points that I should try to look at? Attached is the strategy for reference and the print output from each OnBarUpdate showing proper operation.
Thanks,
Joe
Comment