Hello,
how can I access signals coming out of my daily backtest to any file or send an Email containing all the signals upcoming during backtest?
Thanks
how can I access signals coming out of my daily backtest to any file or send an Email containing all the signals upcoming during backtest?
Thanks
Rename
Hello,
Sending Signals by email is available in C# code based strategies (only).
WealthSignals authors can also publish their signals to their WealthSignals.com strategies using the WealthSignals Publisher tool. Build Highlights Video: https://youtu.be/qdPEYy9L7B8
P.S. Please don't mark questions with #FeatureRequest. Tag removed.
Sending Signals by email is available in C# code based strategies (only).
CODE:
public void SendEmail(string fromEmail, string smtpServer, string login, string password, int smtpPort, string toEmail, string messageSubject, string messageText, bool smtpEnableSSL = true)
WealthSignals authors can also publish their signals to their WealthSignals.com strategies using the WealthSignals Publisher tool. Build Highlights Video: https://youtu.be/qdPEYy9L7B8
P.S. Please don't mark questions with #FeatureRequest. Tag removed.
I use it like this within PostExecute():
CODE:
for (int n = Backtester.Orders.Count - 1; n >= 0; n--) { Transaction t = Backtester.Orders[n]; }
Mmm, PostExecute will get called for every iteration of the backtest loop. If you want to send Signals after a backtest, the best place is BacktestComplete.
QUOTE:
Mmm, PostExecute will get called for every iteration of the backtest loop. If you want to send Signals after a backtest, the best place is BacktestComplete.
Yes, I use it for signals filtering during backtest.
How do I write the email script as backtest complete () to email me the signals? I assume backtest complete is in postexecute?
No BacktestComplete is a separate method you can override.
Have you seen Post #1?
Your Response
Post
Edit Post
Login is required