Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Python for Finance
  • Table Of Contents Toc
  • Feedback & Rating feedback
Python for Finance

Python for Finance

By : Yuxing Yan
3.9 (22)
close
close
Python for Finance

Python for Finance

3.9 (22)
By: Yuxing Yan

Overview of this book

A hands-on guide with easy-to-follow examples to help you learn about option theory, quantitative finance, financial modeling, and time series using Python. Python for Finance is perfect for graduate students, practitioners, and application developers who wish to learn how to utilize Python to handle their financial needs. Basic knowledge of Python will be helpful but knowledge of programming is necessary.
Table of Contents (14 chapters)
close
close
13
Index

Installing matplotlib via ActivePython

The first way to install the matplotlib module is via ActivePython. We install ActivePython first and then install matplotlib. In the process of installing matplotlib, NumPy would be installed as well since matplotlib depends on both NumPy and SciPy. The whole procedure has four steps as follows:

  1. Go to http://www.activestate.com/activepython/downloads.
  2. Choose an appropriate executable file to download.
  3. For Windows, navigate to All Programs | Accessories, and then click on Command Prompt. You will see the following window:
    Installing matplotlib via ActivePython
  4. After going to the appropriate directory, such as C:\Python27, type pypm install matplotlib as shown in the following screenshot:
    Installing matplotlib via ActivePython

The matplotlib module depends on both NumPy and SciPy. Since the NumPy module will be installed automatically when we install matplotlib, we need to install SciPy; see the following similar procedure:

Installing matplotlib via ActivePython

To launch Python, navigate to All Programs | ActivateStateActive Python, and then click on IDLE (Python GUI...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY