Twilio offers the ability to send text messages through computer code. I have my wealthlab Strategy monitor running on a Virtual Machine, and I think it would be cool to receive a text message that my WealthLab monitor is up and running.
Would it be possible to create a C# code strategy specifially for sending a text message? The code to send a text could be in the BacktestComplete() function. The "strategy" would run on a daily basis, so that it would send a text once a day.
What do you think?
Would it be possible to create a C# code strategy specifially for sending a text message? The code to send a text could be in the BacktestComplete() function. The "strategy" would run on a daily basis, so that it would send a text once a day.
What do you think?
Rename
Sure I've done it before. I've done it by configuring things so I could "email" my mobile phone number which would then send me a text. WL8 has a SendToEmail method I used for this.
Where is that SendtoEmail control, please? Thx
It’s documented in the UserStrategyBase QuickRef, and on the page below. Search the text for SendEmail.
https://www.wealth-lab.com/Support/ApiReference/UserStrategyBase
https://www.wealth-lab.com/Support/ApiReference/UserStrategyBase
QUOTE:
Where is that SendtoEmail control, please?
Don't feel bad. I couldn't find it either, so you are in good company. I went into the Help docs and typed "email" and the search found nothing. And I found nothing in the WL menus as well.
WL6 has you configure it in a dialog box. I didn't realize WL8 has it implemented as a framework method until I read Reply# 3 (above).
I'm wondering if the Windows registry has the "default" SMTP email server's IP name and port number saved so the SendMail method could simply use those entries?
QUOTE:
I went into the Help docs and typed "email" and the search found nothing.
I went to the QuickRef as Glitch suggests and simply typing in "em" resulted in the first hit: SendEmail. ¯\_ (ツ)_/¯
QUOTE:
I went to the QuickRef ...
So you're saying you need to check both the Help docs and the QuickRef. I'm wondering if one returns nothing for one if WL should automatically search the other? I think the better solution in this case would be to discuss SendMail in the Help docs with a link to the QuickRef. But until that happens, searching "the other" automatically makes some sense.
We can't possibly write a Help entry for every single method already covered in the QuickRef. And there's no smooth way to link the Help system to the QuickRef. So yes the best bet is to check the source indicated in the support post (in this case QuickRef) and when looking up things without a corresponding support post to search both.
Your Response
Post
Edit Post
Login is required