コード例 #1
0
ファイル: portfolio.py プロジェクト: WeiLiElectrEng/kod
    def __init__(self):

        super(PortfoliosEstimated, self).__init__()
        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = ['get_instrument_correlation_matrix']
        update_recalc(self, protected)
コード例 #2
0
ファイル: portfolio.py プロジェクト: rlcjj/pysystemtrade
    def __init__(self):

        super(PortfoliosEstimated, self).__init__()

        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = ['get_instrument_correlation_matrix']
        update_recalc(self, protected)
コード例 #3
0
ファイル: forecast_combine.py プロジェクト: Sayan-Paul/kod
    def __init__(self):
        """
        """
        super(ForecastCombineEstimated, self).__init__()

        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = ['get_forecast_correlation_matrices', 'calculation_of_forecast_weights']
        update_recalc(self, protected)
コード例 #4
0
    def __init__(self):

        super(PortfoliosEstimated, self).__init__()
        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = ['get_instrument_correlation_matrix']
        update_recalc(self, protected)

        nopickle = ["calculation_of_raw_instrument_weights"]
        setattr(self, "_nopickle", nopickle)
コード例 #5
0
    def __init__(self):
        """
        """
        super(ForecastCombineEstimated, self).__init__()

        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = ['get_forecast_correlation_matrices', 'calculation_of_forecast_weights']
        update_recalc(self, protected)

        setattr(self, "description", "Estimated")
コード例 #6
0
ファイル: rawdata.py プロジェクト: WeiLiElectrEng/kod
    def __init__(self):
        """
        Create a futures raw data subsystem

        >>> FuturesRawData()
        SystemStage 'rawdata'
        """
        super(FuturesRawData, self).__init__()
        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = []
        update_recalc(self, protected)
コード例 #7
0
ファイル: portfolio.py プロジェクト: caitouwh/kod
    def __init__(self):

        super(PortfoliosEstimated, self).__init__()

        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = ['get_instrument_correlation_matrix']
        update_recalc(self, protected)

        setattr(self, "description", "Estimated")
    
        nopickle=["calculation_of_raw_instrument_weights"]
        setattr(self, "_nopickle", nopickle)
コード例 #8
0
ファイル: rawdata.py プロジェクト: TechSurfer1/pysystemtrade
    def __init__(self):
        """
        Create a futures raw data subsystem

        >>> FuturesRawData()
        SystemStage 'rawdata'
        """
        super(FuturesRawData, self).__init__()

        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = []
        update_recalc(self, protected)
コード例 #9
0
ファイル: rawdata.py プロジェクト: sixkingdoms/pysystemtrade
    def __init__(self):
        """
        Create a futures raw data subsystem

        >>> FuturesRawData()
        SystemStage 'rawdata' futures Try objectname.methods()
        """
        super(FuturesRawData, self).__init__()
        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = []
        update_recalc(self, protected)

        setattr(self, "description", "futures")
コード例 #10
0
ファイル: forecast_combine.py プロジェクト: caitouwh/kod
    def __init__(self):
        """
        """
        super(ForecastCombineEstimated, self).__init__()

        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = ['get_forecast_correlation_matrices', 'calculation_of_forecast_weights']
        update_recalc(self, protected)

        setattr(self, "description", "Estimated")
    
        nopickle=["calculation_of_raw_forecast_weights"]

        setattr(self, "_nopickle", nopickle)
コード例 #11
0
ファイル: rawdata.py プロジェクト: bmaher74/pysystemtrade
    def __init__(self):
        """
        Create a futures raw data subsystem

        >>> FuturesRawData()
        SystemStage 'rawdata' futures Try objectname.methods()
        """
        super(FuturesRawData, self).__init__()

        """
        if you add another method to this you also need to add its blank dict here
        """

        protected = []
        update_recalc(self, protected)

        setattr(self, "description", "futures")