GithubHelp home page GithubHelp logo

plecco / robinhoodbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 2018kguo/robinhoodbot

0.0 2.0 1.0 445 KB

Trading bot for Robinhood accounts

License: MIT License

Python 99.63% Shell 0.37%

robinhoodbot's Introduction

RobinhoodBot

Trading bot for Robinhood accounts

For more info: https://medium.com/@kev.guo123/building-a-robinhood-stock-trading-bot-8ee1b040ec6a

5/1/19: Since Robinhood has updated it's API, you now have to enter a 2 factor authentication code whenever you run the script. To do this, go to the Robinhood mobile app and enable two factor authentication in your settings. You will now receive an SMS code when you run the script, which you have to enter into the script.

This project supports Python 3.7+

To Install:

git clone https://github.com/plecco/RobinhoodBot.git
cd RobinhoodBot/
pip install -r requirements.txt
cp config.py.sample config.py # add auth info and watchlist name to monitor after copying

To Run: In RobinHood create a watchlist named "Exclusion". This will be the watchlist that you will use to tell the bot to ignore the stock tickers contained within.

cd RobinboodBot/robinhoodbot (If outside of root directory)
python3 main.py

To loop: 1 once an hour

cd RobinboodBot/robinhoodbot (If outside of root directory)
./run.sh # uses bash

Changes to robin_stocks library

  • Added @cache to def get_name_by_symbol(symbol):
  • Added @cache to def get_name_by_url(url):
  • Added @cache to def get_symbol_by_url(url):
  • Added None Parameter to order Afterwards, be sure to run /> pip install .

robinhoodbot's People

Contributors

txavier avatar 2018kguo avatar jpstokes avatar andrewantar avatar dependabot[bot] avatar bastump avatar daliu avatar matthewmacomber avatar

Watchers

James Cloos avatar  avatar

Forkers

txavier

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.