Contact#
1. Financial Data Science#
As financial markets produce vast volumes of structured and unstructured data, the ability to extract insights and develop predictive models has become increasingly important. Financial Data Science Python Notebooks provide a practical guide for analysts, researchers, and data scientists looking to apply Python and its broad ecosystem of libraries, tools, frameworks, and community resources to financial analysis, econometrics, and machine learning.
Designed to support financial data science workflows, the companion FinDS Python package demonstrates how to use database engines such as SQL, Redis, and MongoDB to manage and access large datasets, including:
Core financial databases such as CRSP, Compustat, IBES, and TAQ
Public economic data APIs from sources like FRED and the Bureau of Economic Analysis (BEA)
Structured and unstructured data from academic and research websites
In addition to data access, it provides practical examples and templates for applying:
Financial econometrics and time series modeling
Graph analytics, event studies, and backtesting strategies
Machine learning for predictive analytics
Natural language processing (NLP) to extract insights from financial text
Neural networks and large language models (LLMs) for advanced decision-making
March 2025: Updated with data through early 2025 and incorporated the latest LLMs – Microsoft Phi-4-multimodal (released Feb 2025), Google Gemma-3-12B (March 2025), DeepSeek-R1-14B (January 2025), Meta Llama-3.1-8B (July 2024), GPT-4o-mini (July 2024).
Documentation
Github repos
2. Solving Actuarial Math with Python#
The actuarialmath Python package implements fundamental methods for modeling life contingent risks, and closely follows traditional topics covered in actuarial exams and standard texts such as the “Fundamentals of Actuarial Math - Long-term” exam syllabus by the Society of Actuaries, and “Actuarial Mathematics for Life Contingent Risks” by Dickson, Hardy and Waters.
Installation
pip install actuarialmath
Resources
Jupyter notebook, or run in Colab, to solve all sample SOA FAM-L exam questions
Github repo and issues
3. OCaml LLVM#
MiniMat matrix language: terence-lim/minimat
4. Miscellaneous#
Review notes motivated by:
FDP syllabus (CAIA Association): https://terence-lim.github.io/notes/FDP.pdf
SRM/PA syllabus (Society of Actuaries): https://terence-lim.github.io/notes/SRM.pdf