asynctradier.exceptions package
Module contents
- exception asynctradier.exceptions.APINotAvailable(msg: str)[source]
Bases:
ExceptionException raised when the API is not available.
- msg
The error message.
- Type:
str
- exception asynctradier.exceptions.BadRequestException(code: int, msg: str)[source]
Bases:
ExceptionException raised when a bad request is made.
- code
The HTTP status code of the bad request.
- Type:
int
- msg
The error message.
- Type:
str
- exception asynctradier.exceptions.InvalidDateFormat(date: str)[source]
Bases:
ExceptionException raised when the date format is not valid.
- date
The invalid date.
- Type:
str
- exception asynctradier.exceptions.InvalidExiprationDate(expiration: str)[source]
Bases:
ExceptionException raised when the expiration date is not valid.
- expiration
The invalid expiration date.
- Type:
str
- exception asynctradier.exceptions.InvalidOptionType(option_type: str)[source]
Bases:
ExceptionException raised when the option type is not valid.
- option_type
The invalid option type.
- Type:
str
- exception asynctradier.exceptions.InvalidParameter(msg: str)[source]
Bases:
ExceptionException raised when a parameter is not valid.
- msg
The error message.
- Type:
str