Skip to content

wxStocks: Investment Analysis for Python Programmers. Write your own screens, ranking functions, and even high level analysis algorithms to help you review or create your own portfolio. Scrape basic data from Nasdaq, Yahoo Finance, Morningstar and more or import your own data by writing your own custom importers for .xls and .csv importers.

mrrobeson/wxStocks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program is now in beta, but i'm still happy to accept any pull requests or suggestions if you want to help out.

Disclaimer: This program comes as is, and probably has some errors in it. This software should not be used as financial advice or financial analysis, it is for educational use only. Consult a financial advisor before, after, and even while using this software. Double check any calculations done by this software, and review all the code for errors before using. By using this software you release the author(s) from any liability regarding the use of this software. Please don't sue me. Sorry about the massive disclaimer, but finance programs are fairly litigious business.

wxStocks is a investment analysis program that could help teach you to scrape, screen, sort, and prepare a portfolio for learning about buying and selling equities.

Built using wx as its framework (specifically wxPython3.0-osx-cocoa-py2.7), and pyql as its scraping tool.

Requirements: Python 2.X, wxPython, NumPy

Nonessential but recommended: PyCrypto, simplecrypt, xlrd

License: AGPL

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Installation:

Python:

If you are running a mac or linux Python 2.X. To check, open your terminal and just type "python", which should lead to a prompt that looks like ">>>". You can then quit by typing "quit()". If that doesn't work, go here: https://www.python.org/downloads/

If you are running windows, go here and install python 2.X: https://www.python.org/downloads/

wxPython:

http://www.wxpython.org/download.php

Note: I built this using the cocoa build for OSX. I should work on all other builds though, but i've heard some of my friends are having problems while using ipython. Not sure what to do if you're having issue, this is a tough one.

Numpy:

http://docs.scipy.org/doc/numpy/user/install.html

PyCrypto (not required):

https://pypi.python.org/pypi/pycrypto

Good stack overflow article for windows: http://stackoverflow.com/questions/11405549/how-do-i-install-pycrypto-on-windows

Good article for OSX: http://osxdaily.com/2012/07/10/how-to-install-paramiko-and-pycrypto-in-mac-os-x-the-easy-way/

simplecrypt:

https://pypi.python.org/pypi/simple-crypt

xlrd:

https://pypi.python.org/pypi/xlrd

About

wxStocks: Investment Analysis for Python Programmers. Write your own screens, ranking functions, and even high level analysis algorithms to help you review or create your own portfolio. Scrape basic data from Nasdaq, Yahoo Finance, Morningstar and more or import your own data by writing your own custom importers for .xls and .csv importers.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%