I want to fetch the portoflio vlaues at the end of specific months (e.g. March, June, September and December) from a backtest (given project_Id and backtest_id).

However, when i follow the online doc on Meta Analysis/Backtest Analysis, the code doesnt work:

URL:

Code:

equity = equity_chart.series["Equity"].values
drawdown = drawdown_chart.series["Equity Drawdown"].values
benchmark = benchmark_chart.series["Benchmark"].values
equity = equity_chart.series["Equity"].values
drawdown = drawdown_chart.series["Equity Drawdown"].values
benchmark = benchmark_chart.series["Benchmark"].values

---------------------------------------------------------------------------
KeyNotFoundException                      Traceback (most recent call last)
Cell In[27], line 4
      2 drawdown_chart = backtest.charts["Drawdown"]
      3 benchmark_chart = backtest.charts["Benchmark"]
----> 4 equity = equity_chart.series["Equity"].values
      5 drawdown = drawdown_chart.series["Equity Drawdown"].values
      6 benchmark = benchmark_chart.series["Benchmark"].values

KeyNotFoundException: The given key 'Equity' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at InvokeStub_Dictionary`2.get_Item(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Please advise. 

Thanks,