Coding A Bitcoin Trading Bot Using Python (robin_stocks)

Veröffentlicht am: 07 März 2021
auf dem Kanal: Benjamin Carlson
4,202
82

In this python automation tutorial video, we use python and robin_stocks to interact with the Robinhood api and build a bitcoin (BTC) trading bot. In this video we login, logout, buy BTC, and place a limit sell order!

The strategy we use is:
➡ Buy $10 of BTC
➡ Set limit order for $10 higher
➡ Once sold, repeat!

Goal is small BTC gains which will add up if bot is run 24/7 (maybe deploy to pythonanywhere?)

➡ Get a free stock: https://join.robinhood.com/benjamc1993
➡ robin_stocks docs: https://robin-stocks.readthedocs.io/e...
➡ robin_stocks GitHub: https://github.com/jmfernandes/robin_...
➡ Get $10 BTC free! (coinbase) https://www.coinbase.com/join/carlso_8kg

Disclaimer: This video is for educational purposes and is not trading advice! If not careful, this bot WILL convert all of your cash to bitcoin.

Pre-reqs for this video:
➡ Be familiar with python
➡ Know what virtual environments are and how to use them -    • Virtualenv Python Tutorial  
➡ Basic knowledge of api's

Methods we use:
login()
logout()
order_buy_crypto_by_price()
get_all_crypto_orders()
order_sell_crypto_limit()

(0:00) Introduction
(0:28) Starting files - venv, secrets.py
(0:50) Installing robin_stocks
(1:38) Logging in - with 2 factor sms authentication
(3:23) Logging out
(3:38) Testing login and logout
(4:09) Buying the BTC
(6:18) Set limit sell dynamically
(12:09) Testing the bot!
(13:00) Conclusion + next steps

Gear: https://benjamincarlson.io/gear

Like my videos and want to support me? Consider sponsoring me on GitHub: https://github.com/sponsors/bjcarlson42

CONTACT: [email protected]

Connect with me:
Website: https://benjamincarlson.io
Twitter:   / bjmncrlsn  
Github: https://github.com/bjcarlson42
LinkedIn:   / bjcarlson42  
Medium:   / benjamincarlson  
Newsletter: https://buttondown.email/benjamincarlson


Auf dieser Seite können Sie das Online-Video Coding A Bitcoin Trading Bot Using Python (robin_stocks) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Benjamin Carlson 07 März 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,202 Mal angesehen und es wurde von 82 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!