Hi everyone

I'm very new to coding and have little to no experience with Quantconnect, but I've set myself the challenge, that I want to get good at C#.

But I'm having a lot of trouble with the History method in C#. I just can't get it to do, what I've seen people do with it in Python.

What I want to do is request the Close prices of a given timeframe to then do some calculations.

Here is what I've seen done with python

close = self.History(self.Symbol, 31, Resolution.Daily)["close"]

Please help me. I've gotten nowhere after searching the Documentation for hours.

Thanks in advance:)

Author