Keyboard Shortcuts
Лайки
Пошук
IB's New automated trading system questionnaire
I logged on to my account and found a must complete questionnaire about how I'm monitoring my automated api. It wanted to know
1) Did I write it or is it commercial and if so the vendor?
2) Is the API completely automated? If not to what extent it is manual?
3) How are critical errors handled (audible alert, email, text)?
4) Is it constantly monitored?
5) and more
Apparently it is now being required by regulators.
Given that, can anyone point to code that will allow me to send email/texts now that Google and Yahoo are requiring two factor authentication? I used to send emails and texts when single factor was good enough.
Frank |
nullmailer can still work with Gmail "app passwords" if you aren't running a full MTA on your system. |
There are many ways you can handle this. @wordd already mentioned sending messages to slack channels, for example. All large cloud providers have services that are called something like "Simple Message Service" or so, that allow you to send messages through simple API calls. If you want to stick with email, check how your email provider supports "SMTP for outgoing messages" and look for an SMTP library for your preferred environment. Your service provider may place various restrictions on email delivered to them by SMTP (such as SSH/TLS encryption or certificates), but generally I would expect that those do not need two-factor authentication. For Java, for example, you'd use "JavaMail" directly or through higher level libraries such as "Apache Commons Email". Jürgen
On Tue, Dec 17, 2024 at 11:31 PM, Frank Bell wrote:
|
Another option is Telegram. I wouldn't trust too much on email as
it's very difficult these days to have your mail accepted by the
receiving end as non-spam or not get blocked.
переключити цитоване повідомлення
Показати цитований текст
For instant notification, Telegram has been a great option for me. It has good api documentation. Start here: https://core.telegram.org/ Greetings, Raoul On 18-12-2024 18:10, Jürgen Reinold via
groups.io wrote:
|
Once you've set up the appropriate Telegram bot on your Telegram account, sending a message programmatically is pretty easy. Here's my (redacted) code for that:
#!/usr/bin/env python3 |
Thanks to everyone for their suggestions. I flailed around for longer than I would like to admit before finding a send email solution that works for me. 1) I found out gmail offers something called an "app password" that requires you to use 2-factor authentication and then you can create a password that works with SMTP over port 465. 2) I installed MSVC 2010, changed my email program to use the new password and rebuilt. (It was easier to use MSVC 2010 than to build with MSVC 2019 which had various complaints.) Voila, I'm once again able to send emails. The only ongoing cost will be dealing with gmail's two factor log ins. Frank |
Повідомлення
Більше