vslaykovsky/elonbot

Submit your questions/requests here

vslaykovsky opened this issue · 17 comments

Submit your questions/requests here

add binance futures to the bot

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
"

Hi, can you follow multiple users?

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.

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 :-)

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?

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 :/

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

Hi @vslaykovsky,

Do you have an idea how to solve the following?

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

Thanks

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.

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...

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")