How to get line opening value
Dvenzi last edited by
first of all i'm new to backtrader, as i was reading the quickstart guide i noticed that lines have values such as "open" and "close", and the way to access the current close value is : datas.close . Am i correct to assume that to check the opening value for the same line i would use datas.open ?
Thanks in advance (sorry for the silly question, and also sorry if i posted this question on the wrong category).
The actual lines available in a data feed can be defined by you. In a general case a regular data feed will be a subclass of the abstract data base and will at least have
You can see the lines of each data feed in the reference. Docs - Data Feeds Reference