Book Updates and Frequently Asked Questions


Why I can't run the example projects in the book "Practical WebGPU Graphics"?

This is because the WebGPU API is a work-in-progress project and it keeps changing frequently. Sometimes, Chrome Canary stops supporting some old WebGPU features. You may then not be able to run the code examples in the book. In order to run the examples, I have made the corresponding code update to reflect these changes. You can re-download the updated code examples by following the same procedure when downloading the original code examples from this link.

Recently, I also created several YouTube videos that show how to update the WebGPU applications. Here is the links for the videos:

How to run the examples in the book "Practical C# and WPF for Financial Markets" in Visual Studio 2017 or 2019?

The examples accompanied with the book were built and tested on Visual Studio 2013, so it is the best to run the sample code on the same platform. However, you may get the following error messages when you try to run the example project in Visual Studio 2017:

The task factory 'CodeTaskFactory' could not be loaded from the assembly 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Build.Tasks.v15.0.dll'. Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Build.Tasks.v15.0.dll' or one of its dependencies. The system cannot find the file specified.

This is because Microsft has renamed the file Microsoft.Build.Tasks.v15.0.dll to Microsoft.Build.Tasks.core.dll in Visual Studio 2017. To resolve this issue, simply go to that folder and make a copy of Microsoft.Build.Tasks.core.dll and rename this copied file to Microsoft.Build.Tasks.v15.0.dll. You can then compile and run the project on Visual Studio 2017.

You can follow this procedure to build the example projects in Visual Studio 2019.

Why some of market data APIs used in your finance books do not work when running the example project?

In several books on quantitative finance, we used free market data APIs to get the market data. Howver, Yahoo, Google, and other market data providers have discontinued or changed their market data API services, so the free market data APIs described in those books may not work any more. Please note that these free market data APIs cannot be assumed stable, and might break any time. So use it at your own risk.

Recently, I updated the free market data APIs in my eBook Free Market Data APIs for Quantitative Finance with ASP.NET Core. You can download the example code for updated market data APIs from Github repository.