Hello everyone,

I'm new to Quantconnect and I feel a little lost as I still don't know how many things work after having read the documentation. I'm trying to do something very simple for my first test algorithm. It should buy AAPL if the current price is lower than the previous day's closing price and sell it if it reaches a higher price than it was bought for. But I don't know how to get that closing price so I can compare them. I get an error saying my bars object has no .close property. How to do that correctly?

Thank you very much for your help.

Kind Regards,

Christian Lauer