def test_symbols(mt4: MT4Client): symbols = mt4.symbols(*mt4.symbol_names()[0:3]) assert isinstance(symbols, dict) assert len(symbols) == 3 print( f"Found {len(symbols)} symbols. The first one: {next(iter(symbols.items()))}" )
def test_symbol_names(mt4: MT4Client): symbol_names = mt4.symbol_names() assert isinstance(symbol_names, list) print(f"All symbols: {symbol_names}")