class_docstr: Dynamic Instruments Filter Abstract class to filter a series of certain features
  
  Filters should provide parameters:
  
  - filter start time
  - filter end time
  - filter rule
  
  Override __init__ to assign a certain rule to filter the series.
  
  Override _getFilterSeries to use the rule to filter the series and get a dict of {inst => series}, or override filter_main for more advanced series filter rule
class_docstr_tok: ["Dynamic","Instruments","Filter","Abstract","class","to","filter","a","series","of","certain","features","Filters","should","provide","parameters",":","-","filter","start","time","-","filter","end","time","-","filter","rule","Override","__init__","to","assign","a","certain","rule","to","filter","the","series",".","Override","_getFilterSeries","to","use","the","rule","to","filter","the","series","and","get","a","dict","of","{","inst","=",">","series","}",",","or","override","filter_main","for","more","advanced","series","filter","rule"]
docstr: Call this filter to get filtered instruments list
docstr_tok: ["Call","this","filter","to","get","filtered","instruments","list"]
code: def __call__(
      self, instruments, start_time=None, end_time=None, freq="day"
  ):
      """Call this filter to get filtered instruments list"""
      self.filter_freq = freq
      return self.filter_main(instruments, start_time, end_time)
  
imports: from __future__ import print_function
  from abc import abstractmethod
  import re
  import pandas
  import numpy
  import abc
  from .data import Cal, DatasetD
label_desc: Use image node_id 6 for calling the SeriesDFilter obj's underlying member method code with example usage: obj.__call__(instruments, start_time, end_time, freq) and returns: self