vslaykovsky / elonbot

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

Submit your questions/requests here #1

Open vslaykovsky opened 3 years ago

sparkmobi commented 3 years ago

add binance futures to the bot

mertozlutiras commented 3 years ago

Bot gets stuck at twitter subscription. I correctly exported all keys and variables. Do you have any idea?

Error:

" Set twitter subscription rules status {"data": [{"value": "from:Selcoin", "tag": "xxx", "id": "xxx"}], "meta": {"sent": "2021-05-01T09:28:41.453Z", "summary": {"created": 1, "not_created": 0, "valid": 1, "invalid": 0}}} 2021-05-01 11:28:41.708866 Subscribing to twitter updates. HTTP status: 200 "

vslaykovsky commented 3 years ago

Hi

Hm, this looks like a success status message.

Vlad

On Sat, 1 May 2021, 10:32 mertozlutiras, @.***> wrote:

Bot gets stuck at twitter subscription. I correctly exported all keys and variables. Do you have any idea?

Error:

" Set twitter subscription rules status {"data": [{"value": "from:Selcoin", "tag": "xxx", "id": "xxx"}], "meta": {"sent": "2021-05-01T09:28:41.453Z", "summary": {"created": 1, "not_created": 0, "valid": 1, "invalid": 0}}} 2021-05-01 11:28:41.708866 Subscribing to twitter updates. HTTP status: 200 "

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vslaykovsky/elonbot/issues/1#issuecomment-830595613, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATIFFBSPXUP7ORSI7QXSQU3TLPDBXANCNFSM4ZRXMQ4A .

DavidJOV commented 3 years ago

Hi, can you follow multiple users?

vslaykovsky commented 3 years ago

Hi! No, it's not possible now

On Sun, 16 May 2021, 00:03 DavidJOV, @.***> wrote:

Hi, can you follow multiple users?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vslaykovsky/elonbot/issues/1#issuecomment-841736972, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATIFFBUF7UZEP4XVCVZUWMTTN34T7ANCNFSM4ZRXMQ4A .

Tim-Be commented 3 years ago
2021-05-21 13:56:23.574745 Subscribing to twitter updates. HTTP status: 200
2021-05-21 14:01:24.313016 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) restarting socket
2021-05-21 14:02:24.637563 Subscribing to twitter updates. HTTP status: 200
2021-05-21 14:07:25.379304 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) restarting socket
2021-05-21 14:08:25.709596 Subscribing to twitter updates. HTTP status: 200
2021-05-21 14:13:26.454248 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) restarting socket
2021-05-21 14:14:26.800770 Subscribing to twitter updates. HTTP status: 200

Any Idea what might cause these errors? I get these every few minutes and it takes exactly one minute to be up and running again.

vslaykovsky commented 3 years ago

Hi. Never saw such a problem before. Was it able to recover automatically?

On Fri, 21 May 2021 at 14:20, Tim-Be @.***> wrote:

2021-05-21 13:56:23.574745 Subscribing to twitter updates. HTTP status: 200 2021-05-21 14:01:24.313016 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) restarting socket 2021-05-21 14:02:24.637563 Subscribing to twitter updates. HTTP status: 200 2021-05-21 14:07:25.379304 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) restarting socket 2021-05-21 14:08:25.709596 Subscribing to twitter updates. HTTP status: 200 2021-05-21 14:13:26.454248 ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read)) restarting socket 2021-05-21 14:14:26.800770 Subscribing to twitter updates. HTTP status: 200

Any Idea what might cause these errors? I get these every few minutes and it takes exactly one minute to be up and running again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vslaykovsky/elonbot/issues/1#issuecomment-845944993, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATIFFBQWZWWHKSJO4E6HJG3TOZMYLANCNFSM4ZRXMQ4A .

-- Regards, Vladimir

hurich commented 3 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 :-)

vslaykovsky commented 3 years ago

Hi,

Thank you for trying the script. Unfortunately I don't have good advice on speeding up your orders apart from setting --auto-buy-delay to 0.

Vladimir

On Tue, 25 May 2021, 20:02 hurich, @.***> wrote:

Hi @vslaykovsky https://github.com/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 :-)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vslaykovsky/elonbot/issues/1#issuecomment-848184092, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATIFFBUD3REYC4NX4GSWPD3TPPX3FANCNFSM4ZRXMQ4A .

rmsp86 commented 3 years ago

rmsp@cryptormsp:~/ElonBot/elonbot $ python elonbot.py File "elonbot.py", line 19 def init(self, user: str, ^ SyntaxError: invalid syntax

Got this error when execute bot (error on ':'). Any help?

vslaykovsky commented 3 years ago

Hi,

Check if you have python version 3 and above.

On Fri, 28 May 2021, 15:03 rmsp86, @.***> wrote:

@.**:~/ElonBot/elonbot $ python elonbot.py File "elonbot.py", line 19 def init*(self, user: str, ^ SyntaxError: invalid syntax

Got this error when execute bot. Any help?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vslaykovsky/elonbot/issues/1#issuecomment-850441656, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATIFFBUYAGHK6KM6N5OJ2RLTP6PB3ANCNFSM4ZRXMQ4A .

rmsp86 commented 3 years ago

Hi, Check if you have python version 3 and above.

Python 3.7.3

I just check and solve this error but another one shows next:


  File "elonbot.py", line 54
    def get_image_text(uri: str) -> str:
    ^
IndentationError: unexpected indent

Already check all spaces :/

dlisiakiewicz commented 3 years ago

Hi @Tim-Be I have exactly the same problem as you did. Did you manage to find a solution?

MisterZogs commented 2 years ago

Hi @vslaykovsky,

Do you have an idea how to solve the following?

elonbot.py: error: unrecognized arguments: DOGE, btc|bitcoin: BTC}'

Thanks

Sammy1989abc commented 2 years ago

Hi, I don't know anything about coding.

Can you tutor me to set this up? I'd be very happy to pay you upfront by the hour.

I'd like to do it on bybit or phemex since binance isn't allowed in my country.

I can buy a twitter developer account to get the necessary API.

LoicBERGER commented 2 years ago

Hi @vslaykovsky,

Do you have an idea how to solve the following?

elonbot.py: error: unrecognized arguments: DOGE, btc|bitcoin: BTC}'

Thanks

Hi @MisterZogs, I had the same issue, i simply remove the --crypto-rules from command line, and keep the text in the default value of crypto-rules, of course you can change this default value...

rmsp86 commented 2 years ago

Hi @vslaykovsky, Do you have an idea how to solve the following? elonbot.py: error: unrecognized arguments: DOGE, btc|bitcoin: BTC}' Thanks

Hi @MisterZogs, I had the same issue, i simply remove the --crypto-rules from command line, and keep the text in the default value of crypto-rules, of course you can change this default value...

Did you try something like: {"doge": "DOGE", "btc|bitcoin": "BTC"}

The words separated by '|', are those which bot will search on twitter posts (ex.: "Doge|dogs|dog" or "shibu|shib|shibs") The coin symbol is after ':'. (ex.: "DOGE" "SHIB")