Great, Thanks, I appreciate it!
Best posts made by ThisGuySold
Latest posts made by ThisGuySold
-
RE: Printing High and Low
Oh okay, Thanks for letting me know, So which part do I need to be to access to the current high, low values? Also suppose I am anywhere in the script is there a way to retrieve the current high, low values? Thanks.
-
RE: Printing High and Low
I run the code with the changes ([I have updated the drive also), I placed a debug point (breakpoint) on line 112. This is my results after running.
2000-01-11, SELL CREATE, 24.99
2000-01-11, 24.35
2000-01-11, 25.52But from my csv file
24.35 should be 27.36
25.52 should be 28.69Is there something about how backtrader runs that I am missing here?
-
RE: Printing High and Low
Thanks, I am new to this, here is the link to my files, it is pretty simple since I am starting out. See lines 109 and 110
https://drive.google.com/open?id=1-iymxk-Y7iAPOtU0X17MxtpNx7PszQFT
Thanks
-
Printing High and Low
I need help accessing the high and low values for a current data and N in the past.
Code:
print(self.datas[0].low) print(self.datas[0].high)
Output:
<backtrader.linebuffer.LineBuffer object at 0x0000016E46240BC8>
<backtrader.linebuffer.LineBuffer object at 0x0000016E46240B08>Also is aside from the documentation is there a list of the keywords explaining what the different methods do?