0% found this document useful (0 votes)
34 views

Python for Finance-Module 1-day 1 and day 2 (1)

The document outlines a course titled 'Python for Finance', which covers the fundamentals of Python programming and its applications in the finance industry. It discusses the history, advantages, and disadvantages of Python, as well as essential libraries and tools used for financial data analysis, algorithmic trading, and risk management. The course includes practical exercises and homework assignments to enhance learning and application of Python in financial contexts.

Uploaded by

sonamtshewang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Python for Finance-Module 1-day 1 and day 2 (1)

The document outlines a course titled 'Python for Finance', which covers the fundamentals of Python programming and its applications in the finance industry. It discusses the history, advantages, and disadvantages of Python, as well as essential libraries and tools used for financial data analysis, algorithmic trading, and risk management. The course includes practical exercises and homework assignments to enhance learning and application of Python in financial contexts.

Uploaded by

sonamtshewang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 36

Python for Finance

Course Code: 23MBASEC403 Course Title: : Python for Finance

Credit Units : 2 Total Contact Hours : 30 L-T-P: 30-0-0

CA : UE Weightage : 100 : 0 Pass Marks (CA and UE) : 40% Aggregate Pass Marks : 40%

UE Question Paper Marks : NA Special Examination Fees : NA Pre-requisite (if any) : NA

Google classroom | Code:


Will it help me?
How
do I
learn
?
Why it
happens
only with
me?
Perceptions and
reality….
So true
Right?
You may/may
not understand,
but there’s light
at the end of
the tunnel
So,
which
languag
e should
I learn?
Let us learn PYTHON….
Task 1
• Installation of ANACONDA and launching JUPYTER
Guido van Rossum is a Dutch
programmer best known as the
author of the Python programming
language, for which he was the
Who created PYTHON? "Benevolent Dictator For Life"
What is Python
• Python is a general-purpose language, which means it can be used to
build just about anything, which will be made easy with the right
tools/libraries.
• Professionally, Python is great for backend web development, data
analysis, artificial intelligence, and scientific computing.
• Many developers have also used Python to build productivity tools,
games, and desktop apps, so there are plenty of resources to help
you learn how to do those as well.
Where does the Python name come from?

When he began implementing Python, Guido van


Rossum was also reading the published scripts from
“Monty Python's Flying Circus”, a BBC comedy series from
the 1970s. Van Rossum thought he needed a name that was
short, unique, and slightly mysterious, so he decided to call
the language Python.
HISTORY OF PYTHON

How did it all begin?


Innovative languages are usually born from one of two
motivations:
(1) A large well-funded research project
or
(2) General frustration due to the lack of tools that were needed
at the time to accomplish mundane and/or time-consuming
tasks, many of which could be automated.
WHY COMPANIES PREFER
PYTHON?
WHY COMPANIES PREFER PYTHON?
The programmers of big companies use Python as it has created
a mark for itself in the software development with
characteristic features like:

Easy-to-learn
Easy-to-read
Easy-to-maintain
Robust
Case Sensitive Language
Effective as a Rapid Prototyping Tool
A Memory Manager
Interpreted and (Byte-) Compiled
PYTHON DISADVANTAGES - MINUS POINTS

Python is evolving continuously.


Not a great choice for a high-graphic 3d games
Memory Consumption.
Database Access.
Runtime Errors.
Exercise 1
• Python for Finance-Module 1-Exercise 1-Day 1-basics
Adobe Acrobat
Document
5 Ways Python is Revolutionizing the Finance Industry

• Python for Financial Data Analysis and Visualization


• Python for Algorithmic Trading
• Python for Risk Management
• Python for Financial Modelling
• Python for Financial Reporting
Is it necessary for finance students

https://www.pwc.com/us/en/careers/university-relations/data-driven.
html

Homework:
Write the summary in one page and submit on google class/digii
WORKING IN PYTHON

Python is free, open-source software that works on Linux, Mac,


Windows, and various other platforms (21 in total).

It comes preinstalled on Mac and most distributions of Linux.


There are multiple python distributions available.
What is Python distribution? Anaconda distributor

A Python distribution is a software bundle, Highly recommended


which contains a Python interpreter and the since it is preloaded with
Python standard library. many packages and
Examples of installer programs for common libraries (numpy,
operating systems. Pandas)
PYTHON IDE (integrated development environment)

The Jupyter Notebook is an ANACONDA TOOL and is an open-source web


application that allows you to create and share documents that contain
live code, equations, visualizations and narrative text.
Libraries and toolkits in python
• A library is a collection of pre-combined codes that can be used
iteratively to reduce the time required to code. (like ready mix
masalas)
• There are over 137,000 python libraries present today, and they play a
vital role in developing machine learning, data science, data
visualization, image and data manipulation applications, and more.
PIP
Pip is a package manager for python that allows us to manage
additional libraries and dependencies that are not distributed as
part of standard library.
Libraries Know the difference
Popular libraries and toolkits
• NumPy: for large multidimensional arrays and matrices along with a collection of
high-level mathematical functions

• Pandas: for working with data sets. It has functions for analyzing, cleaning, exploring,
and manipulating data.

• Plotly: for data visualization and supports various graphs like line charts, scatter plots,
bar charts, histograms, area plots, etc. Plotly produces interactive graphs, can be
embedded on websites

• Yfinance (for Yahoo Finance) is arguably the best freely available data source for
Market data on stocks, bonds, currencies, and cryptocurrencies.
(Continued on next page)
Matplotlib
Matplotlib is a
comprehensive
library for creating
static, animated,
and interactive
visualizations in
Python.
Matplotlib makes
easy things easy
and hard things
possible.
Seaborn:
Seaborn: widely popular data visualization library that is
commonly used for data science and machine learning tasks

https://blog.quantinsti.com/creatin
g-heatmap-using-python-seaborn
/
Beautifulsoup: Beautiful Soup is a library that
makes it easy to scrape
information from web pages.

You might also like