gruelbox / orko

Trade on and script multiple crypto exchanges from a single user interface on desktop and mobile. In development.
GNU Affero General Public License v3.0
179 stars 63 forks source link

Gmail/IMAP scraper to perform trades sent from tradingview.com alerts #420

Open lazrfocus opened 5 years ago

lazrfocus commented 5 years ago

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)

badgerwithagun commented 5 years ago

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.

badgerwithagun commented 5 years ago

I'm actually starting to look at this myself...

badgerwithagun commented 4 years ago

@all-contributors add lazrfocus for ideas

allcontributors[bot] commented 4 years ago

@badgerwithagun

I've put up a pull request to add @lazrfocus! :tada: