@Armaan-Syed I am also looking to use session weighted VWAP. Were you able to get code working?
Posts made by switchfire
RE: Help with Volume-Weigthed Moving Average (VWMA) indicator needed
Using ParabolicSAR inside strategy
I'm having difficulty implementing the ParabolicSAR in my strategy. I believe I've done the params and initialization correctly (not for sure, though), but I'm not sure how to add the conditions in. Am I supposed to build the calculations and use a variable for the condition? Or is that done inside backtrader? I want to include a psar condition inside the buy/sell conditions.
('period', 2), # psar period ('start' in pine) ('af', 0.005), #psar af ('increment' in pine) ('afmax', 1), #psar afmax ('maximum' in pine)
self.psar = bt.indicators.ParabolicSAR( period = self.p.period,# Period plot = False, af = self.p.af, afmax = self.p.afmax, )
I am new, thank you for your patience.
Jupyter notbook printing too much data
I'm fairly new to both Python and Backtrader, so excuse my noobness. I've been running some tests on large data-sets. One issue is when there's too much data, the Cell becomes full and I am unable to scroll to the bottom to see the final result. (see picture) Is there any way I can only print the P/L? I don't care about seeing each minute close.
Thanks for any insight!