Files
aiomql/docs/core/exceptions.md
T

37 lines
874 B
Markdown
Raw Normal View History

2024-02-12 21:09:28 +01:00
# Exceptions
2023-10-11 09:49:06 +01:00
Exceptions for the aiomql package.
2024-02-12 21:09:28 +01:00
## Table of Contents
- [LoginError](#exceptions.LoginError)
- [VolumeError](#exceptions.VolumeError)
- [SymbolError](#exceptions.SymbolError)
- [OrderError](#exceptions.OrderError)
2023-10-11 09:49:06 +01:00
2024-02-12 21:09:28 +01:00
<a id="exceptions.LoginError"></a>
### LoginError
2023-10-11 09:49:06 +01:00
```python
class LoginError(Exception)
```
Raised when an error occurs when logging in.
2024-02-12 21:09:28 +01:00
<a id="exceptions.VolumeError"></a>
### VolumeError
2023-10-11 09:49:06 +01:00
```python
class VolumeError(Exception)
```
Raised when a volume is not valid or out of range for a symbol.
2024-02-12 21:09:28 +01:00
<a id="exceptions.SymbolError"></a>
### SymbolError
2023-10-11 09:49:06 +01:00
```python
class SymbolError(Exception)
```
Raised when a symbol is not provided where required or not available in the Market Watch.
2024-02-12 21:09:28 +01:00
<a id="exceptions.OrderError"></a>
### OrderError
2023-10-11 09:49:06 +01:00
```python
class OrderError(Exception)
```
2024-02-12 21:09:28 +01:00
Raised when an error occurs when working with the order class.