Hi!

I'm developing a project for a client.

The client wants to print the Daily Equity.

Due to NDA I can't share the full code and I will share just a snippet.

http://<a href="https://ibb.co/18xhT59"><img src="https://i.ibb.co/V28rTZv/snippet-daily-equity-log.png" alt="snippet-daily-equity-log" border="0"></a>

This code unfortuntaly makes print more time the daiy equity during some days..I really can't understand why.

 

The daily_equity is called just once in all my code, a few lines above in the here:

self.Schedule.On(self.DateRules.EveryDay(),self.TimeRules.At(12, 0), self.daily_equity)

I can't understand why I'm getting logs like this:

 

http://<a href="https://ibb.co/TKXZ3vm"><img src="https://i.ibb.co/pWDgF0J/snippet-daily-equity-log-2-printing.png" alt="snippet-daily-equity-log-2-printing" border="0"></a>

Author