Skip to content

Commit cf851ed

Browse files
committed
Pre-commit tick.py
1 parent ca04b5d commit cf851ed

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mqpy/tick.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
from __future__ import annotations
77

8-
from typing import Optional
9-
108
import MetaTrader5 as Mt5
119

1210

@@ -75,7 +73,7 @@ def flags(self) -> int:
7573
return self._flags
7674

7775
@property
78-
def volume_real(self) -> Optional[float]:
76+
def volume_real(self) -> float | None:
7977
"""Real volume (if available)."""
8078
return self._volume_real
8179

0 commit comments

Comments
 (0)