{'fraction_non_alphanumeric': 0.027410207939508508, 'fraction_numerical': 0.0, 'mean_word_length': 5.341317365269461, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Multifractal analysis of agent-based financial markets

To analyze financial time series exhibiting volatility clustering, long-range dependence, or heavy-tailed marginals, we exploit multifractal analysis and agent-based simulation. We develop a robust, automated software tool for extracting the multifractal spectrum of a time series based on multifractal detrended fluctuation analysis (MF-DFA). The software is tested on simulated data with closed-form monofractal and multifractal spectra to ensure the quality of our implementation. We perform an in-depth analysis of General Electric's stock price using traditional time series techniques, and contrast the results with those obtained using MF-DFA. We also present a zero-intelligence agent-based financial market model and analyze its output using MF-DFA. We study the changes in the macrolevel time series output as analyzed by MF-DFA when altering one of the microlevel agent behaviors. Finally we explore the potential for validating agent-based models against empirical time series using MF-DFA.