Exemplo n.º 1
0
    def __init__(self,
                 mongo_db=arg_not_supplied,
                 log=logtoscreen("mongoCapitalData")):

        super().__init__(log=log)
        self._mongo_data = mongoDataWithMultipleKeys(self._collection_name,
                                                     mongo_db=mongo_db)
Exemplo n.º 2
0
    def __init__(self,
                 mongo_db=None,
                 log=logtoscreen("mongoPositionLimitData")):
        super().__init__(log=log)

        self._mongo_data = mongoDataWithMultipleKeys(
            POSITION_LIMIT_STATUS_COLLECTION, mongo_db=mongo_db)
Exemplo n.º 3
0
    def __init__(self,
                 mongo_db=None,
                 log=logtoscreen("mongoEmailControlData")):

        super().__init__(log=log)
        self._mongo_data = mongoDataWithMultipleKeys(EMAIL_CONTROL_COLLECTION,
                                                     mongo_db=mongo_db)
Exemplo n.º 4
0
    def __init__(self, mongo_db=None, log=logtoscreen("mongoOverrideData")):

        super().__init__(log=log)
        self._mongo_data = mongoDataWithMultipleKeys(
            OVERRIDE_STATUS_COLLECTION, mongo_db=mongo_db)