Files
aiomql/docs/core/exceptions.md
T
Ichinga Samuel 2e7aa73aec v4
2024-11-15 21:13:19 +01:00

50 lines
1.1 KiB
Markdown

# Exceptions
Exceptions for the aiomql package.
## Table of Contents
- [LoginError](#exceptions.login_error)
- [VolumeError](#exceptions.volume_error)
- [SymbolError](#exceptions.symbol_error)
- [OrderError](#exceptions.order_error)
- [StopTradingError](#exceptions.stop_trading_error)
<a id="exceptions.login_error"></a>
### LoginError
```python
class LoginError(Exception)
```
Raised when an error occurs when logging in.
<a id="exceptions.volume_error"></a>
### VolumeError
```python
class VolumeError(Exception)
```
Raised when a volume is not valid or out of range for a symbol.
<a id="exceptions.symbol_error"></a>
### SymbolError
```python
class SymbolError(Exception)
```
Raised when a symbol is not provided where required or not available in the Market Watch.
<a id="exceptions.order_error"></a>
### OrderError
```python
class OrderError(Exception)
```
Raised when an error occurs when working with the order class.
<a id="exceptions.Stop_trading_error"></a>
### StopTradingError
```python
class StopTradingError(Exception)
```
Raised when an error occurs when trying to stop trading.