vslaykovsky / elonbot

Trading bot that uses Elon Musk`s tweets to know when to buy cryptocurrency.
164 stars 36 forks source link

Speed of the script & APIs #7

Open NiklavsD opened 2 years ago

NiklavsD commented 2 years ago
Hi @vslaykovsky 
first of all thanks a lot for your work.
Yesterday Elon tweeted again and I successfully did an isolated margin trade!

However it was not quick enough. A lot of other people do exactly the same.
So I missed the entry just by a few seconds and could only make 4 dollars from a 5k trade :D

Any thoughts on how to make it quicker? 
I have already commented out the buy delay. 
Is there maybe another api out there where you can receive push notifications when Elon tweets?
I guess deploying the app to a server closer to twitter/binance could also be an idea.

P.s. No financial advise :-)

Originally posted by @hurich in https://github.com/vslaykovsky/elonbot/issues/1#issuecomment-848184092

I was wondering if anyone has a comment on this? Has someone found a new way to optimize the delay?

vslaykovsky commented 2 years ago

Hi, NiklavsD! Sorry, I don't think there is a way to speed up the script even further.