Register for your free account! | Forgot your password?

Go Back   elitepvpers > The Black Market > Freebies
You last visited: Today at 11:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[FUN] Elon Musk give me money[Python]

Discussion on [FUN] Elon Musk give me money[Python] within the Freebies forum part of the The Black Market category.

Reply
 
Old   #1
 
12gamer34's Avatar
 
elite*gold: 19
The Black Market: 243/0/0
Join Date: Apr 2011
Posts: 3,483
Received Thanks: 272
Arrow [FUN] Elon Musk give me money[Python]

This is for entertainment purposes and should be viewed with caution. Trading with leverage can lead to total loss within seconds.

Hello everybody,

As you all have probably already noticed, Elon Musk's tweets have a very, very big influence on the crypto markets.
In this post I want to show you how I've benefited from these tweets over the past few months.

I've automated the whole thing.
Via the Twitter API, I ask every 0.1 seconds whether a new tweet is being posted by Elon Musk. Then I check whether this tweet contains some strings like "DOGE", "Doge", "doge" or "Ð", if yes I buy automatically via the Binance API Binance Futures (DOGE/USDT) with 50x leverage and sell it for a few minutes later again. (Yes if he writes something negative you will be directly liquidated)

So it was for me to get a return of 1500% as quickly as possible.

What you need for it:
  • little knowledge of python
  • Twitter with API access
  • Binance account with API access
  • USDT on Binance USD-M Futures


The code works like that but is just a base. You can still expand it. Please understand the code and only then use it.
You can lose everything but with DOGE it was only profitable at the moment.

Code:
 
    import tweepy as tw
    import time
    from binance.client import Client
    api_key = "Your Binance API Key"
    api_secret = "Your Binance API Secret"
    client = Client(api_key, api_secret)
    print ("login")
    
    consumer_key= 'Your Twitter API consumer key'
    consumer_secret= 'Your Twitter API consumer secret'
    access_token= 'Your Twitter API access token'
    access_token_secret= 'Your Twitter API access token secret'
    
    auth = tw.OAuthHandler(consumer_key, consumer_secret)
    auth.set_access_token(access_token, access_token_secret)
    api = tw.API(auth, wait_on_rate_limit=True)
    Elon_Tweet = "GiveMeMoney"
    Doge = 0
    Tweetneu = "GiveMeMoneyPls"
    sinceid = "1368344522413903872"
    Tweetnumber = "1"
    
    cursor2 = tw.Cursor(api.user_timeline, id='elonmusk', since_id=sinceid, tweet_mode="extended").items(1)
    for m in cursor2:
        Tweetneu = m.full_text
        Tweetnumber = m.id
        print("IGNORE", m.full_text)
    Elon_Tweet = Tweetneu
    sinceid = Tweetnumber + 1
    #Adjust leverage 
    leverage = client.futures_change_leverage(symbol='DOGEUSDT', leverage='50')
    
    while Doge == 0:
        #Query rhythm 1 = 1sec
        time.sleep(1)
        cursor = tw.Cursor(api.user_timeline, id='elonmusk', since_id=sinceid, tweet_mode="extended").items(1)
        lt = time.localtime()
        for i in cursor:
            Tweetneu = i.full_text
            Tweetnumber = i.id
            print("{0:02d}:{1:02d}:{2:02d}".format(lt[3], lt[4], lt[5]), i.full_text)
        if Elon_Tweet != Tweetneu:
            Elon_Tweet = Tweetneu
            sinceid = Tweetnumber
            #String you are looking for
            if "DOGE" in Elon_Tweet or "Doge" in Elon_Tweet  or "doge" in Elon_Tweet or "Ð" in Elon_Tweet:
                print("found Doge")
                Doge = 1
                # Buy order
                order = client.futures_create_order(symbol='DOGEUSDT', side='BUY', type='MARKET', quantity='10000')
                print(order)
                # Waitingtime till sell order
                time.sleep(600)
                # Sell order
                close = client.futures_create_order(symbol='DOGEUSDT', side='SELL', type='MARKET', quantity='10000')
                print(close)
For Question feel free German and English!


Elon give me a Tesla Plaid +
12gamer34 is offline  
Thanks
3 Users
Old 06/17/2021, 20:36   #2

 
elite*gold: 0
Join Date: Nov 2018
Posts: 178
Received Thanks: 48
A very unique idea.

Has this actualy worked for you? Haha
tehpwnerer69 is offline  
Old 06/17/2021, 20:41   #3
 
elite*gold: 0
Join Date: Jun 2021
Posts: 40
Received Thanks: 2
lol this is so nice
Hypeman is offline  
Old 06/20/2021, 12:10   #4
 
12gamer34's Avatar
 
elite*gold: 19
The Black Market: 243/0/0
Join Date: Apr 2011
Posts: 3,483
Received Thanks: 272
Quote:
Originally Posted by tehpwnerer69 View Post
A very unique idea.

Has this actualy worked for you? Haha



Yeah i do this since December 2020 it works awesome. now it is not as profitable as it was in the beginning.
12gamer34 is offline  
Old 07/05/2021, 02:02   #5
 
Wowhab's Avatar
 
elite*gold: 474
Join Date: Jul 2012
Posts: 863
Received Thanks: 115
Hahah what a funny and nice idea
Congrats to your success
Wowhab is offline  
Old 07/05/2021, 02:04   #6
 
Powerful. Functions's Avatar
 
elite*gold: 57
Join Date: Jun 2021
Posts: 35
Received Thanks: 3
Smart, and very interesting.
Powerful. Functions is offline  
Old 07/06/2021, 17:22   #7
 
12gamer34's Avatar
 
elite*gold: 19
The Black Market: 243/0/0
Join Date: Apr 2011
Posts: 3,483
Received Thanks: 272
Thank you!

A New good string is „Shiba“ Elon loves it
12gamer34 is offline  
Reply


Similar Threads Similar Threads
Elon Musk will Tesla-Autos zur Sicherheit furzen lassen
05/09/2023 - In Other News - 25 Replies
Furzende Elektro-Autos – eine Idee, die selbst für Elon Musk, den da Vinci des 21. Jahrhunderts, etwas schräg erscheint. Dabei ist der Hintergrund ernstzunehmender, als er im ersten Moment wirkt. Denn was in der EU schon seit Juli geregelt ist, soll im kommenden Jahr auch in den USA in Kraft treten: Elektro-Autos müssen ein künstliches Geräusch von sich geben, wenn sie sehr langsam fahren. Während die EU dies bei einer Geschwindigkeit von unter 20 Kilometern pro Stunde vorsieht, soll es bei...
FUN FUN FUN FUN FUN FUN FUN FUN FUN
03/11/2011 - WarRock Trading - 6 Replies
Moin kenne 2 acc die haben beide retail aba die acc,s kennen viele will dafür 1 e gold pro acc ^^ 1. xam8888 hat famas retail 2. den namen weiß ich net so genau cr44nk glabe ich m134 retail Also pro acc 1 e gold ^^



All times are GMT +2. The time now is 11:23.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.