Hello,
I am not really sure what am I doing wrong. In my backtest (run only for couple of recent days to check the companies it selects) i have:
sector_filter = (sector != Sector.FINANCIAL_SERVICES)|(sector != Sector.REAL_ESTATE)
And then I include sector_filter into pipe.set_screen() and nevertheles when I look at the companies that got into the portfolio, I see a lot of financial companies. I checked Morningstar to verify if they don't have it classified in some weird way, but this is not the case.
I am probably doing something wrong in the code, but I cannot figure out what.
Any help would be appreciated.
Thanks,
Sanning