Gmail/IMAP scraper to perform trades sent from tradingview.com alerts
lazrfocus opened this issue · 4 comments
Since built-in TA is probably way down the road for this project, it would be great to get a simple gmail/IMAP scraper that can scrape an email address for Tradingview alerts.
These alerts would be triggered from custom, already built tradingview scripts and strategies and would trigger simple buy/sell limit, stop, or market orders by looking for keywords in the email notification from tradingview.
Example email;
Subject: Tradingview Alert: BTCUSD: Buy Signal
Email Data:
Ticker: Binance:BTCUSDT
Action: Buy
Price: xxxx (was not possible in Pine Script v3, but may be possible to send strings in the new Pine Script V4)
Nice idea! POP3/MAP may be the most flexible way to check email.
Happy to provide thoughts on the rest if anyone feels like taking this on.
I'm actually starting to look at this myself...
@all-contributors add lazrfocus for ideas
I've put up a pull request to add @lazrfocus! 🎉