Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /freqtrade_freqtrade /freqtrade /enums /exitchecktuple.py
| from freqtrade.enums.exittype import ExitType | |
| class ExitCheckTuple: | |
| """ | |
| NamedTuple for Exit type + reason | |
| """ | |
| exit_type: ExitType | |
| exit_reason: str = "" | |
| def __init__(self, exit_type: ExitType, exit_reason: str = ""): | |
| self.exit_type = exit_type | |
| self.exit_reason = exit_reason or exit_type.value | |
| def exit_flag(self): | |
| return self.exit_type != ExitType.NONE | |
| def __eq__(self, other): | |
| return self.exit_type == other.exit_type and self.exit_reason == other.exit_reason | |
| def __repr__(self): | |
| return f"ExitCheckTuple({self.exit_type}, {self.exit_reason})" | |
Xet Storage Details
- Size:
- 641 Bytes
- Xet hash:
- ff5703d74e8c493932c10f413e3b25294c6d35abf2f1e8975bb0c9dea3b77333
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.