Skip to content

A friendly CLI interface for trading stocks on MarketWatch

Notifications You must be signed in to change notification settings

Manwholikespie/easy-trade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

#Easy Trade Easy Trade is a beginner-friendly Command Line Interface (through python) for MarketWatch.com games. It uses Bradon Wu's moira library to make trades.

##Dependencies There are a few requirements that you must install before using the program.

  1. Moira
  2. Beautiful Soup

##How to Install Dependencies ###On OS X... If you are on mac, begin by installing homebrew. You can visit their website for more in-depth help, or type this in to terminal:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Once homebrew installs, you need to install python's package manager (pip), and git.
brew install pip
brew install git

Now, navigate into easy-trade's directory, and fetch moira.
git clone https://github.com/brandonwu/moira.git

Lastly, install and configure beautiful soup.
pip install beautifulsoup4
pip install requests

###On Linux... Installation for Linux users is pretty much the same as for OS X, save that apt-get is substituted for home-brew.

###On Windows... You can visit the Python Website to download the latest version of the language. This program uses Python 2.7.
Because you downloaded python straight from their website, pip should already be installed. However, it will need to be upgraded. Run this in CMD/PowerShell:
python -m pip install -U pip

As for installing git, git's website has the best information. I will let you choose which path you follow. Once it has been downloaded, navigate into easy-trade's directory, and fetch moira.
git clone https://github.com/brandonwu/moira.git

Lastly, install and configure beautiful soup.
pip install beautifulsoup4
pip install requests

##Using Easy Trade While in the easy-trade directory, launch the program with python:
python buy.py

##Side Notes There is one bug with moira that leads BeautifulSoup to complain of its inability to find a default HTML parser... Ignore this.

About

A friendly CLI interface for trading stocks on MarketWatch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages