This repository contains tools for managing options/stocks and crypto data using TradingView webhooks, and interacting with the Robinhood API.
-
Create a GitHub Account:
- If you don't have a GitHub account, create one now.
- You will need to create a new repository and name it whatever you want.
-
Set Up the Local Project Folder:
- Create a folder for the project on your local PC.
- Open the terminal and navigate to the newly created folder.
- Initialize the folder for GitHub:
git init
- Connect your account to GitHub:
Replace
git remote add origin https://github.com/your-username/your-repository-name.git
your-username
andyour-repository-name
with your GitHub username and the new repository name.
-
Create a DigitalOcean Account:
- If you don't have one already, create an account on DigitalOcean. You can use my referral link to receive $200 of free credit: DigitalOcean.
-
Create a New App on DigitalOcean:
- Create a new app under the App Platform and name it whatever you want.
- Cost is around $10/mon to run the app on the server
-
Clone the Repository:
- Clone the repository into the new folder:
git clone https://github.com/MatthiasT91/Robinhood-Webhook-Bot.git
- Clone the repository into the new folder:
-
Navigate to the Project Folder:
- Go into the folder to install dependencies:
cd options-bot
- Go into the folder to install dependencies:
-
Install Dependencies:
- Install the required dependencies:
pip install -r requirements.txt
- Install the required dependencies:
-
Configure the Application:
- Rename the
example.ini
file toconfig.ini
. - Fill in the fields in the file to your settings
- Rename the
-
Deploy the App:
- First, deploy it to GitHub, which will then deploy it to DigitalOcean:
git add . git commit -m "Initial commit" git push -u origin master:main
- First, deploy it to GitHub, which will then deploy it to DigitalOcean:
-
Login to Robinhood:
- 2FA will need to be activated on your Robinhood account so you can type in the 6 digit code.
- Run the login.py file to login to your Robinhood account:
python3 login.py
-
Run the Application:
- Deploy the app on DigitalOcean. This will run the Flask application, waiting for new alerts to come in.
- To run the webhook with TradingView, you will need a paid TradingView account. Change the alert message to suit your requirements.
Insert these messages into the TradingView alert message box, and then change the webhook URL in the notifications panel. Messages can be found in the alert_options_info.txt file.
Enjoy managing your trading data with FCT's Robinhoods Options/Stock/Crypto Webhook Bot! This README.txt
file provides clear instructions for setting up the project, configuring environment variables, installing dependencies, and deploying the application to a new server.
If you would like to buy me a coffee here is a few ways:
PayPal - @MatthiasTovar
Solana (Crypto) - E2VUz9PzabS547pxBJnFZCCDT3VtqdhnrMgyKc7ksPE7
ETH (Crypto) - 0xeCcDF3B9fD507bf3a7B196e093Dc7FC0114CfDb3
BTC (Crypto) - bc1qu06sj3z4dkllkup2ew42gh523u3usvw0p2wpk2