stable/freqtrade/__init__.py

34 lines
914 B
Python
Raw Normal View History

2017-11-18 07:52:28 +00:00
""" FreqTrade bot """
2019-04-19 14:01:26 +00:00
__version__ = '0.18.5-dev'
2017-09-28 21:47:51 +00:00
class DependencyException(Exception):
"""
Indicates that an assumed dependency is not met.
This could happen when there is currently not enough money on the account.
"""
class OperationalException(Exception):
"""
Requires manual intervention.
2018-06-07 19:35:57 +00:00
This happens when an exchange returns an unexpected error during runtime
or given configuration is invalid.
"""
class InvalidOrderException(Exception):
2019-04-02 16:25:17 +00:00
"""
This is returned when the order is not valid. Example:
If stoploss on exchange order is hit, then trying to cancel the order
should return this exception.
"""
class TemporaryError(Exception):
"""
2018-04-21 20:37:27 +00:00
Temporary network or exchange related error.
This could happen when an exchange is congested, unavailable, or the user
has networking problems. Usually resolves itself after a time.
"""