JSONStatistics class was missing documentation for the required variable target_allocation which resulted in an error when used in the same way as TearsheetStatistics.
I added documentation for the variable, and added an example using JSONStatistics to examples/ which makes usage of the class clearer to users.
Coverage remained the same at 69.61% when pulling 83c951ab5ac2fb2ec3eb7ec5a0800d91cbbe202b on calumrussell:stats_json_fix into beab13fd82538728ad12235686ffb9566e6f0a42 on mhallsmoore:master.
JSONStatistics class was missing documentation for the required variable target_allocation which resulted in an error when used in the same way as TearsheetStatistics.
I added documentation for the variable, and added an example using JSONStatistics to examples/ which makes usage of the class clearer to users.