def __init__(self, name, description=None, units=None,
                 agg_method="PRIORITY_FILL",
                 indexname="UNNAMED", indeximp="DatetimeIndexImp",
                 freshthresh=0):
        """A Trump Symbol persistently objectifies indexed data

        Use the SymbolManager class to create or retrieve existing symbols.

        Parameters
        ----------
        name : str
            The name of the symbol to be added to the database, serves
            as a primary key across the trump installation.
        description : str, optional
            a description of the symbol, just for notes.
        units : str, optional
            a string representing the units for the data.
        agg_method : str, default PRIORITY_FILL
            the method used for aggregating feeds, see
            trump.aggregation.symbol_aggs.py for the list of available options.
        indexname : str
            a proprietary name assigned to the index.
        indeximp : str
            a string representing an index implementer (one of the classes in indexing.py)
        freshthresh : int, default 0
            number of minutes before the feed is considered stale.

        """
        
        self.name = name
        self.description = description
        self.units = units
        self.freshthresh = freshthresh

        self.index = Index(indexname, indeximp, sym=name)
        self.dtype = SymbolDataDef("SkipDataDef", sym=name)
        
        self.agg_method = agg_method
        self.datatable = None
        self.datatable_exists = False
def __init__ ( self , name , description = None , units = None , agg_method = "PRIORITY_FILL" , indexname = "UNNAMED" , indeximp = "DatetimeIndexImp" , freshthresh = 0 ) : self . name = name self . description = description self . units = units self . freshthresh = freshthresh self . index = Index ( indexname , indeximp , sym = name ) self . dtype = SymbolDataDef ( "SkipDataDef" , sym = name ) self . agg_method = agg_method self . datatable = None self . datatable_exists = False
A Trump Symbol persistently objectifies indexed data

        Use the SymbolManager class to create or retrieve existing symbols.

        Parameters
        ----------
        name : str
            The name of the symbol to be added to the database, serves
            as a primary key across the trump installation.
        description : str, optional
            a description of the symbol, just for notes.
        units : str, optional
            a string representing the units for the data.
        agg_method : str, default PRIORITY_FILL
            the method used for aggregating feeds, see
            trump.aggregation.symbol_aggs.py for the list of available options.
        indexname : str
            a proprietary name assigned to the index.
        indeximp : str
            a string representing an index implementer (one of the classes in indexing.py)
        freshthresh : int, default 0
            number of minutes before the feed is considered stale.