Gr8/symbols.py

7 lines
152 B
Python
Raw Permalink Normal View History

2025-09-10 15:02:31 +03:00
import MetaTrader5 as mt5
mt5.initialize()
symbols = mt5.symbols_get()
for s in symbols:
if "XAUUSD" in s.name:
print(s.name)
mt5.shutdown()