I tried to filter out 2nd result with below, but it does not work:
Why? You probably want to use what @ab_trader has suggested.
The first thing for anyone to be able to offer any diagnostic is that people know what you are doing and what the error looks like. And the best approach to achieve that is to have a small code snippet, small data sample to reproduce the error.
every is ok
That's your assumption. It may simply not be the case.
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
get_ipythonand to run
cerebro.plot(ipython=False), because those seems to be related to be running inside a Jupyter Notebook or Spyder environment.
I cannot create issues on github
Issue on GitHub were disabled exactly because of reports like this one.
Understanding that your intentions are well meant, do you have something to sustain your claims?
Sorry but when I read that you "give the function" ... makes me wonder to which "function" are you actually referring? The backtrader code shown defines no function.
Strategies DO NOT loop. They are passive and called by the system, i.e.: they are event based.
If something is wrong in your code ... it is in the code you don't show.
In any case ... all these
if something is True tests are WRONG
if self.view[d] is True:
You don't know if a
True value is being stored. You want to test for something to be true and not for something to be