Gr8/symbols.py
2025-09-10 15:02:31 +03:00

7 lines
No EOL
152 B
Python

import MetaTrader5 as mt5
mt5.initialize()
symbols = mt5.symbols_get()
for s in symbols:
if "XAUUSD" in s.name:
print(s.name)
mt5.shutdown()