PValuation
Quantamental finance research with python
Install / Use
/learn @robertmartin8/PValuationREADME
pValuation represents my research into the area of "quantamental" finance – applying python and data science to augment traditional financial analysis.
In statistics, the p-value is often used to decide whether to accept or reject hypotheses, after conducting a statistical analysis. On the other hand, valuation is widely considered to be in the realm of "discretionary" analysis. This is because, despite valuation tools like DCFs being quantitative in nature, it is often much more of an art than a science when it comes to specifying the inputs. pValuation is my attempt to reconcile the two areas.
Some of my particular interests include:
- Financial model explainability
- Probabilistic programming to ensure that model output includes an uncertainty that reflects the uncertainty of the inputs
- The general use of data-driven techniques to estimate model inputs
Currently implemented
- Option-implied price distributions
- using the pricing of butterfl spreads to infer the probabilities of particular price movements
- accompanying blog post
- Market-implied expectations of COVID-19 using valuation surfaces
- visualising the growth rates implied by the current S&P500 price
- accompanying blog post
- Revenue forecasting models of DHT Holdings, an oil tanker company:
- version 1 is a standard excel model, using the futures curve to estimate an upper bound on charter rates. See the blog post
- version 2 pulls charter data from the TankersInternational twitter feed
What this project is not
This project is not meant to be a library of software that other people will find useful. To that end, I am not placing much emphasis on documentation and best-practices. This is a space for me to rapidly iterate and do some research into a pretty niche area. By all means, reach out to me if you have a question about it or want to discuss.
Related Skills
valuecell
10.3kValueCell is a community-driven, multi-agent platform for financial applications.
beanquery-mcp
45Beancount MCP Server is an experimental implementation that utilizes the Model Context Protocol (MCP) to enable AI assistants to query and analyze Beancount ledger files using Beancount Query Language (BQL) and the beanquery tool.
onekey-gateway
44OneKey Agent Gateway access to Commercial APIs, Skills, MCPs Build once and Ship 10× faster. For devs & builders, A unified API registry to serve and distribute across all agent formats—CLI, REST, MCP, and Skills—eliminating multiple builds. Access 30+ categories like search, image, finance, and 3D Rendering, register, and monetize APIs 10× faster
Payment Integration
Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks.
