I get an a run time error when I call the History function:

Runtime Error: Trying to retrieve an element from a collection using a key that does not exist in that collection throws a KeyError exception

Apparently the 'close' column is not found. But when I look at the log, it appears that there are close values but the column name 'Close' is not there. Any ideas on what could be the problem and how to resolve this?

 

2019-11-17 00:00:00 Launching analysis for 9c30ce40576d83fea3ffa1a3085b4f22 with LEAN Engine v2.4.0.0.8348 2019-11-17 18:01:00 expiry symbol time 2019-12-27 GC XAOU1HJH8XI5 2019-11-15 15:52:00 1467.1 2019-11-15 15:53:00 1467.3 2019-11-15 15:54:00 1467.3 2019-11-15 15:55:00 1467.3 2019-11-15 15:56:00 1467.3 2019-11-15 15:57:00 1467.3 2019-11-15 15:58:00 1467.1 2019-11-15 15:59:00 1467.3 2019-11-15 16:00:00 1467.4 2019-11-15 16:01:00 1467.4 2019-11-15 16:02:00 1467.2 2019-11-15 16:03:00 1467.3

 

 

Author