One of the goals is to also gather things which have already been posted by community members. Always retaining the copyright they have posted, as for example:
Docs - ZigZag indicator for live trading
If you believe you have something to contribute, post it and it will be considered, just like anything else, but picked up things (initial idea) will be mostly related to indicators.
@benjomeyer said in Timers:
Given how you pass it ... you could probably try this better
def notify_timer(self, timer, when, timername):
given that you have no additional *args or **kwargs. But a more general approach I would suggest this
def notify_timer(self, timer, when, **kwargs):
timername = kwargs.get('timername', None)
where you can also decide if a default logic for None is needed.
Note: notice the usage of elif
Re: Help with Volume-Weigthed Moving Average (VWMA) indicator needed
When I copy paste this code I get this error: class VolumeWeightedAveragePrice(bt.Indicator):
AttributeError: 'Lines_LineSeries_LineIterator_DataAccessor_Indicat' object has no attribute '_addobserver'
I saw an earlier Post to this error but it didnt really help me. I also cant see where the error in the code is because for me it all makes sense. Thank you in Advance.
Covering all non-candlestick indicators offered by ta-lib implemented in Python and being able to work as a drop-in replacement of ta-lib if compatibility is activated.