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

Return Only The Last Day Of The Year With Pandas?

Made an api get request for the historical close prices of a stock for a specified company from the… Read more Return Only The Last Day Of The Year With Pandas?

Text Scraping (from Edgar 10k Amazon) Code Not Working

I have the below code to scrape some specific word list from the financial statements (US SEC EDGAR… Read more Text Scraping (from Edgar 10k Amazon) Code Not Working

Computing Excess Returns

I would like to compute the excess returns of dataframe of stock returns, where excess returns are … Read more Computing Excess Returns

How Can I Customize Mplfinance.plot?

I've made a python script to convert a csv file in a candlestick like this using mpl_finance, t… Read more How Can I Customize Mplfinance.plot?

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

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