- ago
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
0
720
Solved
7 Replies

Reply

Bookmark

Sort
- ago
#1
Hello,

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.
0
Best Answer
- ago
#2
I use it like this within PostExecute():

CODE:
for (int n = Backtester.Orders.Count - 1; n >= 0; n--) { Transaction t = Backtester.Orders[n]; }
1
Glitch8
 ( 12.05% )
- ago
#3
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.
1
- ago
#4
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.
1
- ago
#5
How do I write the email script as backtest complete () to email me the signals? I assume backtest complete is in postexecute?
0
Glitch8
 ( 12.05% )
- ago
#6
No BacktestComplete is a separate method you can override.
0
- ago
#7
Have you seen Post #1?
0

Reply

Bookmark

Sort