Skip to content Skip to sidebar Skip to footer
Showing posts with the label Finance

Python: Plot Candlesticks With Automatic Y Zoom

I am looking for a Python plotting library that allows me to plot candlesticks (preferably the OHLC… Read more Python: Plot Candlesticks With Automatic Y Zoom

How To Handle Meta Data Associated With A Pandas Dataframe?

Q1: What is the best practice for saving meta information to a dataframe? I know of the following c… Read more How To Handle Meta Data Associated With A Pandas Dataframe?

Create And Index From Returns Pandas

I have the following dataframe where the first two columns are monthly returns (you have to multipl… Read more Create And Index From Returns Pandas

Accessing Nasdaq Historical Data With Python Requests Results In Connection Timeout

I tried to run this snippet of Python code (with the requests library) to retrieve a year's wor… Read more Accessing Nasdaq Historical Data With Python Requests Results In Connection Timeout

Groupby Id To Calculate Ratios

Objective I have this df and take some ratios below. I want to calculate these ratios by each id an… Read more Groupby Id To Calculate Ratios