9.6. Supercharged resources/packages¶
A compendium of great python packages you can use, now that you have the skills needed to access the info below.
Please suggest others if you see something cool!
Package |
Description |
Where |
---|---|---|
streamlit, plotly, and shiny |
Building interactive graphs, dashboards, and apps! |
|
OpenBloomberg |
85% of a Bloomberg terminal for free, see the tweet below for a preview. |
|
pandas-datareader |
Import a ton of data |
|
auto-sklearn |
Automated Machine Learning with scikit-learn |
|
Open Source Asset Pricing |
Data for asset pricing tests and code to replicate or use. If you are interested in asset pricing or trading, this is a MUST visit. It’s so cool that this is freely available, it blows my mind. |
|
PyQL |
QuantLib’s Python port. |
|
QuantPy |
A framework for quantitative finance In python. |
|
vollib |
Calculating option prices, implied volatility, and greeks |
|
Finance-Python |
Python tools for Finance |
|
ffn |
A financial function library for Python. |
|
pynance |
Lightweight Python library for assembling and analysing financial data. |
|
pysabr |
SABR model Python implementation. |
|
FinancePy |
Focuses on the pricing and risk-management of Financial Derivatives, including fixed-income, equity, FX and credit derivatives. |
|
gs-quant |
Goldman-Sachs toolkit for quantitative finance |
|
willowtree |
Willow tree lattice for derivatives pricing. |
|
financial-engineering |
Applications of Monte Carlo methods to financial engineering projects |
https://github.com/federicomariamassari/financial-engineering |
optlib |
A library for financial options pricing written in Python. |
|
tf-quant-finance |
High-performance TensorFlow library for quantitative finance. |
|
Q-Fin |
A Python library for mathematical finance. |
|
Quantsbin |
Tools for pricing and plotting of vanilla option prices, greeks, and various other analysis around them. |
|
finoptions |
Complete python implementation of R package fOptions with partial implementation of fExoticOptions for pricing various options. |
|
AssayingAnomolies |
Quickly check if your signal generates alpha |
|
usaddress and probablepeople |
Parsing messy names (people, address, firms) |
https://github.com/datamade?q=&type=all&language=&sort=stargazers |
SRAF |
Textual analysis resources, designed for business text. |
Chat GPT and Generative AI
Chat GPT and other generative AI are at least, of course, fun novelties. Who doesn’t love this:
Hilarious and silly!
But generative AI also have the potential to truly supercharge how work is done across many tasks and industries.
Developments in this area are happening so fast, what I write here will be outdated very soon, so I’ll keep it brief here and spend more time on the topic during the semester.
But as of November 2022, here are some thoughts on OpenAI’s ChatGPT:
View it as having an infinite supply of interns with an 8th-grade IQ. Meaning:
Low-cost way to brute force some tasks (brainstorming, rough drafts, outlining, editing, starting code)
Its creativity has limits (bad at: “write a shocking surprise that was foreshadowed earlier”)
But it is an eager brainstormer (in one standard creativity test, it beat 90% of humans)
And it can be harnessed: “write a rap about monetary supply in the style of Common”, “draft a book proposal/sales copy/etc on topic X”, “write a corporate memo addressing X, Y, and Z”, “suggest 3 options for X”, “provide more detail on the second point”
Responses are often vague and lack specifics
Do not assume its output is correct or the truth
Meaning: It will confidently lie and make up things (so-called “hallucinations” and “bullshiting”)
It’s not all wrong though - see the note in the margin
Those points imply that ChatGPT is only useful and accurate when paired with
Your guidance (via iterative conversation)
Your subject matter expertise (to correct errors)
Thus, ChatGPT does not look anything like a replacement for high-skill knowledge workers. It is a complement to our workflow - I always have it open as a tab on my computer now.
There are many implications for this technology - mostly exciting! But it certainly looks like a world-changing tool. Examples:
Makes new business formation/expansion easier and democratizes access
Start-up time on (coding) projects will decline drastically
Building websites and prototyping production code rapidly
Makes outputs achievable for relative novices
Writing workflow will change dramatically
Shift in emphasis to idea creation, editorial choices, truth checking
Useful in many domains: journalism, memos, marketing, consulting, etc.
Editing - overall writing quality should increase
The cost of BSing and cheating will fall
Typed essays decline in favor of oral evaluations, handwritten essays
Spam and fishing attempts will become much better
OpenBBTerminal
This Twitter thread has a nice preview of the OpenBBTerminal package, and you can find more in the official GitHub documentation.
A Bloomberg subscription costs $24,000 per year.
— Shravan Venkataraman 🔥🚀💰 (@theBuoyantMan) August 14, 2022
But you can get nearly 85% of its features for free.
It's through an app called Open Bloomberg (aka OpenBB)
Here's how:
🧵