Skip to content

JSON parsing error in "00 Kalman Filters and Statistical Arbitrage.ipynb" due to unescaped quotes #2089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
neyuki778 opened this issue Apr 26, 2025 · 0 comments

Comments

@neyuki778
Copy link

Issue Description

I encountered a JSON parsing error when trying to open the "00 Kalman Filters and Statistical Arbitrage.ipynb" file located in the "04 Research Environment/12 Applying Research/05 Kalman Filters and Stat Arb" directory. The error occurs because of unescaped double quotes in an HTML img tag's alt attribute.

Error Message

Unable to open '00 Kalman Filters and Statistical Arbitrage.ipynb'
Expected ',' or after array element in JSON at position 269554 (line 574 column 86)

Problem Location

The error is in a markdown cell containing an image with the following HTML:

<img src="https://cdn.quantconnect.com/i/tu/kalman-filter-explained.jpg" alt="kalman filter">

The issue is specifically with the alt="kalman filter" part, where the double quotes around "kalman filter" are causing JSON parsing errors.

Suggested Fix

One of these solutions would resolve the issue:

  1. Using single quotes for the alt attribute:
<img src="https://cdn.quantconnect.com/i/tu/kalman-filter-explained.jpg" alt='kalman filter'>

File Path

Full path to the affected file:
04 Research Environment/12 Applying Research/05 Kalman Filters and Stat Arb/00 Kalman Filters and Statistical Arbitrage.ipynb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant