What Are Asset Classes?
All asset classes have risk and return characteristics. Historical returns are neither forward-looking... Read More
Investment decision-making has always relied on two broad categories of information:
Over the past 30 years, digitization has transformed how qualitative data is captured and used. Emails, social media posts, earnings call transcripts, news articles, and even video content are now digital. This has enabled algorithmic processing of qualitative insights, allowing them to be combined with quantitative analysis. The result is a richer, more accurate foundation for financial decisions.
Financial data science sits at the intersection of statistics, computer science, and domain-specific financial knowledge. Its goal is to extract actionable insights from vast and complex datasets. The primary driver of this evolution is fintech – the convergence of finance and technology. Fintech has empowered asset managers to use machine learning (ML) and artificial intelligence (AI) to evaluate investment opportunities, optimize portfolios, and mitigate risks. More recently, generative AI (GenAI) has begun to be integrated into business applications, further accelerating the use of data.
Financial data is not uniform. The curriculum highlights several important distinctions:
$$\begin{array}{l|l|l} \textbf{Aspect} & \textbf{Quantitative Data} & \textbf{Qualitative Data} \\ \hline \textbf{Nature} & \text{Numerical, measurable} & \text{Descriptive, contextual} \\ \hline \textbf{Examples} & {\text{Prices, returns, interest rates,}\\ \text{accounting figures}} & \text{Sentiment, management quality, geopolitical risk} \\ \hline \textbf{Traditional analysis} & \text{Regression, time series, ratios} & \text{Expert judgment, reading reports} \\ \hline \textbf{Modern approach} & \text{Direct input into models} & \text{Transformed via NLP and sentiment analysis} \\ \end{array} $$
Natural language processing (NLP) and sentiment analysis are now used to convert qualitative data into quantifiable formats. For example, a news article about a company can be scored on a scale from “very negative” to “very positive,” creating a numeric variable that can be used alongside price data.
Big data refers to the enormous volumes of structured and unstructured data generated by financial markets, governments, individuals, and devices. In finance, big data includes:
Big data is the raw material for both general data science and specialized financial data science. As the volume of raw data grows, efficient processing and real-time analysis become critical.
High-frequency data is collected or recorded at extremely short intervals – often milliseconds or microseconds. Examples include individual trades, order book updates, and tick-by-tick quotes. Such data captures rapid changes and provides a granular view of market dynamics. Processing high-frequency data requires sophisticated tools and low-latency systems.
As ML and AI become more integrated into financial services, regulation is evolving quickly. Key concerns include:
Regulated financial institutions (banks, broker-dealers) must comply with strict standards for data management, model validation, and risk assessment. Non-regulated firms (some hedge funds, proprietary trading shops) have more flexibility but still face legal obligations to clients and counterparties.
Model risk is a shared concern: poorly developed, insufficiently tested, or unverified models can lead to major losses. Rigorous development, testing, and verification are essential across the industry.
Since the late 1990s, the term “big data” has been used to describe the massive data generated by industry, governments, individuals, and devices. These datasets typically have three core characteristics, plus a fourth for inference.
Volume refers to the amount of data being generated, collected, stored, and processed.
Financial datasets can contain millions or billions of observations. For example, a database containing transaction-level market data can be far larger than a database containing only daily closing prices.
Data storage is commonly described using:
The investment implication is straightforward: traditional spreadsheets or databases may become inefficient when datasets become extremely large, creating a need for specialized storage and processing technologies.
Velocity refers to the speed at which data is generated, transmitted, processed, and potentially acted upon.
Examples in finance include:
Velocity matters because some investment decisions require information to be processed almost immediately. A trading strategy that relies on current market conditions may have little value if the relevant data reaches the system too slowly.
Variety refers to the different forms, formats, and sources in which data exists.
Variety is important because different types of data require different methods of storage, processing, and analysis.
Veracity concerns the reliability, credibility, accuracy, and consistency of data.
Large datasets are not necessarily good datasets. An enormous dataset containing errors, biased observations, unreliable sources, or inconsistent measurements can produce misleading conclusions.
Veracity is especially important when Big Data is used to make predictions or draw inferences. The analyst must ask whether the observed relationships represent economically meaningful information or simply reflect noise, measurement problems, or biases in the data.
In other words, Big Data can create a signal-versus-noise problem: increasing the quantity of observations does not guarantee an increase in useful information.
Structured
Structured data can be arranged in tabular form with rows and columns, typically stored in databases. Specific fields within these tables provide a framework for organizing information and allow comparisons across different records.
Semi-structured
Unstructured data consists of diverse, unorganized information that typically cannot be represented in tables. To make such data useful, specialized software or custom-built programs are often required.
Unstructured
Semi-structured data share traits of both structured and unstructured formats but don’t align neatly with tables. For example, financial news is conveyed as narrative text rather than organized in rows and columns.
3.5 Examples of Big Data in Finance
$$
\begin{array}{l|l}
\textbf{Source Category} & \textbf{Examples} \\ \hline
\textbf{Financial markets} & {\text{Equity, fixed income, futures, options, derivatives,} \\ \text{ commodities}} \\ \hline
\textbf{Businesses} & {\text{Corporate financials, public commercial transactions,} \\ \text{credit card purchases, customer purchase history}} \\ \hline
\textbf{Governments} & {\text{Trade data, economic statistics, regulatory filings,} \\ \text{employment, taxation, payroll}} \\ \hline
\textbf{Individuals} & {\text{Credit card history, product reviews, internet} \\ \text{browsing history, search logs, personal/professional websites,} \\ \text{social media posts}} \\ \hline
\textbf{Sensors} & {\text{Satellite imagery, aircraft data, shipping cargo,} \\ \text{traffic patterns}} \\ \hline
\textbf{Internet of Things (IoT)} & {\text{“Smart” buildings providing data on climate control,} \\ \text{energy consumption, security, and operations} }\\
\end{array}
$$
Traditional investment analysis has relied on financial statements and economic reports – often released quarterly or monthly with a lag. Alternative data refers to information collected from non-traditional sources, providing more timely and granular insights.
As the market for alternative data grows, investment professionals must be aware of potential legal and ethical issues, especially regarding information that is not clearly in the public domain.
Using big data is not straightforward. Key challenges include:
In most cases, data must be sourced, cleansed, and organized before analysis. This is especially difficult for alternative data due to its unstructured nature (text, photos, videos). Qualitative data is context-dependent and open to multiple interpretations, requiring sophisticated analytical approaches.
Because traditional analytical methods are often inadequate for these datasets, AI and machine learning techniques have emerged as essential tools.
Financial data presents special features that influence the choice of analytical methods:
Early AI systems included expert systems, computer programs that simulated the knowledge and analytical abilities of human experts using “if-then” rules. By the late 1990s, advancements in networking speed and processor power allowed AI to be applied in areas such as logistics, data mining, financial analysis, and medical diagnostics. Financial institutions, in fact, have been steadily adopting AI technologies since the 1980s.
The purpose of machine learning is to automate decision-making by generalizing from prior examples. Through data, algorithms uncover underlying structures and patterns, following the principle: “Identify the pattern, then apply it.”ML requires massive amounts of data for training. The growth of big data has provided enough examples for algorithms like neural networks to improve predictive accuracy.
Example in finance: Robo-advisers use ML algorithms to automatically create and manage personalized investment portfolios based on a client’s financial goals and risk tolerance. After the client inputs preferences, the robo-adviser allocates funds and continuously rebalances.
To build a reliable ML model, the available data is split into three distinct subsets:
$$
\begin{array}{l|l|l}
\textbf{Dataset} & \textbf{Purpose} & \textbf{Typical Proportion} \\
\hline
\textbf{Training set} & {\text{The algorithm learns relationships between} \\ \text{inputs and outputs. This is the largest set.}} & \text{60-80%} \\
\hline
\textbf{Validation set} & {\text{Used to tune the model (adjust hyperparameters) } \\ \text{and prevent overfitting.}} & \text{10-20%} \\
\hline
\textbf{Test set} & {\text{The final, unseen data used to evaluate the model’s} \\ \text{performance on new data.}} & \text{10-20%} \\
\end{array}
$$
For smaller datasets, proportions shift toward more training (e.g., 70-15-15). For larger datasets, more can be reserved for validation and testing (e.g., 60-20-20).
Randomization is typical but problematic for time series. Randomly shuffling observations works for independent data (e.g., customer transactions) but destroys the temporal order of financial data. Future values depend on past values; random splitting can cause data leakage (future information leaking into the training set).
Instead of random splitting, financial data scientists use:
The validation and test datasets should match the intended forecast horizon. If you want to predict six months ahead, each validation/test segment should be at least six months long.
Human judgment is critical to detect and correct both problems. Even after training and testing, a model trained on one set of assets (e.g., value stocks) may need additional fine-tuning before being applied to another set (e.g., growth stocks).
Supervised Learning
Unsupervised Learning
Reinforcement Learning
Deep Learning (Deep Neural Networks)
A neural network is structured as a sequence of layers. Each layer houses numerous small computing units, often called neurons. These neurons perform simple mathematical operations on the data they receive.
The first layer, known as the input layer, receives the original raw data. Every neuron within this layer corresponds to one specific characteristic or attribute of that data. For example, when working with images, the brightness value of a single pixel typically becomes one input neuron.
Between the input layer and the final output lie one or more intermediate layers called hidden layers. This is where the actual processing and refinement of information takes place. Each hidden layer takes the information from the previous layer, combines it in new ways, and gradually sharpens the relevant characteristics so that underlying patterns stand out more distinctly. When a network contains many such hidden layers, it is commonly referred to as a deep neural network.
The last layer is the output layer. It delivers the network’s final result. That result may be a classification—such as determining what object appears in a photograph—or a continuous numeric value, like forecasting a stock’s future price.
Links between layers carry adjustable parameters known as weights. During training, these weights are modified to help the network produce more accurate predictions over time.
Training a neural network relies on a process called backpropagation. First, the network performs a forward propagation step: data moves through the layers one after another, generating an initial prediction. The network then compares that prediction against the correct answer.
A loss value is computed to quantify the difference between the predicted result and the actual outcome. The entire training process aims to drive this loss as low as possible. Backpropagation calculates the gradient of the loss with respect to each weight, revealing how increasing or decreasing a given weight would affect the overall error.
Using those gradients, the network applies an optimization technique called gradient descent. This method iteratively shifts each weight in the direction that reduces the loss—essentially moving downhill on the error surface. The network repeats this cycle across many data samples and over numerous complete passes through the entire training dataset (each pass is called an epoch) until the predictions become sufficiently accurate.
A generative adversarial network, or GAN, consists of two neural networks working together: a generator and a discriminator. The generator creates synthetic data, while the discriminator tries to distinguish real data from fake. Through this competition, the generator learns to produce increasingly realistic outputs.
In finance, GANs are valuable for augmenting limited datasets and running simulations. For instance, a GAN trained on historical market prices can generate plausible future price movements. This allows analysts to stress‑test investment strategies under a wide range of hypothetical conditions. One concrete example involves simulating various stock‑price paths to observe how a trading algorithm reacts to market volatility. By repeatedly generating such scenarios, institutions can assess and improve the algorithm’s resilience.
A variational autoencoder, or VAE, uses a different architecture. It first compresses input data into a compact, lower‑dimensional representation. Then it attempts to reconstruct the original data from that compressed form. This structure forces the network to capture the most essential patterns in the data.
VAEs in Financial Applications
Within finance, VAEs are commonly employed for dimensionality reduction. They allow analysts to handle very large financial datasets efficiently while preserving the underlying structure and important relationships, without losing critical information.
Text analytics uses computer programs to derive meaning from large, unstructured text or voice datasets: company filings, reports, earnings call transcripts, social media, emails, internet postings, surveys.
NLP is a subfield at the intersection of computer science, AI, and linguistics. It develops programs to analyze and interpret human language.
LLMs (e.g., GPT from OpenAI) represent a major leap in AI. They are neural networks, often using transformer architectures designed to handle long-range dependencies – essentially understanding context and meaning across long passages of text.
Unlike older models that simply predicted the next word, LLMs generate coherent, contextually appropriate strings of text – sentences, paragraphs, even full reports.
LLMs are first trained on vast general-language corpora (books, web pages, articles) to develop fundamental linguistic understanding: grammar, semantics, and general knowledge. Then they undergo fine-tuning or transfer learning on specialized financial corpora:
This dual-domain approach allows the model to understand both general language and the unique vocabulary, expressions, and nuances of finance.
LLMs can hallucinate – generate plausible but completely false information. To reduce errors, LLM outputs should be:
Generative AI describes systems capable of producing new content, data, or solutions by learning patterns from existing information. Unlike traditional AI, which emphasizes tasks such as classification or regression, generative models focus on creating outputs that mirror real-world data. This makes them valuable for automating complex analyses and generating insights that would otherwise demand significant human effort and time.
Examples in finance:
Important distinction: Generative AI does not just replicate or shuffle past data. It learns the data’s underlying structure and then creates new samples that are statistically similar but not identical to the training set.
The ability to analyze big data using ML techniques has been supported by:
These advances have enabled applications relevant to investment research:
Such information can be used as inputs into valuation models or macroeconomic forecasts.
Data science is not just about algorithms. It is a structured process for turning raw data into insights.
$$
\begin{array}{l|l|l}
\textbf{Stage} & \textbf{Description} & \textbf{Financial Example} \\
\hline
\textbf{Capture} & \text{Collecting and transforming data into a usable format.} & \text{Real-time tick data} \\
& \text{Low-latency systems (minimal delay) are essential for} & \text{from an exchange.} \\
& \text{automated trading. High-latency systems are fine for} & \\
& \text{end-of-day analysis.} & \\
\hline
\textbf{Curation} & \text{Ensuring data quality and accuracy through cleaning.} & \text{Removing erroneous} \\
& \text{Reviewing for errors, bad values, missing data.} & \text{trades (e.g., “flash} \\
& & \text{crash” outliers).} \\
\hline
\textbf{Storage} & \text{Recording, archiving, and accessing data. Choice} & \text{Time-series database} \\
& \text{depends on structure (SQL for structured, NoSQL for} & \text{for price data; data} \\
& \text{unstructured) and latency needs.} & \text{lake for social media} \\
& & \text{feeds.} \\
\hline
\textbf{Search} & \text{Querying large volumes of data to locate specific} & \text{“Show all analyst} \\
& \text{content.} & \text{reports mentioning} \\
& & \text{‘inventory’ in the last} \\
& & \text{month.”} \\
\hline
\textbf{Transfer} & \text{Moving data from source or storage to analytical} & \text{Direct exchange feed} \\
& \text{tools.} & \text{to a trading algorithm.} \\
\end{array}
$$
Displaying data in graphical form is a powerful method for making large datasets comprehensible. Visualization determines how information is organized, presented, and condensed into an easily interpretable visual format.
Visualizing Different Data Types
Standard structured data can be shown using familiar tools such as tables, line charts, and trend graphs. By contrast, nontraditional or unstructured data calls for newer visualization approaches.
Interactive Three-Dimensional Graphics
One example of such an approach is interactive three‑dimensional (3D) graphics. With these tools, users can select specific data ranges and rotate the view along three axes, which helps reveal trends and hidden connections.
Beyond Three Dimensions
When a dataset contains more than three variables, additional visualization techniques become necessary. For instance, adding colors, different shapes, or varying marker sizes to 3D charts can convey extra dimensions. Many software solutions exist that use the geometric layout of the visualization to mirror the data’s underlying structure, and interactive graphics open up especially powerful possibilities. Common examples include heat maps, tree diagrams, and network graphs.
Tag Clouds (Word Clouds)
Another effective technique for visualizing textual data is the tag cloud, also called a word cloud. In this method, each word’s size and prominence reflect how often it appears in the source text. Words that occur frequently are shown in a larger font, while less common words appear smaller.
Mind Maps
A mind map offers a different take on similar ideas. Unlike a tag cloud, which focuses on word frequency, a mind map illustrates how various concepts relate to one another. It is a visual arrangement of linked ideas rather than a simple frequency display.
Example Tag Cloud
An example tag cloud based on the text of a learning module shows this principle in action. The most frequent terms—such as “data,” “ML,” “learning,” “AI,” “analysis,” “financial,” and “information”—stand out in the largest type, while less common words appear progressively smaller.
Financial data scientists use a variety of tools. The curriculum lists the following as common:
$$ \begin{array}{l|l|l}
\textbf{Language} & \textbf{Key Features} & \textbf{Typical Use in Finance} \\
\hline
\textbf{Python} & \text{Open-source, free, easy to learn.} & \text{General-purpose data analysis,} \\
& \text{Extensive libraries for data science} & \text{ML, fintech applications.} \\
& \text{(pandas, scikit-learn, TensorFlow).} & \\
\hline
\textbf{R} & \text{Open-source, free. Strong statistical and} & \text{Statistical analysis, time series,} \\
& \text{econometric packages.} & \text{ML, portfolio optimization.} \\
\hline
\textbf{Java} & \text{Runs on any platform (JVM). Underpins} & \text{Large-scale trading systems,} \\
& \text{many internet applications.} & \text{order management.} \\
\hline
\textbf{C/C++} & \text{Allows source code optimization for} & \text{Algorithmic and high-frequency} \\
& \text{maximum speed.} & \text{trading where microseconds} \\
& & \text{matter.} \\
\hline
\textbf{Excel} & \text{Bridges manual processing and} & \text{Updating data tables, running} \\
\textbf{VBA} & \text{automation. Macros for repetitive tasks.} & \text{queries, custom reports for} \\
& & \text{non-programmers.} \\
\end{array}
$$
$$
\begin{array}{l|l|l|l}
\textbf{Database} & \textbf{Best For} & \textbf{Structure} & \textbf{Deployment} \\
\hline
\textbf{SQL (e.g.,} & \text{Structured data that fits} & \text{Relational} & \text{Server-based,} \\
\textbf{PostgreSQL,} & \text{in tables with rows and} & & \text{accessed by multiple} \\
\textbf{MySQL)} & \text{columns.} & & \text{users.} \\
\hline
\textbf{SQLite} & \text{Structured data, but} & \text{Relational} & \text{Embedded in the} \\
& \text{lightweight.} & & \text{program; no separate} \\
& & & \text{server. Most common} \\
& & & \text{database for mobile} \\
& & & \text{apps.} \\
\hline
\textbf{NoSQL (e.g.,} & \text{Unstructured or} & \text{Document,} & \text{Server or cloud.} \\
\textbf{MongoDB,} & \text{semi-structured data} & \text{key-value, graph, or} & \\
\textbf{Cassandra)} & \text{that does not fit well into} & \text{column-family} & \\
& \text{tables.} & & \\
\end{array}
$$
Despite the power of big data, AI, and ML, human judgment remains indispensable. Machines cannot fully understand context, detect subtle biases in data, or anticipate structural breaks (e.g., a new regulation or a pandemic). Humans are needed to:
The curriculum emphasizes that even with advanced tools, the investment professional’s role is to combine quantitative rigor with qualitative wisdom – and to always question whether the model is seeing a true pattern or just a mirage in the data.
Question
Which of the following best describes a machine learning environment where the algorithm learns relationships from labeled training data?
- Supervised learning
- Unsupervised learning
- Reinforcement learning
Solution.
The correct answer is A.
Supervised learning is defined by the use of labeled training data – meaning each observation in the training set includes both input features (e.g., price-to-earnings ratio, trading volume) and the corresponding target output (e.g., future stock return, credit default flag). The algorithm learns the mapping from inputs to outputs by minimizing prediction error on these labeled examples. After training, it can predict outputs for new, unseen inputs. This directly matches the description in the stem.
B is incorrect. Unsupervised learning works with unlabelled data – there is no target output provided. The algorithm’s goal is to discover hidden structures, groupings, or patterns on its own (e.g., clustering companies into peer groups or reducing dimensionality). Because no labels are used, it does not fit the stem’s description of “learning relationships based on labeled training data.”
C is incorrect. Reinforcement learning does not rely on labeled input-output pairs. Instead, an agent learns by interacting with an environment, taking actions (e.g., buy, sell, hold), and receiving rewards or penalties as feedback. The goal is to maximize cumulative reward over time through trial and error. Although the agent “learns relationships,” it does so without a static set of labeled examples; therefore, it does not match the stem’s condition of “labeled training data”.
Master CFA Level I Portfolio Management concepts, including financial data science, big data, machine learning, artificial intelligence, and their applications in investment management with study notes, mock exams, practice questions, and video lessons.
Get Ahead on Your Study Prep This Cyber Monday! Save 35% on all CFA® and FRM® Unlimited Packages. Use code CYBERMONDAY at checkout. Offer ends Dec 1st.