By: Sumit Raj
/set-token => Redirect URL
/webhook => Receiving Alerts from Chartink
Just couple of more lines of code with the same setup.
def send_message_bot(chat_id, text):
url = 'https://api.telegram.org/bot1377736798:<TOKEN>/sendMessage'
r = requests.post(url, {'chat_id': chat_id, 'text': text}).json()
Price | |
---|---|
Requests | $0.20 per 1M requests |
Duration | $0.0000166667 for every GB-second |
Average trading days: 21 * 6 hour/day = 126 hours
Average runtime: 800 ms ~1sec
126 hours= 126*3600 = 4,53,600 seconds
(126*3600*128)/1024 = 56,700 GB-seconds
56,700 GB-s - 400000 free tier GB-s = -343,300.00 GB-s
Lambda costs - With Free Tier (monthly): 0.00 USD
Let's do the maths
Number of Requests (per month) | Price (per million) |
---|---|
First 300 million | $1.00 |
300+ million | $0.90 |
Website: https://sumitraj.in
Twitter: @sumit12dec
Phone: +91 959 028 3524
Email: sumit786raj@gmail.com